How can I update this file with translation AzuraCast/resources/locale/translations.json ?
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
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