Localization Tool is made for Google Apps Script platform and provides an easy and efficient way to manage strings for Android and iOS localized apps.
The tool runs as an addon for Google Spreadsheet and creates an extra menu option with the following options: "Import Android/iOS" files and "Generate Localization Files". With those options, you can fill the spreadsheet based on your localization file and/or create the localization files (Android's strings.xml and iOS Localizable.string) based on the data from the spreadsheet.
Localization Tool works on a spreadsheet in the following format:
The spreadsheet should contain one column for the android key, one column for the ios key and an extra column for each supported language, with the language code in the header. Each line in the spreadsheet corresponds to a string to be generated in the localization files.
To initialize the header you can use the menu option Localization Tool > Initialize. This option creates the header in the format above.
To generate android and iOS files, use the "Generate Localization Files" menu option:
Using this option, the spreadsheet data will be processed and the localization files will be generated in the Google Drive directory called "LocalizationTool":
After the files generation, the script also highlights the strings without translation.
You can also fill the spreadsheet based in a localization file from Android or iOS using the function Import. Click on Localization Tool > Import > Import Android File or Import iOS File and then upload the file and select its language:
The installation of an addon is pretty simple. Just create a new Google Spreadsheet and click on Tools > Script editor.
In the created project, copy the contents of localizationtool.gs. Go back to the spreadsheet and refresh it. The "Localization Tool" menu will appear.
- Support for android string-array and plurals.
- Settings (So the user will be able to select the directory where the files will be generated.
- Duplicate strings checker
- Windows Phone support.
Send your ideas for [email protected]