Setting locale to Swedish in my App somewhere
When I install my apps on my iPhone all standard buttons and controllers appear in English. So when the camera is started it states "USE" instead of the Swedish word which whould be "ANVÄND".
Can I tell my Titanium project to set localization to Swedish somewhere?
3 Answers
-
This would be very helpful to know for me too!
-
Ahhh!
now I can answer the question - I found a way to set the language for the app:
simply edit the "Info.plist.template" file in your app directory (appdir/iphone/build/Info.plist.template) switch the first line (now "English") to what you need.
Hope that helps!
-
UPDATE: NOW IT WORKS!
I am not entirely sure what I did to make this happen. All I can say is that I did the following:
- Moving my Info.plist from <ProjectName>/build/iphone/Info.plist to <ProjectName>/
- Opening the Info.plist file and changing the language to "Denmark".
- Compiling (which somehow makes a copy of the Info.plist and puts the copy in the original place, but keeping my changes).
I guess maybe I did something to make a complete recompile (you can force this by deleting the directory: <ProjectName>/build/iphone/).
All of the sudden it started working… :D
I am having the exact same problem. I am developing an application for the danish market, and would like the native elements to appear with danish texts (my specific problem lies with the search field and the associated cancel button).
So far I have tried fixing the Info.plist file - I followed the advice from another thread:
- Moving my Info.plist from <ProjectName>/build/iphone/Info.plist to <ProjectName>/
- Opening the Info.plist file and changing the language to danish
- Compiling (which somehow makes a copy of the Info.plist and puts the copy in the original place, but keeping my changes).
This, however, did not do anything for me with regards to getting danish working in the native elements. Maybe I am not using the right value for danish; I have tried some different variations, such as Danish, Denmark, da, dk and so on. No luck so far.
I tried doing the same changes to the Info.plist.template file, as suggested elsewhere in the thread, but it didn't change anything.
I have seen quite a few threads regarding this issue, but so far no answers. Any thoughts?