100-Days-Of-Code/Visual Studio Code Projects/venv/lib/python3.12/site-packages/wtforms/locale
2025-09-11 06:03:58 +05:30
..
ar/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
bg/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
ca/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
cs_CZ/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
cy/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
de/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
de_CH/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
el/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
en/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
es/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
et/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
fa/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
fi/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
fr/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
he/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
hu/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
it/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
ja/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
ko/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
nb/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
nl/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
pl/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
pt/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
ru/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
sk/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
sv/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
tr/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
uk/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
zh/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
zh_TW/LC_MESSAGES Added venv environment 2025-09-11 06:03:58 +05:30
README.md Added venv environment 2025-09-11 06:03:58 +05:30
wtforms.pot Added venv environment 2025-09-11 06:03:58 +05:30

Translations

WTForms uses gettext to provide translations. Translations for various strings rendered by WTForms are created and updated by the community. If you notice that your locale is missing, or find a translation error, please submit a fix.

Create

To create a translation, initialize a catalog in the new locale:

$ python setup.py init_catalog --locale <your locale>

This will create some folders under the locale name and copy the template.

Edit

After creating a translation, or to edit an existing translation, open the .po file. While they can be edited by hand, there are also tools that make working with gettext files easier.

Make sure the .po file:

  • Is a valid UTF-8 text file.
  • Has the header filled out appropriately.
  • Translates all messages.

Verify

After working on the catalog, verify that it compiles and produces the correct translations.

$ python setup.py compile_catalog

Try loading your translations into some sample code to verify they look correct.

Submit

To submit your translation, create a pull request on GitHub.