Questions tagged [localizable.strings]

321 questions
12
votes
3 answers

iOS Localizable.strings file for XIB files?

I'm translating an iOS project into Portuguese and I've created a pt.lproj/Localizable.strings file, and I've added NSLocalizedString() into the source code. It all works! With one slight problem - the strings within XIB files don't get…
Javawag
  • 1,547
  • 2
  • 16
  • 23
12
votes
5 answers

Any tool to convert Android's XML localization to iPhone's .strings file?

I guess the title is self-explanatory.
Misa
  • 889
  • 1
  • 10
  • 20
11
votes
1 answer

Delete unused ressources from Localizable.strings

I'm using BartyCrouch to maintain an up-to-date localized project. My project is currently translated in 4 different languages, and I'm going to add some new languages. My issue is that my base Localizable.strings file has about 200-300 resources,…
el-flor
  • 1,466
  • 3
  • 18
  • 39
11
votes
0 answers

Xcode: How do you export custom strings files to XLIFF

I have added a custom strings file to use for a specific set of localized strings to my project which is used based on programmatic keys rather than explicitly declared keys (i.e. using the bundle's localizedStringForKey with a key that is generated…
ima747
  • 4,667
  • 3
  • 36
  • 46
11
votes
4 answers

NSLocalizedString not working for some word

I have english, Japanese, korea Localizable.strings file. I cannot load some word from korea file. I have checked spelling, capital letter or small letter also. It is correct. I have cleaned project, reset simulator and delete app on device also. It…
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
11
votes
1 answer

Localize Localizable.strings with Xcode 4.5

Possible Duplicate: Localization - Add additional language to localizable.strings file With Xcode 4.5 SDK iOS 6.0, I cannot add localization to Localizable.strings file. In Xcode 4.4.1- under the list of all added languages was a "+" to add other…
Fry
  • 6,235
  • 8
  • 54
  • 93
10
votes
3 answers

Can't retrieve localized strings from Localizable.strings file

I'm unable to get the correct localized german strings from the Localizable.strings file. My app setup looks like this Main.storyboard Main.storyboard (Base) Main.strings (German) -> these strings are translated…
gpichler
  • 2,181
  • 2
  • 27
  • 52
9
votes
2 answers

Xcode Localizable.string multiple targets issue

I have a project with multiple targets, which represent the same app just with different styling and translations. Since almost whole project looks the same for each target, I need to have just few strings in Localizable.strings file, that I need…
Stas Ivanov
  • 917
  • 1
  • 10
  • 22
8
votes
1 answer

Is there a way to localize app name with xcconfig files?

I have come across the other threads and was unable to find a solution specific to my situation. I have three config files (DEV, QA, Prod) In each of the xcconfig files, I override the $(product_name) ex: PRODUCT_NAME = MyNameDev This works great…
Ace Green
  • 381
  • 5
  • 29
8
votes
1 answer

Duplicate Localized Resource Files

I have an app that is intended to be localized into 5 languages via Localizable.strings files. When I view the Project > Info: Localizations information, I see duplicates of some languages (English, French, German) and an unintended language…
DenVog
  • 4,226
  • 3
  • 43
  • 72
8
votes
0 answers

Custom keys in storyboard base localization files

I have a storyboard that needs to be internationalized and I want to determine if base internationalization would be of any use. I plan to send only strings file to the translators and base internationalization allows text in storyboards to be…
Mihai Damian
  • 11,193
  • 11
  • 59
  • 81
8
votes
1 answer

How to access private strings of the Android OS programmatically?

Background I would like to get all of the strings of the Android OS (including all of them) programmatically, including those that are considered private. For example, I would like to get those of the packageManager app, as found here . The…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
7
votes
2 answers

iOS - Emphasise with bold strings in Localizable.strings

Is there a way bold some words inside the Localizable file like so? "Pending network connection" = "Pending network connection"; I have this string inside and i want to emphasis only certen words: "camSave" = "To complete onboarding:\n1.…
ironRoei
  • 2,049
  • 24
  • 45
7
votes
1 answer

How can I access localisable strings for standard iOS system terms (E.g. Favorites, More...)?

I don't know if my approach to this is fundamentally wrong, but I'm struggling to get my head around a (seemingly trivial?!) localisation issue. I want to display the title of a 'System' UITabBarItem (More, Favorites, Featured, etc...) in a…
Rich
  • 532
  • 3
  • 17
7
votes
1 answer

What language specifically is Chinese, language code 'zh'?

I understand that there is Simplified Chinese (zh-Hans) and Traditional Chinese (zh-Hant). However Xcode allows to localize for Chinese (zh). From the localization fallback concept I understand that it is the fallback for Simplified Chinese and…
Manuel
  • 14,274
  • 6
  • 57
  • 130
1
2
3
21 22