[kde-edu]: KHangMan and Arabic Script

Sabine Emmy Eller s.eller at voxhumanitatis.org
Sun Nov 29 21:37:35 CET 2009

Thank you Anne-Marie!

Take your time. I am just working on various files for small languages. The
reasoning is always the same: people need to see something that they did and
since we don't have automatic file creation for now I am creating some very
basic contents that are easy to transfer to many less resourced languages.

Cheers, Sabine

On Sun, Nov 29, 2009 at 9:20 PM, Anne-Marie Mahfouf <
annemarie.mahfouf at free.fr> wrote:

> On Sunday 29 November 2009 18:45:27 Sabine Emmy Eller wrote:
> > Hi, today I prepared some other KHangMan files: for Sorani Kurdish (with
> > Arabic Script) and hints are in English.
> >
> > The package can be downloaded here:
> > http://www.voxhumanitatis.org/content/khangmanckbeng-100
> >
> > I opened the file (animals) with KHangMan and the number of characters
> >  shown is indeed the number of characters the word has in Sorani Kurdish.
> >  Then I tried to enter some chars (with Keyboard setting on Persian and
> on
> >  Arabic): it was not possible to write any char. I then tried to add the
> >  chars by copying and pasting them: no way.
> >
> > Could someone else please try out? Maybe we have some people who deal
> with
> > Arabic Script on a daily basis in one of these two lists?
> >
> > Thank you!
> >
> > Sabine
> >
> In KHangMan code I use Regular Expressions to filter input so it cannot be
> possible to enter numbers for example.
> I think this prevents Right-to-Left languages input, I am not totally sure
> where the problem is but the line
> QRegExp regExp("[A-Za-
> z\\x0080-\\x00FF\\x0100-\\x017E\\x0370-\\x03FF\\x0400-\\x04FF]");
> in khangmanview.cpp is what I use.
> Maybe it's a bad idea to try to filter the user input (I am open to any
> suggestions). Maybe the above line just misses something. I don't know more
> at
> that point and I would need to refine this (by making tests probably).
> I'll follow this tomorrow, I just came back after a week-end away!
> Cheers,
> Anne-Marie
> PS: we need to test all KDE-Edu apps in RTL languages and write down
> problems!
> _______________________________________________
> kde-edu mailing list
> kde-edu at mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-edu/attachments/20091129/c7409b78/attachment.htm 

More information about the kde-edu mailing list