CritiqueBrainz:Internationalization: Difference between revisions
(Create a CB i18n page for translators mainly, with pointers to existing docs for developers) |
m (→Development: Format links to developer documentation) |
||
Line 29: | Line 29: | ||
A POT file is provided with all the strings used in the server. They are in English. |
A POT file is provided with all the strings used in the server. They are in English. |
||
See developer documentation at: |
|||
⚫ | |||
https://critiquebrainz.readthedocs.io/ |
* https://critiquebrainz.readthedocs.io/intro.html#modifying-strings |
||
⚫ | |||
= Internationalization = |
= Internationalization = |
Revision as of 11:44, 26 May 2023
Translation
Getting started
If you want to help translate, go to the Transifex page (to be soon replaced with Weblate) and create an account. If there is already a team for your language, you can join it, if not, you can ask for the creation of a new team.
Communication
MetaBrainz community forums can be used (with categories and tags) for discussion beyond Transifex (soon Weblate) comments:
- The category “Critiquebrainz” to discuss with other CritiqueBrainz users in general
- The tag “translation” to discuss about CritiqueBrainz translation matters
- The tag “internationalization” to discuss about CritiqueBrainz more general internationalization matters
- The category “Internationalization” TBD to discuss about MetaBrainz-wide internationalization matters
For instant conversation with developers, you’re welcome to ask in the #metabrainz IRC channel.
If you find a bug in the server or want to suggest changes, you can enter an issue in our bug tracker; See more particularly CritiqueBrainz internationalization issues.
Viewing the translations
Some of the more complete translations (TBD: any threshold?) are available on the only server at https://critiquebrainz.org/.
The translations do not update automatically, they are updated at release time only.
Development
The CritiqueBrainz server code is using gettext to provide with automatic translation of messages and texts used in the Python code and Jinja2 HTML templates.
A POT file is provided with all the strings used in the server. They are in English.
See developer documentation at:
- https://critiquebrainz.readthedocs.io/intro.html#modifying-strings
- https://critiquebrainz.readthedocs.io/translation.html
Internationalization
- CritiqueBrainz supports writing reviews in an auto-detected/manually selectable language.