From 186dc29d95bebfdb457e2ecb1e14c2d51cec216e Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sun, 18 Oct 2020 12:20:25 +0200 Subject: [PATCH] add translation infrastructure --- .l10nignore | 2 ++ README.md | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 .l10nignore diff --git a/.l10nignore b/.l10nignore new file mode 100644 index 0000000..0844b0d --- /dev/null +++ b/.l10nignore @@ -0,0 +1,2 @@ +# compiled vue templates +js/ diff --git a/README.md b/README.md index 7e6991a..4264826 100644 --- a/README.md +++ b/README.md @@ -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).