A. Export localization
1. Add a localized language by setting the following
2. Export files
The following two files are generated when the save is complete
3. Download in the app Store
then use Xlifftool to open the above two files separately
In the following show No translation, add the language that you want to replace in English, as follows:
And then you can save it.
Two. Import localization
1. Follow the steps below
2. Add
3 after adding the following two files can be
If there are these keys in the Info.plist,
Also need to be added in Infoplist.strings, format as modified
Three. Storyboard (Base) , add the . Strings file, add the Main.strings (Freach) and Main.strings (Chinese ( Simplified)) Two files
Open it in the following way
Then modify as needed
At this point, the export and import localization is done
Swift export localization and import localization