Convert ANDROIDSTRINGS to XLIFF2
Turn ANDROIDSTRINGS files into XLIFF2. An XLIFF 2.0 file with one unit per entry, the context as the unit's name, a plural entry as a group of units, and each segment's state as initial, translated or final, where a fuzzy translation is initial with the substate gettext:fuzzy, with notes, translator comments and source references as notes.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop ANDROIDSTRINGS files on the dialor turn it to pick what to do
Android strings ready for translation.One XLIFF 2.0 file with a unit for each string, plural and array item.
What you get
An XLIFF 2.0 file with one unit per entry. Each unit carries the entry's name as its context, and the text becomes the source text, ready for translation.
Strings, plurals and string-array items all become units. A plural entry becomes a group of units.
What each segment records
Each segment has a state: initial, translated or final. A fuzzy translation is marked initial with the substate gettext:fuzzy.
Notes, translator comments and source references are written as notes on the unit.
What is skipped
Strings marked translatable="false" are skipped. They do not appear in the XLIFF 2.0 file.
ANDROIDSTRINGS and XLIFF2.What each format is.
The formats
Android Strings
Android strings.xml resources with strings, plurals and string arrays.
- Extensions
- .strings.xml
- MIME type
- application
/x -android -strings +xml - Kind
- Text and data
XLIFF 2.0
XLIFF 2.0, the newer translation exchange format with units, segments and states.
- Extensions
- .xlf .xliff
- MIME type
- application
/x -xliff2 +xml - Kind
- Text and data
In your code.The same ANDROIDSTRINGS to XLIFF2 conversion through the API, for your app or your agent.
$ cv convert report.strings.xml report.xlf$ cv convert report.strings.xml report.xlfQuestions.What people ask about ANDROIDSTRINGS to XLIFF2.
Each entry becomes one unit, with its name as the context. A plural entry becomes a group of units.
Yes. Each item in a string array becomes a unit, with the array's name as its context.
No. Strings marked translatable="false" are skipped. All other strings, plurals and array items are included.
It is marked initial with the substate gettext:fuzzy.