2024-02-22 07:58:06 +01:00
2024-02-21 11:10:31 +01:00
2024-02-21 11:10:31 +01:00
2024-02-20 10:59:58 +01:00
2024-02-22 07:58:06 +01:00
2024-02-20 10:59:58 +01:00
2023-10-04 17:24:40 +02:00
2023-12-06 16:38:40 +01:00
2024-02-20 10:59:58 +01:00
2024-02-20 10:59:58 +01:00
2024-02-19 15:33:19 +01:00

Translations

Create .pot file

pybabel extract -F babel.cfg -o messages.pot .

Create language .po files

pybabel init -i messages.pot -d translations -l en pybabel init -i messages.pot -d translations -l sl

Compile changes

pybabel compile -d translations

Update commands

Install gettext (sudo apt install gettext)

pybabel extract -F babel.cfg -o messages.pot .
msgmerge translations/sl/LC_MESSAGES/messages.po messages.pot -o translations/sl/LC_MESSAGES/messages.po
msgmerge translations/en/LC_MESSAGES/messages.po messages.pot -o translations/en/LC_MESSAGES/messages.po

# check and delete fuzzy in .po files
pybabel compile -d translations

Deployment

docker build -t stark-web . docker run -p 8080:8080 stark-web

Description
No description provided
Readme 5.6 MiB
Languages
JavaScript 83.9%
CSS 6.3%
HTML 5.1%
Python 4.7%