I'm trying to unlocalize xib and storyboard files, and keep all strings in Localizable.strings. How do I do this in XCode?
I've tried to uncheck all languages in the File Inspector, but if I remove the last language the whole file disappears.
A file that is not localized looks like this:
Unlocalized files wont appear when you add a new language or when you export localizations with xliff.
strings" and open the File Inspector (keyboard shortcut cmd-opt-1 or View > Utilities > Show File Inspector in the menu bar). You'll see a Localization pane with your localizations listed. Select the one you want to remove and click the minus sign to delete it.
Here's how: Go to Settings > Privacy, then select Location Services. Select an app, then turn Precise Location on or off.
In software localization projects, translatable strings are first collected in so-called “localization files” or “resource files.” These files are then handed off to translators who translate strings and thereby create copies of the original files now containing equivalent strings in a different language.
Localization is the process of translating text and audio content for use across multiple languages. Software programs, including the macOS operating system, use a variety of localization schemes to show content to users in their preferred language.
This is a pretty stupid way, but the only one I found out working if you want to restore the default:
Base.lproj
folder to your main project folder back (within the Finder).In Xcode create a Localizable.strings
file. In Xcode select the file and on the right panel, checkbox the languages you want for it. Then copy/pasta the files/strings into the place you want them. Then remove the old languages for the xib/storyboard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With