#23568: timesince / timeuntil is not localized -------------------------------------+------------------------------------- Reporter: lerela | Owner: nobody Type: Bug | Status: new Component: | Version: 1.7 Internationalization | Resolution: Severity: Normal | Triage Stage: Keywords: l10n, i18n | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by mpessas):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: Can you try using the "es" as language code in your settings instead of es_ES? This is what django uses [1]. IIRC, gettext will fallback to English, if it cannot find the files that correspond to the correct locale, which could explain the weird behavior here. The code looks correct to me with a quick look. [1]: https://github.com/django/django/tree/master/django/conf/locale/es -- Ticket URL: <https://code.djangoproject.com/ticket/23568#comment:1> 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/064.8286431ac8ac2e1a1dbbb73b3687cfca%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.