vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Add Arabic Translation

Open ots25 opened this issue 2 years ago • 12 comments
trafficstars

Hello. i want to translate Vorta to Arabic language . My Transifex account is @ots My best Regards.

ots25 avatar Oct 25 '23 15:10 ots25

Thank you for your interest in translating Vorta. Can you apply to joining the project over at Transifex?

real-yfprojects avatar Nov 23 '23 21:11 real-yfprojects

Ok, i sent request in Transifex.

ots25 avatar Nov 23 '23 23:11 ots25

Related: #1852

ThomasWaldmann avatar Nov 30 '23 17:11 ThomasWaldmann

Translating completed.

ots25 avatar Dec 08 '23 20:12 ots25

Not limited to arabic, rather meant as a general comment about translations:

It would be good if translations would get (similar as code changes) some review by another community member capable of doing that.

ThomasWaldmann avatar Dec 08 '23 21:12 ThomasWaldmann

It would be good if translations would get (similar as code changes) some review by another community member capable of doing that.

Good point. But how would one organise that? Transifex seems very limited in that regard.

real-yfprojects avatar Dec 08 '23 22:12 real-yfprojects

I didn't mean that technically, like the review process on github happening before a PR gets merged.

I just meant that there should be someone looking at that stuff.

Preferably on transifex (more comfortable) or after it gets pull into the repo.

ThomasWaldmann avatar Dec 08 '23 22:12 ThomasWaldmann

Testing Arabic UI Some problems, especially in mixed text between RTL & LTR languages Screenshot_20231213_193702 Screenshot_20231213_194515

ots25 avatar Dec 13 '23 18:12 ots25

Since I am little familiar with rtl languages, where exactly lies the problem depicted in your screenshots?

real-yfprojects avatar Dec 13 '23 20:12 real-yfprojects

In the first picture, notice the word : Borgbase {in blue}, which should be at the end of the line on the left. See this from Transifex:

Screenshot_20231214_111951

The only solution for this is to replace the word (Borgbase) with Arabic characters like : بورغ بيز or make it on a new line.

Screenshot_20231214_113434

ots25 avatar Dec 13 '23 22:12 ots25

Just a wild guess:

I didn't check in the code, but I could imagine that some text is just assembled in the code (e.g. like using string concatenation and assuming ltr text).

Such places need to be found and changed like translate("For simple and secure backup hosting, try {borgbase_link}").format(...) - just a rough example, not sure what kind of string formatting is preferred for vorta src code.

Then, the rtl translator can move the placeholder via the translated string to the correct place and the formatting (placeholder replacement) happens after the translation. Important: use named placeholders, for clarity and to be independent of order/direction.

ThomasWaldmann avatar Dec 15 '23 17:12 ThomasWaldmann

Another issue after updating to Vorta 0.9.1, the direction of text and windows in the application has completely flipped from right to left! Screenshot_20240113_232520

ots25 avatar Jan 13 '24 22:01 ots25

Another issue after updating to Vorta 0.9.1, the direction of text and windows in the application has completely flipped from right to left! Screenshot_20240113_232520

ots25 avatar Mar 16 '24 21:03 ots25

Hi, after updating Plasma to 6 with wayland and Qt6, Right to left direction problem solved now.

ots25 avatar Mar 16 '24 21:03 ots25