traslation

viing2 years ago

Hi ,I translated all Chinese(zh) here https://www.transifex.com/traccar/traccar/language/zh/ , but I still have two problems, one is the devices offline time there is some English I didn't find them in the translation list, For example, Devices offline time "a few seconds ago","a day ago" ;

Another problem is that one device name displayed in different languages(zh and en) on the map seems to be aligned at the top, could you please set it vertical center-alignment or bottom-alignment for all languages in one device name, it looks more comfortable.
Thank you!

Anton Tananaev2 years ago

Offline time is part of moment js library, which has it's own translation.

I don't understand the second problem. Maybe you can provide a screenshot?

viing2 years ago

problem1:
I can't find this “moment.js” file, can you tell me the file path? I'll translate them.
p1.JPG

problem2:
p2.JPG

Anton Tananaev2 years ago
  1. It should already have a translation. Are you using the latest version?
  2. This might be an issue with the fonts. Not sure what we can do about that.
viing2 years ago

Traccar version 5.4.
I've switched languages and they all have translations for offline time. Offline time will be displayed in English in Chinese-zh mode.

Anton Tananaev2 years ago