See #161: added initial translating guidelines
This commit is contained in:
parent
8056e718ee
commit
c34111b0fd
|
@ -289,8 +289,9 @@ Typical workflow for a contribution
|
||||||
Internationalization
|
Internationalization
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
We're using https://github.com/Polyconseil/vue-gettext to manage i18n in the project.
|
||||||
When working on the front-end, any end-user string should be translated
|
When working on the front-end, any end-user string should be translated
|
||||||
using either ``<i18next path="yourstring">`` or the ``$t('yourstring')``
|
using either ``<translate>yourstring</translate>`` or ``$gettext('yourstring')``
|
||||||
function.
|
function.
|
||||||
|
|
||||||
Extraction is done by calling ``yarn run i18n-extract``, which
|
Extraction is done by calling ``yarn run i18n-extract``, which
|
||||||
|
|
|
@ -26,4 +26,9 @@ Contribute
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Contribution guidelines as well as development installation instructions
|
Contribution guidelines as well as development installation instructions
|
||||||
are outlined in `CONTRIBUTING <CONTRIBUTING>`_
|
are outlined in `CONTRIBUTING <CONTRIBUTING>`_.
|
||||||
|
|
||||||
|
Translate
|
||||||
|
^^^^^^^^^
|
||||||
|
|
||||||
|
Translators willing to help can refer to `TRANSLATORS <TRANSLATORS>`_ for instructions.
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
Translating Funkwhale
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Thank you for reading this! If you want to help translate Funkwhale,
|
||||||
|
you found the proper place :)
|
||||||
|
|
||||||
|
Translation is done via our own Weblate instance at https://translate.funkwhale.audio/projects/funkwhale/front/.
|
||||||
|
|
||||||
|
You can signup/login using your Gitlab account (from https://code.eliotberriot.com).
|
||||||
|
|
||||||
|
Translation workflow
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Once you're logged-in on the Weblate instance, you can suggest translations. Your suggestions will then be reviewer
|
||||||
|
by the project maintainer or other translators to ensure consistency.
|
||||||
|
|
||||||
|
Guidelines
|
||||||
|
----------
|
||||||
|
|
||||||
|
Respecting those guidelines is mandatory if you want your translation to be included:
|
||||||
|
|
||||||
|
- Use gender-neutral language and wording
|
||||||
|
|
||||||
|
Requesting a new language
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
If you'd like to see a new language in Funkwhale, please open an issue here:
|
||||||
|
https://code.eliotberriot.com/funkwhale/funkwhale/issues
|
|
@ -23,6 +23,7 @@ Funkwhale is a self-hosted, modern free and open-source music server, heavily in
|
||||||
api
|
api
|
||||||
third-party
|
third-party
|
||||||
contributing
|
contributing
|
||||||
|
translators
|
||||||
changelog
|
changelog
|
||||||
|
|
||||||
Indices and tables
|
Indices and tables
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
.. include:: ../TRANSLATORS.rst
|
Loading…
Reference in New Issue