Open fujiapple852 opened 1 month ago
Thank you @tsallabi will go over it soon and get back to you, really appreciate the help.
You are welcome There some of them are abbreviation like ttrI had to write full sentences
Yahoo Mail: Search, organise, conquer
The space where the abbreviation has to go may not fit the full sentence. Do you think people would understand if we just use the English abbreviation?
Yes if they work in this filed they should understand it as it will come into sentences
Yahoo Mail: Search, organise, conquer
On Fri, 8 Nov 2024 at 20:34, @.***> wrote:
The space where the abbreviation has to go may not fit the full sentence. Do you think people would understand if we just use the English abbreviation?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
@tsallabi @c-git I agree that we should stick to the English abbreviations for technical terms, as we've done with the other languages. I'll close the related threads.
@tsallabi thanks for your contribution!
I've left a couple of questions on the open threads above.
Here is is how currently looks:
It looks like it doesn't support Arabic language
It should strat from right to left But in the screenshots below it start from left to right So it is wrong
Yahoo Mail: Search, organise, conquer
On Fri, 15 Nov 2024 at 10:41, @.***> wrote:
@tsallabi thanks for your contribution!
I've left a couple of questions on the open threads above.
Here is is how currently looks: Screenshot.2024-11-15.at.6.39.48.PM.png (view on web)Screenshot.2024-11-15.at.6.39.35.PM.png (view on web)Screenshot.2024-11-15.at.6.39.21.PM.png (view on web)Screenshot.2024-11-15.at.6.39.13.PM.png (view on web) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
@tsallabi you are correct. After some research it seems the terminal I am using (iTerm2 on macOS) does not support RTL/BiDi for languages such as ar
. Worse, even for terminals which do support this (such as the Terminal
that comes with macOS), the rendering is still wrong for complex TUI layouts as it attempts to reorder everything on the line.
Instead, I've taken the approach of reordering the translated text (using a library which supports the Unicode Bidirectional Algorithm) in the application prior to rendering.
Below are revised screenshots for ar
:
These do not match exactly with the desired ar
translations (i'm not sure why) and there is clearly an issue for mixed text (note the inverted [
and ]
). There will also be an issue for terminals which do try to reorder BiDi/RTL text as it would be reordered twice in effect (this may be fixable).
My question to you is therefore, is the updated rendering better than before and is it right (or at least "good enough")? If not, then it may not be possible to add translations for RTL languages at the moment.
Thanks @tsallabi you got it. That's perfect thanks.