arduino / arduino-cli

Arduino command line tool
https://arduino.github.io/arduino-cli/latest/
GNU General Public License v3.0
4.35k stars 378 forks source link

arduino cli RTL support for arabic translation testing #2236

Open Osmax-Br opened 1 year ago

Osmax-Br commented 1 year ago

Describe the problem

I finished translating CLI to arabic in transifiex and I began proofreading , however when I changed cli language from .yaml file the text was previewed as LTR text rather than RTL . for example we have this sentence "Comma-separated list of additional URLs for the Boards Manager" : as you can see in the pictures below , we have the correct transifex translation and the cli preview , the place of the word "URL" differs which makes the sentence unreadable. this effect of this problem is obvious when we have a sentence which has arabic and english words , at that situation the words order is messed up , we need to have the option for rtl view like transifex to print the translation correctly. the cli does a good job in printing arabic letters and joining them . image image

To reproduce

find the file arduino-cli.yaml add to the file the following line locale : ar

Expected behavior

RTL text view

Arduino CLI version

0.32.2

Operating system

Windows

Operating system version

10 h21h1

Additional context

No response

Issue checklist

Osmax-Br commented 1 year ago

any idea ?