Questions tagged [localizable.strings]
321 questions
1
vote
1 answer
Using stringsdict with interpolation
I am attempting to use the stringsdict file with new Swift 5.1 advanced interpolation. After much jumping through hoops, I was actually able to get a very simple example to work:
format.%lld
…

Procrastin8
- 4,193
- 12
- 25
1
vote
3 answers
Xcode cannot find my Localizable.stringsdict file
I am trying to add pluralizable localization to my Xcode project, using Xcode 11.2.1
I followed the steps in this tutorial: https://medium.com/@vitaliikuznetsov/plurals-localization-using-stringsdict-in-ios-a910aab8c28c , which is a pretty basic…

Tom Schulz
- 612
- 6
- 23
1
vote
1 answer
iOS How to synchronize Main.storyboard strings and Localizable.strings
So, i have rally big issues.
First of all, i have 2 Localizable files, first it's Main.storyboard where i translate all labels, buttons.
And i have Localizable.strings where i translate error message, and some system message.
And i have something…

Andrew
- 372
- 2
- 5
- 25
1
vote
0 answers
Target specific localization in swift?
I have a project with multiple targets.
Most localizations are shared by all targets.
I have them in Localizable.strings.
In addition, each target has strings to localize that occur only in that target.
Is there a preferred way to have an additional…

Gerd Castan
- 6,275
- 3
- 44
- 89
1
vote
1 answer
Translations not loaded from Main.Storyboard (English)
The problem my IOS app is facing is that all texts, titles, labels to be translated automatically in the Storyboard are not. At the same time, all texts, titles, labels to be translated by my Swift code, using NSLocalizableStrings are working well.…

OCA92
- 11
- 6
1
vote
1 answer
Is it Possible MARK: (#pragma mark) in Localizable.string file
Pragma mark not working in Localizable.strings file. If I add second MARK: (#pragma mark) in Localizable.strings, xcode rise compile time error
error: read failed: The data couldn’t be read because it isn’t in the correct format.
See below Image,…

Mani
- 17,549
- 13
- 79
- 100
1
vote
1 answer
NSLocalizedString is returning the key
In my framework app, I have some localization files added and have a method to get
localised strings as follow
-(NSString *)getCurrentLocale{
return NSLocalizedString(@"mykey", nil);
}
and I have installed this pod into one demo app, and…

Ravi Kiran
- 219
- 3
- 14
1
vote
1 answer
Which line of code I have to write for Localization?
code 1 :
cell.textLabel.text = LocalizedString(@"nice title");
code 2 :
cell.textLabel.text = LocalizedString(@"nice title",nil);
What is the difference between them ?
which one is correct and can be used ?

Mallikarjun Hanagandi
- 510
- 3
- 16
1
vote
0 answers
Android - Play Store not showing localized app details & graphics
We have uploaded app on app store having EN and FA (Persian) language support and app is all working fine on both languages (it's on material design and uses string.xml).
We have also added necessary graphics and translated text on play store for…

M P
- 352
- 3
- 14
1
vote
1 answer
Why does Apple use different folder structures for bundle and strings localization?
I am localizing my app, I found Apple use different folder structures for bundle or strings.
Can anyone tell me why Apple doesn't use the same folder structures for easy of use?

mikezang
- 2,291
- 7
- 32
- 56
1
vote
3 answers
Serbian latin and Serbian Cyrillic in android
Is it possible to change programmatically Locale in the app to Serbian Latin in android app?
As i understand i can do it in this way:
Locale locale = new Locale.Builder().setLanguage("sr").setRegion("RS").setScript("Latn").build();
But it is…

StringBuilder37
- 31
- 5
1
vote
2 answers
How do I preserve flags/width in a printf-formatted NSString used as a key for NSLocalizedString?
I use genstrings to generate .strings files from source code files in my project. Though the project is technically a Cappuccino app, this question should apply equally to any project that uses .strings files.
I have a format string that I'd like to…

Brian Donovan
- 8,274
- 1
- 26
- 25
1
vote
1 answer
Localizable.strings issue with SVN
these are the steps i followed to create Localizable.strings file.
1) created a folder called "en.lproj"
2) ran the command from terminal genstrings -o en.lproj Classes/*.m
it generates correct file under "en.lproj".
now my question is how do i add…

Nnp
- 1,813
- 7
- 36
- 62
1
vote
2 answers
iOS - git doesn't recognize Localizable.strings file to commit
I work with:
OS X El Capitan 10.11.5
XCode 8.2.1
Swift 3.0
I have two Localizable.strings files (English and Spanish) in my project that work perfect.
This files are in their respective folders:
en.lproj
es.lproj
For some reason git doesn't…

oscar
- 189
- 1
- 2
- 11
1
vote
1 answer
INSTALL_PARSE_FAILED_MANIFEST_MALFORMED After Localisation to Arabic
I have an app which is due for localisation, two languages are english and arabic(ar), I have created respective folders for my raw files and values
raw-ar
values-ar
After adding values folder and adding respective translated strings.xml file it…

vishal dharankar
- 7,536
- 7
- 57
- 93