Arabic Issues

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Arabic Issues

M. Bashir Al-Noimi

Martin Hawlisch wrote:

Muhammad,

attached you will find a modified version of the pedigree view. Unzip that file and replace the file in the DataViews folder (preferably create a backup first).
For the other readers I attached a screenshot too ;-)

What I changed for RTL-locales is:

a) The lines connecting the boxes are mirrored.

b) The text inside the boxes is right aligned. Only remaining Problem here is when both, arabic and western texts are both used. So I thing the alignment of the text inside the box is not dependant on the locale gramps is running in, but depends on the text to be displayed.

If you are fine with the modified pedigree I'll commit this to version control for the patch be included in the next release of GRAMPS.

Thanks Martin,

Everything ok  ;-) ,  pedigree view become suitable for RTL languages.

-- 
Best Regards تحياتي
Muhammad Bashir Al-Noimi محمد بشير النعيمي

My Blog مدونتي
http://www.hali-sy.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Arabic Issues

bm-5
In reply to this post by M. Bashir Al-Noimi
Quoting "M. Bashir Al-Noimi" <[hidden email]>:

> I'm reading and writing Arabic so i know excatly where the problems
> can be found for example:
>
> The line 12428:
> example: \"%s\" or \"%s\"
>
> Translated it to without problem:
> ????: \"%s\" ?? \"%s\"
>

I have to say I don't understand. It looks like you translated LTR english to
LTR arabic ? And then GTK makes it RTL? Or did you translate it in arabic as
\"%s\" or \"%s\" : example (but then the order of values is switched so first
item in english is second item in arabic, wich might not be what the
programmer
wanted to achieve)

If you write arabic LTR, then why is on the screenshot you send earlier the
english text not reversed (so 'name :' appears to the right of the window, not
': eman' )?

Benny

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Arabic Issues

Duncan Lithgow-2
In reply to this post by bm-5
On Thu, 2007-05-03 at 15:02 +0200, [hidden email] wrote:
> For linux you need the 7zr utility:
> sudo apt-get install p7zip
It seems to plug itself into file roller and 'just works', here a gz
instead...



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel

gramps.po.gz (94K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Arabic Issues

M. Bashir Al-Noimi
In reply to this post by bm-5

[hidden email] wrote:

I have to say I don't understand. It looks like you translated LTR english to
LTR arabic ? And then GTK makes it RTL?
Benny,

This is exactly what i meant. I'm translating English to Arabic as LTR then GTK make a mirror for all GUI components, so this case doesn't need any more discussion, cuz there is no problem.

Or did you translate it in arabic as
\"%s\" or \"%s\" : example (but then the order of values is switched so first
item in english is second item in arabic, wich might not be what the programmer
wanted to achieve)

If you write arabic LTR, then why is on the screenshot you send earlier the
english text not reversed (so 'name :' appears to the right of the window, not
': eman' )?
cuz GTK reverse words not letters, for example:

GTK in LTR mode appears:
"Name :"

but in RTL mode it appears:
": Name"

So there is no problem in this case, GTK team found the solution from many years, and any RTL languages (Arabic, Persian, ...etc ) deal with it as last example



-- 
Best Regards تحياتي
Muhammad Bashir Al-Noimi محمد بشير النعيمي

My Blog مدونتي
http://www.hali-sy.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Reply | Threaded
Open this post in threaded view
|

Re: Arabic Issues

bm-5
Quoting "M. Bashir Al-Noimi" <[hidden email]>:

> GTK in LTR mode appears:
> *"Name :"*
>
> but in RTL mode it appears:
> *": Name"*

Ok, I get it. In the check_po tool we check on last character, so I
suppose for
arabic this just has to drop. Because if I understand correctly
Name.
will be still
Name. as the point is connected to the word?

whereas
The Title.
will be
Title. The

Must be very difficult to write like this to make the translation...

Benny

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
12