Within the Localize dashboard we provide you with an ability to import and export phrases and translations in various file formats.
You can also import/export Glossary terms.
Learn how to use the iOS Strings file format to import/export content into/out of the Localize Translation Management System by watching this video.
To see a general explanation of how importing and exporting works in Localize, click here. Be sure to adhere to the file requirements below so that Localize will be able to successfully read your files.
iOS Strings files for the source language must first be imported into the Localize dashboard so that the
keysfrom your strings file are added as
phraseKeysin the phrase in the Localize dashboard. Then upon subsequent exports, the
phraseKeyswill be maintained.
Exporting phrases for which there is no
phraseKeywill result in the source language string being used as the
keywhich is probably not a desirable outcome!!!
UTF-8 Character Encoding
Be sure that you are using the UTF-8 character encoding when working with the external files you are creating for importing purposes, so that special characters like accents are encoded properly.
iOS Strings is a format that's used to exchange data between participants in a translation project.
Use the following sample for guidance when creating your iOS Strings file for importing into Localize.
The following data is required:
"key"="value": for each string in your app
keyis a unique ID for the string (Localize calls this the phraseKey)
valueis the actual text of the string
Sample Localizable.strings file in the source language of English:
"submit_button"="Submit" "first_name_field"="First Name" "last_name_field"="Last Name"
Sample Localizable.strings file in the target language of Spanish:
"submit_button"="Enviar" "first_name_field"="Nombre" "last_name_field"="Apellido"
If your import fails an error message will be displayed. Later, you can also view the error here under Import History.
Updated 6 months ago