How to Localize Your iOS App Using Localizable.xcstrings
If you’re building an iOS app and want to make it multilingual, Apple’s Localizable.xcstrings is your go-to. It’s the modern, structured way to manage translations — and it works perfectly with third-party tools like App Localizer.
Here’s how to do it step-by-step.
Step 1: Create the Localization File
-
In Xcode, go to File → New → File…
-
In the template search box, type String.
-
Select Strings File (this will create a
.xcstrings
file). -
Name it Localizable.xcstrings and add it to your project.
Once you’ve done this, build your project.
Xcode automatically collects all string references (from your UI and code) and places them inside Localizable.xcstrings
.
Step 2: Export the File to Your iPhone
Localizable.xcstrings
in your project’s directory.Step 3: Use App Localizer for Translation
Open App Localizer and create a new project.
-
Choose one or multiple target languages.
-
Import your exported
Localizable.xcstrings
file.
💡 If the app doesn’t recognize the file, simply rename the extension from
.xcstrings
to.json
— it works the same way.
-
Tap Auto Translate and let the app work its magic.It’ll automatically translate all your app strings into the selected languages using machine translation.
Step 4: Reimport Translations into Xcode
Final Thoughts
It’s simple, automated, and developer-friendly — the way localization should be.
Comments
Post a Comment