Questions tagged [localizable.strings]
321 questions
1
vote
1 answer
StoryBoard Localization with IBInspectable setter in Objective C Extensions
As per this blog post you can localise a story board with IBInspectable extensions in swift. we can rely Localizable.strings file alone instead of having localised story boards and worrying about multiple files for strings.
So my question is how to…

Bluewings
- 3,438
- 3
- 18
- 31
1
vote
1 answer
Localization in Xcode 5
I have around 1000 strings from storyboards and .m files which are converted for French Language. I need to add more strings to the same project. How do I update the strings file for my project?
Thanks

user2871193
- 19
- 3
1
vote
0 answers
iOS string localization command genstring fails
genstring command produces following error:
find: MyViewController.m: unknown primary or operator
Full command:
$ find . -name *.m | xargs genstrings -o en.lproj
How can I fix this?

Mustafa
- 20,504
- 42
- 146
- 209
1
vote
1 answer
NSLocalizedString() picking up cached entry from before Localizable.strings is localized
I am building my first IOS iphone 6 app.
I am having problem getting Xcode to pick up key/value pairs from the localized version of Localizable.strings. The NSLocalizedString() method seems to be returning cache entries from before I localized the…

James Z.
- 119
- 2
- 9
1
vote
1 answer
Regex to Match sorted words and at least one
I would like to know if there is a simpler way of matching for a sequence of words were at least one is mandatory.
In order to simplify things imagine that my words are A, B and C. I want to have a match for A, B, C, AB, BC, AC but for CA it would…

OriolBG
- 2,031
- 2
- 18
- 21
1
vote
0 answers
Using localizable.strings on storyboard
Rather new to Objective C here... Is there any way to load localizable strings directly into the storyboard and use their values there without doing it through code? (e.g. set up a label's text using a localizable string on the storyboard itself,…

Cookienator
- 637
- 1
- 7
- 25
1
vote
2 answers
Moodle: How to add new independent global language file?
I am customizing moodle in a new project. I want to add my limited strings to my special language file, in order to call it in any place. So I need to add a new file to language packs, e.g. bahar.php
Where should I put this file?
How I should call…

hpaknia
- 2,769
- 4
- 34
- 63
1
vote
1 answer
Flavor based localizing - Android
I have set up my application with different string files for different languages English(default)/French/Arabic.
When I change the language on the device, it stays in English.
Here is my project layout:
--src
|__main
|__res
…

DJ-DOO
- 4,545
- 15
- 58
- 98
1
vote
1 answer
Localizing Storyboards iOS xcode 6
When Localizing a storyboard in Xcode 6 the created storyboard.strings file contains everything in the storyboard even though many of the elements already have IBOutlets that will populate the elements at runtime (such as UILabels in…

Dallas Johnson
- 1,546
- 10
- 13
1
vote
1 answer
Best Practice to Localizable.strings in Swift
I have one question about the best way to resolve a problem.
My project contains many ViewControllers, and this views contain any buttons or labels, right? I need localize all labels, but I think if I need write all texts in respective labels all…

ViTUu
- 1,204
- 11
- 21
1
vote
1 answer
Localizable string warning R#
I'm a beginner in c# syntax, been programming in vb.net for quite a few years.
ToolStripMenuItem setPriorityDropdown = new ToolStripMenuItem {Text = "Set priority"};
In this code, R# warns that "Set priority" is a localizable string.
I've searched…

SomeNickName
- 511
- 6
- 32
1
vote
1 answer
Does setting default language by using below code is allowed by apple?
In one of my application, I need to set the default language as French, if the language selected (device language) is non French.
I am using below code snippet, but I am afraid if this is allowed by apple or not.
Would this cause in rejection of the…

Sabby
- 2,586
- 2
- 27
- 41
1
vote
0 answers
objective c accessing Localizable.strings file content
I have added localisation to my first MAC application for spanish
language. So I have Localizable.strings(English) &
Localizable.strings(Spanish) files in my project.
When I set spanish as the primary language in my MAC, spanish text is
…

Karun
- 880
- 1
- 8
- 19
1
vote
1 answer
localizable.string does not work with simulator in iOS 8
I have a major problem with the localization of my app.
Since I updated Xcode to version 6.1.1 (6A2008a) with the new simulator iOS 8.1, I found that the iOS 8.1 simulator no longer works with Localizable.string.
When I turn the stimulator with the…

Claudio
- 11
- 2
1
vote
0 answers
Localizable.strings corrupted from git
Someone is cloning our git repository and having corrupted Localizable.strings files. What might the issue be? Sounds like the encoding is UTF-16. Is this likely a network issue or a git issue?
/* divider label */∀ 簀 ─䀀 䌀䔀唀猀∀ 㴀 ∀ 簀 ─䀀 䌀䔀唀猀∀㬀ഀ…

Jason Hocker
- 6,879
- 9
- 46
- 79