Questions tagged [localizable.strings]

321 questions
4
votes
3 answers

How to get a string resource in C# (WPF)?

I know how to get a resource from the string resource in XAML: {Binding OK, Source={StaticResource LocStrings}} However, I want to use a localized string in C# directly, e.g. something like someString = Resources["LocStrings"]["StringId"]; But…
Michel Keijzers
  • 15,025
  • 28
  • 93
  • 119
3
votes
5 answers

Xcode localization: All strings are not translated

I've an iPhone app that i wanted to localize so i've added chinese localization. To do so I added Localizable.strings(chinese) to my app and i added the strings in it. But a weird thing happens when I compile, only half or maybe even less of the…
Anila
  • 1,136
  • 2
  • 18
  • 42
3
votes
1 answer

Localization doesn't affect some .strings files

I use SORelativeDateTransformer in my project. I localized my project (translated storyboard and created Localizable.strings(I used NSLocalizedString)) and that part translates perfect. The problem is that SORelativeDateTransformer uses it's own…
Shmidt
  • 16,436
  • 18
  • 88
  • 136
3
votes
3 answers

Localizable string interpolation doesn't work as expected

I'm currently trying to understand why this little piece of code doesn't work as expected: // ContentView.swift (before var body: some View) let name = "Emma" // ContentView.swift (inside var body: some View) Text("hello-name \(name)") //…
Alexnnd
  • 429
  • 4
  • 13
3
votes
1 answer

.lproj and Localizable.strings : project with localized text?

i was reading the doc about localization and internationalization , but it's not really clear for me : can you explain me the link between the .lproj files, and/or the Localizable.strings file (if those are connected) ? Or by any chance, if you know…
Paul
  • 6,108
  • 14
  • 72
  • 128
3
votes
7 answers

Custom NSLocalizedString?

Is it possible to use the NSLocalizedString infrastructure (based on localizable.strings) with a custom-defined "localization"? The thing is, there are some languages that have different wordings for males and females. I want to ask the user's…
3
votes
0 answers

How to localize string interpolation for notification message localizedUserNotificationString?

Tried to add a number inside a localized string with localizedUserNotificationString function. However, passing the argument into the function would cause a server connection error despite its a local notification. Replacing the arguments with a nil…
XY L
  • 25,431
  • 14
  • 84
  • 143
3
votes
3 answers

What is the difference between es and es-419 in iOS localization?

I have been trying to implement Latin America Spanish language support and I am not supporting the Spanish variant of Spain. How do I separate these two? I thought, es is for Spain variant and es-419 for Latin America Variant. so I added es-419 but…
venky
  • 1,155
  • 1
  • 11
  • 26
3
votes
1 answer

UIImagePickerController does not localize after allowing camera access?

I am trying to open the camera for an application of a big company(So the application supports multiple languages). Everything works fine but the buttons on the camera screen (Photo, Video, Retake, Cancel) doesn't localize even though the…
3
votes
1 answer

iOS Localized strings not working

I check my Localized files and they are free of errors. I'm using the library https://github.com/d0ping/DBAttachmentPickerController and looks like the source of my problems. I have the following error: 2017-06-23 15:50:31.056756+0200…
Ricardo
  • 7,921
  • 14
  • 64
  • 111
3
votes
1 answer

Send push notifications to iOS with Amazon SNS and handle them with Localized Formatted Strings

I'm trying to send iOS push notifications from Amazon SNS and i'm able to do it, but i want to use localized formatted string to send the notification and push the message in the right language. I'm using XCode 7.0.1 and developing with an iPhone…
3
votes
1 answer

Localize Settings.bundle with Localizable.strings instead of Root.strings

Because of the automated download of localization files in my app I was wondering if it was possible to localize Root.plist in Settings.bundle using Localizable.strings instead of Root.strings
Galip
  • 5,435
  • 10
  • 37
  • 47
3
votes
2 answers

Parse Cocoapod breaks localization

In an iOS project, I've updated this morning my pods to add a new one. The Parse iOS SDK also got updated in the process, and it seems like it broke my app's localization. Now, when I try to call NSLocalizedString(@"A_LOCALIZED_STRING", nil), I…
Romain
  • 3,718
  • 3
  • 32
  • 48
3
votes
2 answers

iOS: Change Localized xib without restart

I Know that there's some pods for changing localized strings file without restarting .. just like iOS-CustomLocalisator But my problem is my project depending heavily on xibs and it's trying to depend on server localization not device localization..…
Mohamed Emad Hegab
  • 2,665
  • 6
  • 39
  • 64
3
votes
0 answers

What's the usage of in Android application source strings.xml?

In strings.xml file, I see something like this: "Buraxılmış zəng yoxdur" ... But I still see the gradle build these "skipped" lines, for example a build…
gary
  • 1,569
  • 3
  • 20
  • 30