Merge pull request #2102 from nextcloud/backport/2098/stable16

[stable16] Add section about .l10nignore
This commit is contained in:
Morris Jobke
2020-05-26 15:42:11 +02:00
committed by GitHub

View File

@@ -212,6 +212,9 @@ transifex config to your app folder at :file:`.tx/config` (please replace **MYAP
Then create a folder :file:`l10n` and a file :file:`l10n/.gitkeep` to create an
empty folder which later holds the translations.
Add one more file called :file:`.l10nignore` in root of the repository and the files and folders to ignore for translations.
Mostly used to ignore packed js files.
Now the GitHub account `@nextcloud-bot <https://github.com/nextcloud-bot>`_ needs
to get write access to your repository. It will run every night and only push
commits to the master branch once there is an update to the translation. In general
@@ -267,4 +270,3 @@ Now the following folder structure is available::
|-- myapp.pot
You then just need the :file:`.json` and :file:`.js` files for a working localized app.