Hi Claude,
Thanks for getting back to me.
Two things: A) You were right, it was a config issue, the path was off. But
it took me some time to get to terms with the formatting. I think the docs
are not very clear on how the locale needs to be formatted, e.g. zh_Hans is
how the locale appears in
Glad that it finally worked for you.
The issue of zh_Hans vs zh_HANS is most probably a django-rosetta issue.
Of course, if you see any point where the Django documentation could be
improved, feel free to propose some improvement on the ticket tracker.
Claude
Le 07. 03. 16 17:18, Malte a écri
Thanks! Just out of curiosity, is it supposed to be zh_Hans or zh_HANS?
On Tuesday, March 8, 2016 at 1:11:21 AM UTC+8, claudep wrote:
>
> Glad that it finally worked for you.
>
> The issue of zh_Hans vs zh_HANS is most probably a django-rosetta issue.
> Of course, if you see any point where the
Hi Claude,
After another round of testing, I think I got a pattern.
Django doesn't care so much for whether the folder is named zh_Hans or
zh_HANS but what it does care for is which way I spell the locale in the
compilemessages command, i.e.
If I run ...
$ python manage.py compilemessages --l
Hi Malte,
Django strives to conform to published standards, mainly RFC5646 and the
Posix locale syntax.
https://tools.ietf.org/html/rfc5646
https://tools.ietf.org/html/rfc5646#appendix-A
https://en.wikipedia.org/wiki/Locale
Extract from RFC 5646:
(...)
These conventions include:
o [ISO6