gsoc-alphabetical_order

Fòram na Gàidhlig fios at foramnagaidhlig.net
Mon Apr 3 10:19:34 UTC 2017


I had a quick look at the code, you have hard-coded the alphabet. This
means that the alphabetical sorting will only work for English -
languages that are using diacritics like é or ü will have a problem, as
well as language that use non-Latin alphabets. Unfortunately, Unicode
code points will not do this job for you either.

Alphabetical order is also language-dependent, so, unless there is a
library that you can use, the best way out will be to make the letters
and letter order translateable and leave it up to the localizers to
define the order for you.

Another issue to keep in mind is that while ideographic languages like
Chinese do have a system that they use to sort them, there are too many
characters to list all of them, so you might want to skip ordering there.

Furthermore, some languages need to teach multigraphs as well (e.g. like
"sh" makes 1 sound in English, but uses 2 letters - this is very
important for some languages).



Sgrìobh NITYANAND KUMAR na leanas 01/04/2017 aig 17:22:
> Hello everyone,
> 
> I have gone through jumbled_words activity, and I suggest instead of
> random characters, can we use meaningful words with a pic (to make
> more attractive) and then rearrange according to alphabetical order.
> This activity has been started in
> https://cgit.kde.org/gcompris.git/log/?h=gsoc-alphabetical_order
> 
> Image of current version (gsoc-alphabetical_order branch):
> https://imagebin.ca/v/3HZrO0846Or2
> 
> I am providing a sample pic: https://imagebin.ca/v/3HZo4sEtWy0b
> Is it fine ? Any suggestions..
> I am going to do this as a Gsoc task this year.
> 
> Thanks in advance
> 
> Regards
> Nityanand Kumar
> nityanand32 at gmail.com
> 

-- 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (MingW32)

mQINBFNbSyEBEADh+uhohycnZgPPnyMs5pZQG6pKyLzFZoIKbVjY31ZoPZ2SdltB
elrwn6kFZkQiDx4K6nkZFHsPh8RMvWoFWg1rGiWkdsZessLFawraC8YEZDwtlaU5
SFXbE4+QnMfbPhe9tmC8Nbhec3dfV9zcXAhxc+zkIUsKFhSkpJ2Syvo9FCA/5adW
UZgWWKFwlSg4+/lrhJ6QJnldPlXfWcuEasKF7fjdafDIdS5hdKu8Lv+CiPQWvgsi
J2BDlZLzEZf3PD+NMujUbJa0nilD2lt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