Questions tagged [localizable.strings]

321 questions
1
vote
2 answers

iOS10: German Localization not working

Currently my app supports English & German localization and I've used Localizable.strings for this purpose. You can see the project settings and Localizable in pictures below. Now I've issues in German localizations. In iPhone there are 4…
Abid Hussain
  • 1,529
  • 1
  • 15
  • 33
1
vote
1 answer

iOS Localization only partly working

I localized my app for German and English language. Except for some empty translations the format of the strings should be ok, since I get no error from xCode. plutil -lint .strings says that all localized files are OK. I…
helkarli
  • 131
  • 1
  • 8
1
vote
1 answer

Editting a single word or number inside a specific tagged string which exists within multiple .strings files

I have multiple files in different languages which are localization files for IOS. I need to change a number (30) inside one of the strings that exists within all the files but there are multiple instances of 30 so I can't replace all. Basically, is…
RNoln
  • 19
  • 3
1
vote
1 answer

New localizations not recognized in Xcode

I am adding localization to my project. In the Info.plist, I have the array of localiztions I want: CFBundleLocalizations en fr de I then…
invalidArgument
  • 2,289
  • 4
  • 24
  • 35
1
vote
2 answers

how to refresh localizable.strings or NSLocalizedString(key, comment) ios during runtime

I'm working on a app that supports multiple language. Everything is going well. But I need to change the language during runtime. I'm doing it this way - NSArray* languages = [NSArray arrayWithObjects:@"es",@"en" nil]; [[NSUserDefaults…
Arnab
  • 4,216
  • 2
  • 28
  • 50
1
vote
2 answers

Swift: read multiple words from Localizable string

I've created this mini translation of words from English to Spanish. The words read from a Localizable.strings and retrieves the words "cat" = "gato" using NSLocalizedString. At the moment it only read one word from the string, I would like yo know…
1
vote
0 answers

What is the best way to localize multiple large plist files?

In my app there are so many plist files, and I am trying to localise them all. As far as I know, this can be done by simply(or hardly ) creating a .strings for each plist, and in each .strings file, you do the normal replacing of value with the…
Teja Nandamuri
  • 11,045
  • 6
  • 57
  • 109
1
vote
1 answer

iOS: Hindi language localization not working unless region is set to India

I have an app that is made in different languages using localization: The problem that I have, is that the user also needs to have the region of his phone set to India. If the user's phone is in Hindi but is located in the United States, it will…
MVZ
  • 2,220
  • 5
  • 27
  • 57
1
vote
4 answers

Localization not working - Swift

I have a problem with the localization of my app. I want to have french and english (default). The localization seems to work with the Storyboard as text from there is translated to french (on simulator & iPhone in french). But the strings from…
user3900157
  • 239
  • 1
  • 7
  • 17
1
vote
1 answer

Is there a way to comment inside a Twine Localization file?

I've started using this sweet script Twine to help manage localizations. it makes it really easy to have specific comments about your localizations like: [[Settings]] [Contact] en = Contact comment = Settings Section Header But…
Ryan Poolos
  • 18,421
  • 4
  • 65
  • 98
1
vote
0 answers

NSLocalizedString does not work on killing and restarting app on iphone 5 (ios 8)

I created a Localizable.strings file in XCode and then 2 languages in it.(en and fr). If I try something like: self.title = NSLocalizedString(@"Shop", @""); This works fine when I am running app and changing languages but when I am killing app and…
Reena
  • 41
  • 6
1
vote
1 answer

How to handle iOS string characters parsing in node (Japanese characters)?

I'm running into issues uploading an ios strings file (english -> japanese) to a node server for parsing. The file is UTF-16LE but when parsed as a string the character encoding loses characters. This may have something to do with express using utf8…
johnnywu
  • 235
  • 1
  • 4
  • 18
1
vote
1 answer

Localizable.strings with special characters

I have a Localizable.strings file with string: "m3h" = "m\u00B3/h"; It should return me m³/h, but I get mu00B3/h instead. How to get a string from Localizable.strings file that contains special characters?
Roo
  • 613
  • 1
  • 7
  • 24
1
vote
1 answer

Swift Formatting Localized Strings

We are using OneSky for the translating of strings. We use positional specifiers within the string files. The problem that I'm running into is when using %s in the string. I have a string: "dist_unit_mask" = "%1$s %2$s"; which I read from the…
1
vote
0 answers

Extract values from keys in localizable.strings file in iOS

I have 12 localisable.string files in my xcode project. Here is the format /* Localizable.strings(English) "HELLO" = "Hello!"; /* Localizable.strings(German) "HELLO" = "Hallo!"; Now what I want to achieve is this Extract only the values…
Ranjit
  • 4,576
  • 11
  • 62
  • 121