On Sun, Mar 29, 2020 at 05:09:18PM +0200, Gunnar Hjalmarsson wrote:
> On 2020-03-28 06:44, Jwtiyar ali wrote:
> > The interface of ubuntu with new kurdish(sorani) language is LTR not
> > RTL, what we can do to make it RTL?
> 
> I don't know off hand.
> 
> According to this page it's RTL:
> https://translations.launchpad.net/+languages/ckb

FWIW, I'm reasonably sure that the only thing affected by Launchpad's
direction setting for a language is how various bits of the Launchpad
web UI itself are displayed.  The translations themselves are basically
just Unicode text (or packed versions of that) and it's up to clients to
display them appropriately.

> And when I try e.g. Arabic, RTL is enabled automatically.
> 
> Possibly it has something to do with GTK and the fact that the ckb_IQ locale
> has not yet been released upstream (the latest glibc release is 2.31 while
> the ckb_IQ locale will be widely spread in the Linux community only with
> glibc 2.32). So I'm thinking that GTK may not yet recognize ckb as a
> language where RTL applies.
> 
> Colin, do you possibly have an idea what more there is into it?

There's a string in GTK whose msgid is "default:LTR", and you're
supposed to set its msgstr to either "default:LTR" if your language is
left-to-right or "default:RTL" if your language is right-to-left.  Check
that that string is translated correctly for ckb.

Beyond that, I'm not really an expert on things at this level; I
wouldn't be surprised to find other similar bits and pieces that need to
be adjusted for RTL languages.

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

-- 
ubuntu-translators mailing list
ubuntu-translators@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-translators

Reply via email to