update translation syncing to convert to Android folder names
Android has a special naming scheme for naming the folders that the strings.xml files for each language go into. It is like this:
- certain language codes sometimes have different names in Android, so there should be identical copies for each of these language locales:
- he and iw
- id and in
- yi and ji
- there should never be a zh only locale, only zh with a country, i.e. zh_CN, zh_TW, etc.
- for a language-only locale: (e.g. de, es, mm), just add the language code to the end of
values-
, (e.g.values-de
,values-es
,values-mm
). - for a language+country locale (e.g. zh_HK, es_MX), convert the
_
(underscore) to a-r
(dash and lowercase R) and add that to the end ofvalues-
(e.g.values-zh-rHK
,values-es-rMX
)