Commit graph

5 commits

Author SHA1 Message Date
Benjamin Renard 0219714d4a Fix JS translations loading method to make translations available earlier 2022-04-24 20:17:48 +02:00
Benjamin Renard efc7352404 Code cleaning 2022-04-24 17:43:44 +02:00
Benjamin Renard 444c1ec2fc Improve translations
- Add support for translations in JavaScript code using babel lib and
  a custom PO file converter to JSON (using sepia/po-parser lib for
  PO files parsing)
- Put translation CLI commands in a dedicated file
- update_messages CLI command now provide PO file initialization feature
  using msginit and support of compendium files
2022-04-24 16:46:38 +02:00
Benjamin Renard 5dd35cabb2 translation: improve initialization
- Keep current language in session
- allow selection using lang request parameter
- allow reseting current language using reset_lang request parameter
- improve logging problems
- add 'Hello word!' test to validate initializatio
2021-10-07 20:46:13 +02:00
Benjamin Renard e936064b78 Add translation system and improve URL routing system 2021-07-28 17:13:10 +02:00