How to translate notification templates to PT-BR in version 6.9

Junior_Man15 days ago

Hello, everyone.

I’ve updated Traccar to version 6.9 and noticed that the notification templates (full, short, and export), which I had previously edited to Portuguese, are now different compared to the previous version.

I also saw that under the templates directory there are the folders export, notifications, and translations.

I’d like to know:

Which of these folders/files should be modified in version 6.9 to apply the translation?

What is the recommended procedure to translate notifications to PT-BR without losing changes in future updates?

Thanks in advance!

Anton Tananaev15 days ago

You should do something link this:

https://github.com/traccar/traccar/pull/5639

Junior_Man15 days ago

I got it, thank you very much! But I have one more question:

Are the full and short templates now in the same file?
For example, in IgnitionOn.vm, does this single template file contain both the full and short versions?

Anton Tananaev15 days ago

Are the full and short templates now in the same file?

Yes.

Junior_Man15 days ago

Very good, I’ll create the PT-BR version.
Thank you!