Skip to content
kaftanati edited this page Mar 16, 2015 · 2 revisions

LocalizationParser

Google table ->> folder with separated localization strings "res/values_**/string.xml"

I use this application for parse my Google Table. it contains more then 1000 strings and manual transfer is very difficult. Google Table need be exported as TSV (File->Download as->TSV).

All strings have markers for paser analization.Theese markers can be setted directly in app.

General markers

  • 0 - comment line, not output
  • 1 - language code (ru, fr, en) - must be shorter then 6 simbols, else not output. (Translation in process can be marked as uk (process))
  • 2 - language parent code - if original localization have not value uses parent language value. (For example ukranian can use russiun strings instead english or other default)

Base project markers

  • 3 - common text (for all locales) - output into res/values/strings_common.xml
  • 4 - localized strings - output into res/values_**/strings.xml

Inheritor project markers

  • 5 - replacing text for localized strings (for values with same key but diffrent values)
  • 6 - common text (added to base common strings)
  • 7 - localized strings (added to base localized strings)

Clone this wiki locally