Question about traccar/templates/translations

Victor Butler last month

Hello,

  1. What are the localization files located here used for: traccar/templates/translations? For translating notifications, web interface, both?

  2. Are they added during installation? How?

  3. Since we already have a dedicated language folder that contains translated notifications, why do we need the \translations folder?

Anton Tananaev last month

Not sure I understand questions. The files are in source:

https://github.com/traccar/traccar/tree/master/templates/notifications

Victor Butler last month

When i installed 6.14.5 version i got a folder called translations in traccar/templates. What are those JSON files used for?

Anton Tananaev last month

Looks like you changed your original question. It was about notifications folder.

Translations are coming from the web repo:

https://github.com/traccar/traccar/blob/master/.github/workflows/release.yml#L56-L58

Victor Butler last month

Yes, I typed in the wrong folder name.

So those JSON files are only used to translate the web interface?

Anton Tananaev last month

No, they are using on the backend now.

Victor Butler last month

Interesting, what do we use them on the backend for?

Anton Tananaev last month

For now it might be only for some notification-related things, like alarm translations.