Hello.
i have gtkdialog 0.8.3 installed, i want to know if gtkdialog can display the text from right to left?? because this is very important in some languages like Arabic..?
thanks.
RTL in gtkdialog..
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
RTL in gtkdialog..
The surest and probably the quickest way to find out is to try. Let us know what you find out.
quoted from The beginning of Arabic translationBDX wrote:Puppy linux fact:Life is experiments......Download and try,Don't search and cry.
-
- Posts: 17
- Joined: Sun 14 Apr 2013, 10:34
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Let us hope forum member thunor will jump in.my console wrote:# gtkdialog --version
gtkdialog version 0.8.3 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor
Built with additional support for: Glade.
#
Or you jump to Gtkdialog Development
Post here any bugs you know of or feature requests.
- thunor
- Posts: 350
- Joined: Thu 14 Oct 2010, 15:24
- Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
- Contact:
Surely right-to-left is managed by GTK and the user's locale!?
I'm guessing that if your locale is right-to-left then the GTK libraries will render the text according to the locale in just the same way that "3.14" in Britain becomes "3,14" in Europe.
I have noticed that there are RTL versions of some stock icons so I'm pretty sure GTK manages it -- I can't find any properties to set.
Check your locale.
Regards,
Thunor
I'm guessing that if your locale is right-to-left then the GTK libraries will render the text according to the locale in just the same way that "3.14" in Britain becomes "3,14" in Europe.
I have noticed that there are RTL versions of some stock icons so I'm pretty sure GTK manages it -- I can't find any properties to set.
Check your locale.
Regards,
Thunor
That was pretty much why we created gtkdialog-splash.. for RTL support (and some other special UTF.8 chars that yaf-splash couldn't handle, sorry a bit of a history lesson).
See here
Iguleder may have more info, he's very knowledgeable.
HTH
See here
Iguleder may have more info, he's very knowledgeable.
HTH
Puppy Linux Blog - contact me for access
-
- Posts: 17
- Joined: Sun 14 Apr 2013, 10:34
Ok , you are right in saying that it is GTK is the responsible about RTL or LTR, the problem that i discovered is that if i changed my locale to English then it will display RTL, and if i changed it to Arabic it will display it LTR !! it is reversed here!
i tried to install Elementary OS to check from the problem, this bug is only in my system not in the other ones.
so do you know how to change GTK displaying settings even if i use an LTR or RTL text?
Thanks.
i tried to install Elementary OS to check from the problem, this bug is only in my system not in the other ones.
so do you know how to change GTK displaying settings even if i use an LTR or RTL text?
Thanks.
Changing the locale can screw things a bit .
The old chooselocale script uses localedef binary . That is a funny thing, that does
create a /usr/lib/locale/zu_ZU.iso885916 folder
but if there is an '@' then it becomes
/usr/lib/locale/wa_BE@euro.ISO-8859-15
for example .
Also make sure that
output is correct ,
Since /etc/profile is sourced by .bashrc , locale changes might mismatch in console and X apps, as long as X is not restarted .
The old chooselocale script uses localedef binary . That is a funny thing, that does
Code: Select all
localedef --force -v --no-archive -f ISO-8859-16 -i zu_ZA zu_ZA.ISO-8859-16 2>/root/zu_ZA.ISO-8859-16.force.errs
but if there is an '@' then it becomes
/usr/lib/locale/wa_BE@euro.ISO-8859-15
for example .
Also make sure that
Code: Select all
locale
locale -a
grep 'LANG' /etc/profile
Since /etc/profile is sourced by .bashrc , locale changes might mismatch in console and X apps, as long as X is not restarted .