Rafael Vieira 5913b7b3e9 feat(server): add i18n for translation of api
Implementation of i18n system to API translation. This change use i18next lib, simple and
extensible internationalization-framework, with support to plugins.

- out of router: use passing i18next on index.js for any class. Look tv-guide-service.js
- on a route: use req.t(). look api.js
2021-07-06 01:00:39 -03:00

15 lines
442 B
JSON

{
"event":{
"server_started": "Server Started",
"server_shutdown": "Initiated Server Shutdown"
},
"api": {
"plex_server_not_found": "Plex server not found.",
"missing_name": "Missing name"
},
"tvGuide": {
"no_channels": "No channels configured",
"no_channels_summary": "Use the dizqueTV web UI to configure channels.",
"xmltv_updated": "XMLTV updated at server time {{t}}"
}
}