You have an iOS app, Android app, and website. A majority of the text are similar across the platforms, but each platform has different file formats and rules. Translating the text for each platform is also a waste of time and money. What to do?
We've got the solution. But before we explain what OneSky has to offer, let's understand the different file formats and behaviors.
"login_button" = "LOGIN";
|.plist||Data storage in human readable format||
|.xliff||Convenient 1-click format that includes all generated Xcode .strings files (excludes .plist and .stringsdict files)||
<trans-unit id="1"> <segment> <source>David Bowie</source> </segment> </trans-unit>
Apple developers usually convert their .strings files into .xliff files because they are the more standard and adapted format for non-technical translation companies. You can easily generate them on Xcode, combining all of your .strings files into a single .xliff file.
Since OneSky accepts all technical files, both .strings and .xliff can be parsed on our platform for translation, and your decision to convert them is up to your convenience.
Please note that .xliff files do not support plural strings (.stringsdict) or property list values (.plist), which would have to be uploaded in separate files.
All (3) string types:
a) General strings:
<string name="artist">David Bowie</string>
b) Plural strings:
For Android, there is only one .xml file type that can be easily generated on Android Studio.
OneSky Migration Tool
Now that you understand the different file formats for iOS and Android, how can you translate your apps quickly and cost-efficiently?
OneSky has a migration tool that allows you to share translations between projects.
Here is a sample workflow:
- Create iOS project and upload generated iOS (.strings/.stringsdict/.plist) OR (.xliff/.stringsdict/.plist) string files.
- Translate iOS strings on our platform's translation management system (TMS).
- Create a separate Android project and upload base strings.xml files generated from internationalizing your Android app.
- Use migration tool to migrate existing translations from your iOS project to your Android project.
- Only strings with 100% matching content (not string IDs) will be migrated (whitespace and newlines matter)
- Due to different placeholder and pluralization behavior of iOS and Android, strings with placeholders or plural forms will NOT migrate
Note: This workflow works for any type of project (Android -> iOS, iOS -> website, etc.).
Thanks for sharing that.
H and R Block Login
Please sign in to leave a comment.