-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add localization support #61
base: master
Are you sure you want to change the base?
Conversation
Add Makefile targets for generating/updating POT files, for updating PO files, and for building translated docs.
alterando para português brasileiro
desativando o gettext compact
Separando o comando em duas linhas
Atualizando para python3
Mudando o comando para gerar os aquivos .pot
os arquivos são gerados com o comando "make update-po". É preciso criar a pasta <lang> manualmente.
Aqui deve ficar sem parâmetro, assim sempre vai gerar tudo.
Acrescentada a seção Translate
This reverts commit c8ac0a1.
This reverts commit eb3108c.
Hi, @grantjenks . I worked together @rffontenelle and @analaura09, and this PR was updated with brazilian portuguese po files. Can you review and, maybe, merge this PR? So, we will can send the translation in a different PR. |
…enks#65) Initial mad libs game and with testing.
Rebased the PR to be up-to-date with the changes on |
* Update to support Python 3.10 * Update copyright * Add flake8 testing * Remove unused import * Update copyright for 2022 * I blue it!
Rebased the PR to be up-to-date with the changes on |
Add Makefile targets for generating/updating POT files, for updating PO files, and for building translated docs. See #33.
How to use:
Install dependencies (sphinx and sphinx-intl):
Then just run the desired command. E.g.:
Folders:
Translation-related files are stored in
docs/locale/
:Translated docs built are stored in
_builds/<lang>/<target>
(e.g. _builds/pt_BR/html), similar to English directory_builds/<target>
.Example: