Skip to content

Commit

Permalink
Merge pull request #564 from CTPUG/feature/translation_notes
Browse files Browse the repository at this point in the history
Feature/translation notes
  • Loading branch information
drnlm committed Oct 21, 2020
2 parents b42d0b9 + b70bafc commit 5331102
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,10 @@ Features

* Talk submissions, review and acceptance.
* Generate a static version of the site for archival.

Translation
===========

Translations for wafer are managed at `weblate.org`_

.. _weblate.org: https://hosted.weblate.org/projects/wafer/
34 changes: 34 additions & 0 deletions docs/translations.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Translations
============

Translating wafer
------------------

Translations for wafer are managed at `weblate.org`_

.. _weblate.org: https://hosted.weblate.org/projects/wafer/

Managing translations
---------------------

The summary is:

* Add weblate as a remote
``git remote add weblate https://hosted.weblate.org/git/wafer/wafer/``

* Pull weblate updates
``git remote update weblate``

* Merge translations into wafer
``git merge weblate/master``

* Fix any merge issues and create a PR on github

See the `weblate`_ documentation for more details on how to pull and merge translations.

To regenerate the django.pot file, use ``./manage.py makemessages --keep-pot``.


.. _weblate_ `https://docs.weblate.org/`

0 comments on commit 5331102

Please sign in to comment.