Am 22.10.2017 um 16:25 schrieb Cheng-Chia Tseng: > Maren Hachmann <ma...@goos-habermann.de <mailto:maren@goos- > habermann.de>> 於 2017年10月22日 週日 下午10:10寫道: > > Hi Cheng-Chia Tseng, > > can you have a look at the discussion here: > https://bugs.launchpad.net/inkscape-web/+bug/1603392 > > I think the issue is with django, as far as I understand... > > So if you're translating for what the website calls zh-hant, then it > /should/ be the same language shorthand within the po file, for > consistency reasons (if it doesn't work, we can always fix it, though). > > > I will try zh_HANT as the language code first, although poedit will > complain that it is not a correct language code.
Can you try if it complains with "zh_Hant" ? It looks to me as if poedit supports it (but might be case sensitive, who knows - I don't have it installed), and even deprecated the zh_TW tag in 2016, as far as I understand [1] (unless it's the other way around, but then the code is misleading). At least, django deprecated it [2], so we need to use zh_Hant or zh-hant. I will try it out locally, and fix if necessary. Kind Regards, Maren [1] https://github.com/vslavik/poedit/blob/33a853be8b5f6b860b80196d00bf2cb0b1cbefc6/deps/icu4c/source/data/icu-rbnf-deprecates.xml#L26 [2] https://github.com/django/django/commit/e5e044da87800feb6ef63fef1765d8c05022d926 > > What would be the drawbacks of doing it this way? From what I read, I > understand that it wouldn't be outright wrong, or would it be? > > > Well, I'm not a developer and not familiar with the django things. I > know nothing about this. :P Maybe we should give a try. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-translator mailing list Inkscape-translator@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-translator