Skip to content

Commit

Permalink
working on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joschobart committed Jul 27, 2024
1 parent 201112d commit ca57f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ First time contribution

1. Edit the messages.po file under fun_with_flags/translation/<language-code e.g. de>/LC_MESSAGES. If you need an example, you can take a look at the German po-file here: fun_with_flags/translation/de/LC_MESSAGES/messages.po.
2. Once finished, compile the strings into bytecode. This will generate the messages.mo-file. (this step is optional)

.. code-block:: bash
pybabel compile -d fun_with_flags/translations

3. Edit the sections "friendly", "locale", "quotes_ante" and "quotes_post" in the instance/config.py-file. (add your language-code and translations)
4. Put everything into the zip-file again and upload it to the cloud. Let joschobart know about your update

0 comments on commit ca57f5e

Please sign in to comment.