You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kerem Yollu 3dece15252
Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok
1 year ago
..
ar/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
bg/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
ca/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
cs_CZ/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
cy/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
de/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
de_CH/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
el/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
en/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
es/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
et/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
fa/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
fi/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
fr/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
he/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
hu/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
it/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
ja/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
ko/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
nb/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
nl/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
pl/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
pt/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
ro/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
ru/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
sk/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
sv/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
tr/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
uk/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
zh/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
zh_TW/LC_MESSAGES Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
README.md Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago
wtforms.pot Need to startt wiritng a documentation, table and form templates are ok, user functionalities are ok 1 year ago

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.