Ticket #15830: doc_localflavor_i18n.diff

File doc_localflavor_i18n.diff, 949 bytes (added by Fidel Ramos, 7 years ago)

Patch to docs/ref/contrib/localflavor.txt in r16026

  • docs/ref/contrib/localflavor.txt

    121121.. _United States of America: `United States of America (us)`_
    122122.. _Uruguay: `Uruguay (uy)`_
     124Internationalization of localflavor
     127Localflavor has its own catalog of translations, in the directory
     128``django/contrib/localflavor/locale``, and it's not loaded automatically like
     129Django's general catalog in ``django/conf/locale``. If you want localflavor's
     130texts to be translated, like form fields error messages, you must include
     131:mod:`django.contrib.localflavor` in the :setting:`INSTALLED_APPS` setting, so
     132the internationalization system can find the catalog, as explained in
    124135Adding flavors
Back to Top