TelenkovDmitry a502db9750 falsk rofms 1 năm trước cách đây
..
ar a502db9750 falsk rofms 1 năm trước cách đây
bg a502db9750 falsk rofms 1 năm trước cách đây
ca a502db9750 falsk rofms 1 năm trước cách đây
cs_CZ a502db9750 falsk rofms 1 năm trước cách đây
cy a502db9750 falsk rofms 1 năm trước cách đây
de a502db9750 falsk rofms 1 năm trước cách đây
de_CH a502db9750 falsk rofms 1 năm trước cách đây
el a502db9750 falsk rofms 1 năm trước cách đây
en a502db9750 falsk rofms 1 năm trước cách đây
es a502db9750 falsk rofms 1 năm trước cách đây
et a502db9750 falsk rofms 1 năm trước cách đây
fa a502db9750 falsk rofms 1 năm trước cách đây
fi a502db9750 falsk rofms 1 năm trước cách đây
fr a502db9750 falsk rofms 1 năm trước cách đây
he a502db9750 falsk rofms 1 năm trước cách đây
hu a502db9750 falsk rofms 1 năm trước cách đây
it a502db9750 falsk rofms 1 năm trước cách đây
ja a502db9750 falsk rofms 1 năm trước cách đây
ko a502db9750 falsk rofms 1 năm trước cách đây
nb a502db9750 falsk rofms 1 năm trước cách đây
nl a502db9750 falsk rofms 1 năm trước cách đây
pl a502db9750 falsk rofms 1 năm trước cách đây
pt a502db9750 falsk rofms 1 năm trước cách đây
ro a502db9750 falsk rofms 1 năm trước cách đây
ru a502db9750 falsk rofms 1 năm trước cách đây
sk a502db9750 falsk rofms 1 năm trước cách đây
sv a502db9750 falsk rofms 1 năm trước cách đây
tr a502db9750 falsk rofms 1 năm trước cách đây
uk a502db9750 falsk rofms 1 năm trước cách đây
zh a502db9750 falsk rofms 1 năm trước cách đây
zh_TW a502db9750 falsk rofms 1 năm trước cách đây
README.md a502db9750 falsk rofms 1 năm trước cách đây
wtforms.pot a502db9750 falsk rofms 1 năm trước cách đây

README.md

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:

$ pybabel init --input-file src/wtforms/locale/wtforms.pot --output-dir src/wtforms/locale --domain wtforms --locale <your locale>

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

Update

To add new translatable string to the catalog:

pybabel extract --copyright-holder="WTForms Team" --project="WTForms" --version="$(python -c 'import wtforms; print(wtforms.__version__)')" --output-file src/wtforms/locale/wtforms.pot src/wtforms

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.

$ pybabel compile --directory src/wtforms/locale --domain wtforms --statistics

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

Submit

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