Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localised notifications #148

Closed
vitalidze opened this issue Apr 15, 2015 · 2 comments
Closed

Localised notifications #148

vitalidze opened this issue Apr 15, 2015 · 2 comments

Comments

@vitalidze
Copy link
Owner

For my private project I need localised notifications (in russian language). I can see two ways of implementation (which may probably be combined):

  1. Add message template with following fields:
  • title
  • body

Template will be in Java Minimal Template Engine format.

I think the best way will be to have a message template per event type (or maybe even per device so notification will always be send for single device).

This will work for #139 too.

  1. Add global language setting (like said in default language #141) and have localized messages in Messages.properties file. This global setting will also change the default language of entire traccar interface (so you won't have to edit traccar.html file anymore).

If someone has any thoughts on this - please express them :)

@antoniopaisfernandes
Copy link
Contributor

Don't quite grasp every aspect of it but... I'll help translating whatever needs to.

From the translation maintenance point of view, the least number of files to address, the better (for now, we have 1 for desktop UI - per language - and 1 for mobile UI - all languages). But I reckon that coding structure shouldn't oblige by this...

@vitalidze
Copy link
Owner Author

Implemented, written news, updated article, latest and demo versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants