Hi I want to localize my application for Slovencina for iPhone.
But I am unable to find proper localization category from the xcode localization list.
I have tried:
Further I have also tried changing the region to slovencina...
Please help me to select proper localization files for the application..
Localization has some issues with iOS Simulator. I have also faced same issue back then while I was testing my application. Try to test it on real device.
Hope it works. :)
Related
I have 4 flavors for my flutter app and I want to give different app name for each of them. I found some answers about how to do it on Android, but couldn't find anything concrete for iOS.
I tried making changes to product name in build settings and info.plist file, but no luck. Can anyone help ?
According to Googlecast's release notes and this issue tracker, localization should already be supported/implemented by default when using the new 4.4.2 SDK. Checking the actual GoogleCastUIResources.bundle also confirms the new translations. However for my iOS applications, changing the device language to any other languages still gives me the strings in English.
Am I missing any intermediate steps to get localization for my iOS apps?
Add the language in your project file, that worked for me.
Just spend another evening, trying to figure that out.
Here is what I am doing:
1) Creating a clean project with tabbed iOS application in XCode 6.3.1;
2) Under Project/Info/Localisations I am adding another localisation (Russian,German, doesn't matter)
3) In Main.strings file, changing corresponding strings, OR doing exactly the same by Exporting/Importing .xliff file.
4) Deleting app from simulator/device, cleaning project from Product/Clean, deleting derived app data from corresponding folder
5) Changing language in simulator/device
6) Making a run... Still English. Localised strings just wont pick up, no matter what.(even though they are looks just fine trough assistant editor)
What am I doing wrong? Is that suppose to be that complicated?
Try running on a device. Xcode 6.x had known issues with the Simulator not showing localizations.
Just got update from 6.3.1 to 7.0.1 XCode and the issue is fixed for me.
I am making exactly same steps and got Russian/German/English interface depending on the language I chose in simulator settings.
Guess that is it.
I was following one of Ray Wenderlich's tutorials on localization but I can't seem to get it working.
I've set my project up for localization in English and French and I have a locaziable.strings file for each:
The French file has the correct (well as far as Google translate goes) French versions of my string:
I'm setting the strings by calling the correct key from the localizable.strings file:
NSString* strTitle = [NSString stringWithFormat:NSLocalizedString(#"Title", Nil)];
And I have the simulator set to French (BTW: Whenever I do a language change the simulator crashes).
But it is not pulling from the correct localizable.strings file. It's still displaying in English:
Am I doing something wrong?
If you are using xcode 6.1.1 and iOS sdk 8.1,try this workaround.
It seems localization does not work with xCode 6.1 and 8.1 simulator.
Workaround:
Go to "edit schemes" >> "Run" (side bar) >> "Options" tab >> "Application Language"
Select the language you wish to run the app on the simulator.
I got this workaround from Workaround by natanavra
Thanks to him.
However I read on developer forum,that it is working in 6.2 beta version of Xcode. Hope it do.
Maybe you have run the app at some time where the file Localizable.strings already existed but has not been localized yet. If this is the case, this unlocalized file still resides in the resources folder in the application bundle in the simulator (when you build an run a new version of your app in the simulator or in the device, unused files will not be deleted). This can lead to problems.
Try to delete the app completely from the simulator and build an run again.
I have experienced similar issues (IB localization in my case) on device. So general answer would be
Device - Uninstall app and clean project by Shift+CMD+K
Simulator - Go iOS simulator > Reset Content and Settings and clean project by Shift+CMD+K
These problems are really annoying. Along with poor ability to update localized strings is localization one of the biggest drawback of iOS development.
Another problem that could cause localization not work is the encoding of the strings file. Localizable.strings's encoding must be UTF-16. The default encoding of text file in xcode is UTF-8, that cause me spending a whole day to check why the localization not work.
In Xcode 6.0 and later, Localization not work by changing language in Simulator not working.
You have to edit scheme before running your application.
Go to Edit Scheme -> Run -> Options, change language here.
Now, Run Your Application. It will Work.
For more details, check this answer : Changing language on iOS 8.1 simulator does not work
My problem for this was an incorrectly encoded character in the localization file.
Hi I've created my iPhone app for IOS 5.0 with Xcode 4.2. By default it is localized in English.
I would like to make the app appear on the app store with language "French".
From my understanding, I've to remove English language and add the French one, but this is causing some problems to me.
At first, each time I open my app in Xcode, english language is added by default, even if I have removed it previously.
Moreover, if I localize my Storyboard files in French, the file is moved to my fr folder in project, but this causes in "Copy Bundle Resources" a problem with the file that becomes red.
To make it work again, I've to remove the localization from the Storyboard files.
Can you please help me?