Questions tagged [localizable.strings]

321 questions
3
votes
1 answer

XCode - iOS localization not taken into account

I have looked around at various answers here but can't figure out what's going on. My iPhone is in French. I have just one target. I went on the project settings and said "Add Localization" and added French. I made sure to clean/rebuild my app…
Thomas
  • 8,306
  • 8
  • 53
  • 92
3
votes
2 answers

Localizing InfoPlist.strings per build target

I'm creating two separate apps from the same Xcode project and they need slightly different wording for their respective location usage descriptions. In essence I would like to have separate InfoPlist.strings files for each of my build targets, but…
villapossu
  • 2,737
  • 4
  • 18
  • 19
3
votes
3 answers

How to set a default language when localizable.string not exist?

I know that this post seems duplicated....but I already researched and I not find a answer...please help me. I have a app translated for two language (Portuguese and English), my string and storyboard is portuguese, example: [[self labelTest]…
3
votes
1 answer

Xcode 6 – OS X Localization not working

I'm trying to localize Main.storyboard, localization doesn't work. I have files: Main.storyboard |--Main.storyboard (Base) |--Main.strings (Russian) |--Main.strings (English) In russian .strings file I wrote something like /* Class = "NSButtonCell";…
supertrall
  • 115
  • 1
  • 1
  • 7
3
votes
2 answers

NSLocalizedStringFromTable doesn't work

I'm trying to use NSLocalizedStringFromTable but with no results. I've got created Profile.strings file, clicked localized, in project settings I add Polish and English languages, so my file has 2 "files" inside and I typed the same strings with…
Tomasz Szulc
  • 4,217
  • 4
  • 43
  • 79
3
votes
1 answer

How to keep Storyboard strings up to date?

I have the Storyboard, Base language and translated all the app into another language, so far it's working fine. I would like to know, when I add new elements in the Storyboard that needs to be localized, how do you keep the strings file up to…
John Smith
  • 1,726
  • 2
  • 18
  • 30
3
votes
1 answer

Is it possible to create an inheritance like structure for strings files in Xcode?

I have an application that has different sets of strings based on the target. Is it possible to have one base strings file and then only override a few keys in another? For example, if my base file is this: "some-string" =…
Brandon
  • 2,886
  • 3
  • 29
  • 44
3
votes
3 answers

Chinese characters showing as blank boxes in strings.xml

I am trying to cut and paste traditional Chinese characters as alternative resources in my values-zh-rTW/strings.xml file. They show as blank white boxes. As far as I can find, every encoding option is set to UTF-8. If it is a font issue, I'm not…
Cohen
  • 91
  • 2
  • 3
3
votes
1 answer

Localized settings bundle

My application's languages are English and German. I have localized my settings bundle to German. One of my pages (int the Settings.app) includes topics. I have added them in the settings.bundle in an English alphabetical order (Topics.plist). I…
user-123
  • 874
  • 1
  • 13
  • 34
3
votes
1 answer

How to get default string value in android?

I have implemented localization in my android application but I have a small issue. I am not being able to retrieve the default value of a string from default strings.xml file. for eg. inside project/res/values/strings.xml
Dipendra
  • 1,547
  • 19
  • 33
3
votes
1 answer

NSLocalizedStringFromTableInBundle : not getting values for key

I am not able to get values for keys from the InfoPlist. label.text = NSLocalizedStringFromTableInBundle(@"keyone", nil, AppDelegateObj.langBundle,…
Dev
  • 3,885
  • 10
  • 39
  • 65
3
votes
2 answers

Xcode - Localizable.strings working only in English

I'm trying to get my localizable.strings working properly, but I can't figure out how. My storyboard is localizable too, and works: all buttons and view controllers are shown rightly, in both languages. But my NSLocalizedStrings loaded…
2
votes
1 answer

SwiftUI Localization Issue

I have a project with two targets representing two different final products. Until now the localization was shared between the two targets, but now I have just one string to be localized differently according to the active target. In order to avoid…
Dree
  • 702
  • 9
  • 29
2
votes
0 answers

why app crashes when I use localization and LocationButton in swiftui? I get this error:Thread 1: "Invalid parameter not satisfying: width && height"

In my app I used locationButton and everything worked fine. Then I added Localizable string file and localized for English. Still, everything worked OK. Then I added localized String file for Hebrew, and it compiles, opens my simulator and shows…
Gal
  • 356
  • 4
  • 7
2
votes
2 answers

Localizable strings in JPA

To solve the need for localized dynamic (user created, stored in db) data in my Java EE 6 project, I made a general localized string table that is capable of storing any string in any language. This to avoid having to make ~15 extra tables just…
Rasmus Franke
  • 4,434
  • 8
  • 45
  • 62