Questions tagged [localizable.strings]
321 questions
2
votes
1 answer
comments in storyboard internationalization
I want to add comments in my storyboard.strings files, so that translators have some idea what they're translating.
When I use NSLocalizedString in code, I can use the second argument like so:
NSLocalizedString(@"OK", @"the button you click when…

Diogenes Creosote
- 1,922
- 2
- 17
- 22
2
votes
2 answers
Override a base localizable.strings file
Is there a way to have one base localizable.strings file for multiple targets within a project, and also have a second localizable.string file for each target that will override and append individual values to the base file?
EDIT
I want my app to…

tentmaking
- 2,076
- 4
- 30
- 53
2
votes
1 answer
What's "msgid" and "xliff" in strings.xml file?
Background
Sometimes I see some weird attributes on the "strings.xml" file made by Google's samples, for example, on the chips example (code available here), I can find this strings file of "res/values-en-rGB" (for English-Britain) :

android developer
- 114,585
- 152
- 739
- 1,270
2
votes
2 answers
Confusion about java native2ascii tool
A little confusion about the java native2ascii tool. Definition for the tool in Java 6:
Converts a file with native-encoded characters (characters which are
non-Latin 1 and non-Unicode) to one with Unicode-encoded characters.
Then why does it…

Kemoda
- 284
- 1
- 9
2
votes
1 answer
iOS localization - won't recognize es-US vs es-MX
I'm trying to show a different string for Mexican Spanish than US Spanish. The app always displays the US Spanish phrase. FYI - English, French and Portuguese work fine - but they don't have locales specified.
I created the localization folder in…

Kevin OMara
- 323
- 5
- 15
2
votes
1 answer
Duplicate Storyboard files appeared in Xcode project Directory. Barely able to run project
I have quite a big and complex project with multiple storyboards, all localized in 2 languages. I have 4 storyboards - main iPhone, main iPad and another 2 for a separate feature.
Here are the problems I have..
2 of these Storyboards are duplicated…

ChrisBorg
- 1,418
- 17
- 27
2
votes
2 answers
Xcode removing language specific storyboards iOS
A while ago i decided to make my application multilanguage. I ended up using localizable.strings. So a different file for each language with all the translations in it.
In my main storyboard i just use NSLocalizedString(@"example", nil); on all my…

Nipje
- 43
- 1
- 4
2
votes
1 answer
Does iOS Look for Region-Specific .lproj Directory (e.g. en_US.lproj)?
According to the official document Internationalization Programming Topics:
if your Mac app had localizations for United States, Great Britain,
and Australian users, the bundle routines would search the appropriate
region directory…

Phoenix Luo
- 173
- 2
- 12
2
votes
1 answer
language settings in ios
I have one little trouble.
I created a Localizable.string file for a language which is not in the list of available languages in the General settings of the device.
How to force an app to read from it even if language is set to English?
I can set…
user1570600
2
votes
2 answers
xcode doesn't recognize localization in Info.plist
I am using Xcode 4.4.
As you may all know, there is an easy option to localize resource files in Xcode. You can also internationalize your plist Files, which is my approach.
But since 4.4 it doesn't seem to work properly anymore.
All you have to…

Fab1n
- 2,103
- 18
- 32
2
votes
0 answers
Xcode localizable.strings not working after updating app
I started a project when I first began with Apple development, and probably made some interesting mistakes in file structure which is helping cause this problem. Namely, I recently switched my Xcode project to a workspace based on some of the sample…

Josh Bruce
- 1,002
- 13
- 24
2
votes
0 answers
Localized file paths hard coded in XCode 4 - disappear when project moved to new folder
We localized a project recently into to 15 languages using Xcode but I noticed when I took the project home the paths to some of the localized files were all hardcoded to the full path of my work mac.
We only localized two…

brian.clear
- 5,277
- 2
- 41
- 62
1
vote
1 answer
Memory management in iOS Localization with .strings file
Earlier i had posted this: What should be the better way for localizing iOS project?
Now I have done projects for both the ways and I am satisfied with the answers given over there.
In .strings file localization, if there is a username UILabel then…

Mrunal
- 13,982
- 6
- 52
- 96
1
vote
2 answers
Saving a Localizable.strings
As I am developing my project I want to prepare for localisation and add all my strings into string Macro NSLocalizedString calls and then use the Localizable.string to give values to these keys.
I created a string file from within my xCode project…

reza23
- 3,079
- 2
- 27
- 42
1
vote
2 answers
NSLocalizedString works on simulator but not on device
I'm having trouble getting NSLocalizedString to work on my iPad device. I have no problems what so ever on my simulator, if I change language all goes to plan.
But when I run it on my device, I'm getting this messages:
Localizable string "Current"…

the Reverend
- 12,305
- 10
- 66
- 121