Questions tagged [localizable.strings]

321 questions
1
vote
1 answer

Why is my app not picking up the text in the Localizable.strings file?

I'm trying to localise my iPhone app, and I've tried to Google for help and look on here but I can't find anything that I am doing incorrectly. I have created a Localizable.strings file, which currently only contains: /* Localizable.strings …
jowie
  • 8,028
  • 8
  • 55
  • 94
1
vote
0 answers

xcode - making strings localizable through script

I've been using the xcodeproj gem to automate some of the work that I need to do. Part of it is adding files to xcode projects. I've gotten the references to add but I noticed that the string files I'm adding are not marked as localized but they are…
Tiny Tim
  • 207
  • 1
  • 6
1
vote
1 answer

Android Studio strings.xml: 'NBSP' suddenly appeared in my strings.xml files

I suddenly have the mention 'NBSP' in my strings.xml files, just before special characters (!, ?, ....) These 'NBSP' do not appear in my app when I run it. Also, when I do a copy/paste, they are not copied. I have hundreds of them in many…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
1
vote
1 answer

Is IStringLocalizer meant just for ASP.NET?

I stumbled across the entire Microsoft Localization Extensions section the other day. IStringLocalizer/ILocalizedString, all that. I've already got a hand-rolled approach to localization in my current app (.NET 6, WPF, Prism), but I would gladly…
Joe
  • 5,394
  • 3
  • 23
  • 54
1
vote
1 answer

Localizable.strings not working inside a List

To demonstrate my SwiftUI localization problem I have prepared a simple test project at Github: It displays a list of games in the ContentView.swift: List($vm.currentGames, id: \.self) { $gameNumber in NavigationLink( destination:…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
1
vote
2 answers

Can't update source translations in Xcode

I'm localising my project but having problems updating translations in my development language (English). I have a key called "events_title" which originally had an English translation of "events_title" but which I want to change to "Events". I…
sally2000
  • 788
  • 4
  • 14
1
vote
0 answers

How to name keys in a Localizable file strings

how to set name for keys in Localizable.strings I don't know that keys in Localizable.strings on what basis are they named? for example : I have a view that it's including title and sub title, but I'm confused for key's name in localizable file .
Fatemeh
  • 1
  • 6
  • 14
1
vote
1 answer

Swift Localizable String not working in SwiftUI

I don't know what's wrong with this. This is my localizable string "sendEmailTo %s" = "We will send an email to %s. Thanks for watching"; and this is the way I'm using it into Text() Text("sendEmailTo %s \("hello.world@apple.com")") Do you have an…
Antonio Labra
  • 1,694
  • 2
  • 12
  • 21
1
vote
0 answers

Localizable strings shows key instead of value every other time

I have a weird inconsistency with my localizable strings where sometimes the value is shown and sometimes thee key is shown. It's about every other time I restart the app. I use a lot of localizable strings in the project and they all work fine…
Joakim Sjöstedt
  • 824
  • 2
  • 9
  • 18
1
vote
3 answers

.strings mac localization files external editor?

I hate editing the strings files in xcode! I tried to open the file as ASCII, it is better but you see only one line of the string. Is there an option I missed? And does anyone know a good editor for .strings files?
shannoga
  • 19,649
  • 20
  • 104
  • 169
1
vote
1 answer

How to read Localizable.strings in the app

I have Localizable.strings files for many languages. I would like to read the current Localizable.strings line by line in the app to make a translation help. let bpath:String = Bundle.main.path(forResource: "es", ofType: "lproj")! as…
PascalS
  • 89
  • 1
  • 10
1
vote
1 answer

Localization SwiftUI

I want to ask about localization in SwiftUI for my app but something doesnt work. I maked everything as in the example but for some reason nothing works: https://benoitpasquier.com/localization-swiftui-how-top-preview-localized-content/ This code…
Migner
  • 35
  • 5
1
vote
2 answers

how to change RTL and LTR in react native

i am using i18n for localization in react native application , but i have a problem with changing app direction from code , when i change it to Arabic it change to RTL but back with english it remain same import { I18nManager } from…
1
vote
0 answers

No "Base" checkbox in Localizable.strings

After creating Localizable.strings I cannot add Base localization because of missing checkbox. I can add any other language, but Base is simply missing. How to get Base checkbox available there? Localizable.srings screenshot: What I need to get…
bodich
  • 1,708
  • 12
  • 31
1
vote
0 answers

AppleLanguages don't change MenuController language

I am trying to change my app language setting "AppleLanguages". Everything changed except one of them. UITextField menu items don't change. It always holds the first-time app launch language. I have already followed this link example: Setting…
AMIT
  • 906
  • 1
  • 8
  • 20