add translation infrastructure

This commit is contained in:
Jonas Heinrich 2020-10-18 12:20:25 +02:00
parent 84eac2a16d
commit 186dc29d95
2 changed files with 11 additions and 0 deletions

2
.l10nignore Normal file
View File

@ -0,0 +1,2 @@
# compiled vue templates
js/

View File

@ -58,6 +58,15 @@ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo s
make watch-js
```
Generate translations. The following commands will require the dependency
packages ``gettext`` and ``php``.
```
git clone https://github.com/nextcloud/docker-ci.git
cd nextcloud-app-radio
php ../docker-ci/translations/translationtool/translationtool.phar create-pot-files
php ../docker-ci/translations/translationtool/translationtool.phar convert-po-files
```
## Reporting bugs
You can report bugs in the public gitlab repository [here](https://git.project-insanity.org/onny/nextcloud-app-radio/issues) and for discussion you can find a section for the app in the offical Nextcloud forums [here](https://help.nextcloud.com/c/apps/radio).