Fix incorrectly named zh-hans and zh-hant locale path by Hongxia · Pull Request #4103 · encode/django-rest-framework (original) (raw)

Never mind, just realized that I could run tx pull with my own test transifex account, and I was able to prove my earlier hypothesis.

With zh-Hans/t renamed to zh_Hans/t, tx pull -a correctly updates the corrected locale path thanks to lang_map = sr@latin:sr_Latn, zh-Hans:zh_Hans, zh-Hant:zh_Hant in .tx/config. In addition, if you delete the zh-Hans/t paths before running tx pull -a, transifex client actually will create the correct locale path for you, i.e. zh_Hans and zh_Hant.