Skip to content

A password generator that supports many languages.

Notifications You must be signed in to change notification settings

iamtwobe/passwordgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README CREATION IN PROGRESS (it was dark outside, i left it to do in the next day)

Create new translation

  • instalar o pybabel
$ sudo apt install python3-babel
  • configure o "babel.cfg" (arquivo babel.cfg explicação)

  • extrair mensagens do código

$ pybabel extract -F babel.cfg -o messages.pot .
  • criar o arquivo .po do idioma desejado
$ pybabel init -i messages.pot -d locale -l <LANG>

Rename LANG as the language you want to use. Ex.: pt_BR, en_US, jp_JP, es_CO

  • editar o arquivo e traduzir as mensagens

locale/<LANG>/LC_MESSAGES/messages.po

You can use the en_US "messages.po" as a base for the translation, instead of the original one, because the program is originally in Portuguese-BR.

  • compile para transformar em .mo (binário)
$ pybabel compile -d locale

About

A password generator that supports many languages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages