change font to support persian letters

nooshina year ago

Hello,
I have 2 problem.
first is a bout Persian letters . Is there a solution to solve the problem of broken Persian letters (device label) ?
should I change css file in asset folder? I try change that but unfortunately nothing happen at all !!

second: Is there any solution to show changes immediately after changing css file?

Anton Tananaeva year ago

What Traccar version are you using?

nooshina year ago

the latest one --> 6.1

Anton Tananaeva year ago

Does this look right? Or is it broken?

screenshot

nooshina year ago

exactly like the image you share

Anton Tananaeva year ago

I don't know the language, so I can't tell what's broken about it.

nooshina year ago

It show broken and left to right , it should be right to left . for example you want to show "Anton" but label show "n o t n A" .
it should show "فارسی" for image that you have sent.
how can I change font and make them right to left ?

Anton Tananaeva year ago

Not sure how to fix it. We might need some special settings for the map.

nooshina year ago

I saw this problem in these two post too but i don't understand how they solve that .
https://www.traccar.org/forums/topic/problem-with-interrupting-arabic-letters/
https://www.traccar.org/forums/topic/arabic-letter-arent-showing-roboto-font-family/

Q2 : Is there any solution to show changes immediately after changing css file? ? I try to change that but unfortunately nothing happen at the moment until I use another browser or restart the computer .

Anton Tananaeva year ago
  1. Is there a problem with Arabic as well? Or only Persian? The Arabic problem was different. Previously the font simply didn't support it.
  2. Clear the app data after the change. It should be enough.
nooshina year ago
  1. I think it is the same as the Arabic Problem because these 2 languages are almost similar. so, How can change the font of the device label?
  2. How can I clear app data? Do you mean browser cash?
Anton Tananaeva year ago
  1. As I said, the Arabic font problem is resolved. And Persian doesn't have a font problem. It has an order problem, as you said.
  2. Check your browser documentation. You need to make sure you're clearing both normal cache and worker cache.
nooshina year ago

Persian have both font problem and order problem Simultaneously.

Anton Tananaeva year ago

What is the font problem?

nooshina year ago

it's Broken