#18419: Language code is not correct for Chinese -------------------------------------+------------------------------------- Reporter: Olli Wang | Owner: bouke <olliwang@…> | Status: assigned Type: Bug | Version: 1.4 Component: | Resolution: Internationalization | Triage Stage: Accepted Severity: Normal | Needs documentation: 0 Keywords: i18n, chinese, zh | Patch needs improvement: 0 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by bouke):
* owner: nobody => bouke * status: new => assigned * has_patch: 0 => 1 * cc: bouke (added) Comment: I've created a pull request for this ticket: https://github.com/django/django/pull/1868, based on the strategy proposed by jezdez. So for Django 1.7 and 1.8 there are duplicate chinese translations present; the old ones being deprecated. However when researching I've also found that some browsers send the old (deprecated) language codes, including the latest Firefox. So I've included a check such that visitors with those browsers also get the correct display language, despite incorrect `Accept-Language` headers. -- Ticket URL: <https://code.djangoproject.com/ticket/18419#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/088.b5d27393be863339298cc0ca5695d947%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.