Azuracast: Update translate

Created on 12 Oct 2019  路  3Comments  路  Source: AzuraCast/AzuraCast

How can I update this file with translation AzuraCast/resources/locale/translations.json ?

question

All 3 comments

You can contribute with translations for AzuraCast in this page: https://translate.azuracast.com/

@susl16c It's a valid question, since we have only had this new localization method for a while, we haven't had a chance to document any of the process of developing for the frontend.

I've updated our documentation to show how to do both the "generate" and "import" steps for both backend and frontend locales here: https://www.azuracast.com/developers/#translations-locales

./docker.sh cli locales:generate
Starting azuracast_influxdb_1 ...
Starting azuracast_redis_1 ... done
Starting azuracast_stations ... done
2019/10/13 09:46:44 Waiting for: tcp://mariadb:3306
2019/10/13 09:46:44 Waiting for: tcp://influxdb:8086
2019/10/13 09:46:44 Connected to tcp://mariadb:3306
2019/10/13 09:46:44 Connected to tcp://influxdb:8086

There are no commands defined in the "locales" namespace.

Did you mean this?
locale

2019/10/13 09:46:44 Command exited with error: exit status 1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! azuracast@ import-locales: gettext-compile --output ../../resources/locale/translations.json $(find ../../resources/locale/*.UTF-8 -type f -name '*.po')
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the azuracast@ import-locales script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2019-10-13T09_48_45_972Z-debug.log

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TildeSlashC0re picture TildeSlashC0re  路  4Comments

ErnestPH picture ErnestPH  路  3Comments

SlvrEagle23 picture SlvrEagle23  路  3Comments

RemBdev picture RemBdev  路  4Comments

dpcee30 picture dpcee30  路  3Comments