David Woods
2014-03-18 21:28:24 UTC
Hi all,
I have a well-established wxPython application, one with several years of
full-time development behind it. I am currently trying to add an Arabic
translation to the program, but am running into serious problems. I've
consulted with the wxPython folks, and Robin suggested I bring my issues
here.
It's a bit hard to explain in text only and without being able to show
what's happening to the Arabic, so I've documented the issues on a web page
at http://www.transana.org/arabic/ with graphics and source code and i18n
files and detailed descriptions of the specific ways I'm running into
trouble.
(Please note that I'm not able to speak or read Arabic, but the problems
that require Arabic text are pretty evident even without that.)
I apologize that my examples are in wxPython rather than wxWidgets. I
tried to recreate my sample code, but I couldn't get past the i18n issues
in C.
The basic theme underlying the issues I'm seeing is that once you select
Arabic as your localization, all your strings start to get manipulated,
whether they should or not.
For example, I have a ComboBox with video sizes. Instead of "640 x 480",
the combo box shows "x 480 640". This on a string I don't WANT translated,
and that there isn't a prompt in the i18n files for.
Another example is that file names get re-arranged. And if, because of
directory structures or whatever, you have a file name that's mixed between
Arabic and a western language, some very strange things occur.
And if you want some TextCtrl in English and another one in Arabic (as a
translation, say), forget it. The English one gets badly messed up.
And don't try to Print or Print Preview the Arabic contents of a
wxRichTextCtrl.
But like I say, it's all clearer on the web page at
http://www.transana.org/arabic . I'd really appreciate any ideas you might
have about how to avoid the problems I'm running into.
Thanks in advance for your assistance,
David Woods, Ph.D.
Researcher, Transana Lead Developer
Wisconsin Center for Education Research
University of Wisconsin, Madison
http://www.transana.org
I have a well-established wxPython application, one with several years of
full-time development behind it. I am currently trying to add an Arabic
translation to the program, but am running into serious problems. I've
consulted with the wxPython folks, and Robin suggested I bring my issues
here.
It's a bit hard to explain in text only and without being able to show
what's happening to the Arabic, so I've documented the issues on a web page
at http://www.transana.org/arabic/ with graphics and source code and i18n
files and detailed descriptions of the specific ways I'm running into
trouble.
(Please note that I'm not able to speak or read Arabic, but the problems
that require Arabic text are pretty evident even without that.)
I apologize that my examples are in wxPython rather than wxWidgets. I
tried to recreate my sample code, but I couldn't get past the i18n issues
in C.
The basic theme underlying the issues I'm seeing is that once you select
Arabic as your localization, all your strings start to get manipulated,
whether they should or not.
For example, I have a ComboBox with video sizes. Instead of "640 x 480",
the combo box shows "x 480 640". This on a string I don't WANT translated,
and that there isn't a prompt in the i18n files for.
Another example is that file names get re-arranged. And if, because of
directory structures or whatever, you have a file name that's mixed between
Arabic and a western language, some very strange things occur.
And if you want some TextCtrl in English and another one in Arabic (as a
translation, say), forget it. The English one gets badly messed up.
And don't try to Print or Print Preview the Arabic contents of a
wxRichTextCtrl.
But like I say, it's all clearer on the web page at
http://www.transana.org/arabic . I'd really appreciate any ideas you might
have about how to avoid the problems I'm running into.
Thanks in advance for your assistance,
David Woods, Ph.D.
Researcher, Transana Lead Developer
Wisconsin Center for Education Research
University of Wisconsin, Madison
http://www.transana.org
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users