Skip to content

geokrety/GeoKrety-mole-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b601b46 · Aug 16, 2023

History

86 Commits
Aug 16, 2023
Aug 5, 2023
Nov 5, 2017
Mar 10, 2018
Aug 5, 2023
Aug 5, 2023
Mar 10, 2018
Nov 7, 2017
Nov 5, 2017
Nov 4, 2017
Nov 7, 2017
Nov 4, 2017
Nov 5, 2017
Nov 4, 2017
Aug 5, 2023
Mar 10, 2018
Mar 10, 2018
Mar 10, 2018
Mar 9, 2018
Nov 5, 2017
Apr 21, 2019

Repository files navigation

The mole without name

This side project from GeoKrety aimed to help us choose name for our mascot.

Install

We distribute a Dockerfile and docker-compose.yml to help you start.

  1. You need to have docker installed.
  2. You need to have docker-compose installed.
  3. Clone the project git clone https://github.com/geokrety/GeoKrety-mole-name.git.
  4. Copy config/custom.example.conf to config/custom.conf, and adjust to your needs.
  5. Build the docker image docker-compose build.
  6. Launch the container docker-compose up -d.

Contribute

  • Open a pull request, rebased on current master
  • If you add dependencies to other project, please add them to ATTRIBUTIONS.md

Manage translations

  • Extract translatable strings: docker exec -it geokretymascottname_geokrety-mole-name_1 pybabel extract -F babel.cfg -o app/translations/messages.pot app
  • Connect to crowdin and upload file
  • Import Translate files into code source tree
  • Compile new translations docker exec -it geokretymascottname_geokrety-mole-name_1 pybabel compile -d app/translations/

To initialize a new language, declare it in app/main.py, and launch docker exec -it geokretymascottname_geokrety-mole-name_1 pybabel init -i app/translations/messages.pot -d app/translations -l <lang_code>

Note: Norwegian have a problem, locale is recognized as nb. See python-babel/flask-babel#61

Wanna help translate?

Nice! Please join us on crowdin https://crowdin.com/project/geokrety