Edit page SeptemberBlog
[wiki.git] / EthiopianLocale
1 See also:
2
3  * http://wiki.laptop.org/go/Ethiopian_Setup
4  * http://wiki.laptop.org/go/Amharic_language
5
6 == sysconfig ==
7
8 To enable the Amharic Ethiopian locale, the /etc/sysconfig/i18n
9 file needs to contain:
10
11 {{{
12 LANG=am_ET.UTF-8
13 }}}
14
15 To alleviate boot overhead with UTF-8 locales, we'd like to
16 move this setting to a later point in the boot process.
17 olpc-dm would be a good candidate.
18
19  * TODO: I'm going to make some tests and report back.
20  * DONE: LANG=C in /etc/sysconfig/i18n, LANG=am_ET.UTF-8 later on
21
22 == glibc ==
23
24 F7 glibc does not even boot when am_ET is enabled, but it's not
25 obvious why.  Suffice to say that the output of ls comes out
26 sorted by strlen() when am_ET is enabled!!!
27
28 glibc-2.6 from F8 is ok, but I can't find an obvious patch to
29 backport.  The only recent addition to the am_ET locale has
30 been to discard accents in string comparisons.
31
32 Moreover, the glibc-2.6 rpm post-install scriptlet fails silently
33 on jffs2, corrupting the locale archive.   It happens because
34 the build-locale-archive tool tries to use a shared writable
35 file map which is not supported.
36
37 The glibc-2.6 rpm is available from OlpcBernieRepo.
38
39  * TODO: Of course we don't want to upgrade to 2.6 at this time, so I'm asking the glibc hackers for insight.
40  * FIXME: http://sources.redhat.com/bugzilla/show_bug.cgi?id=5033
41
42 == Fonts ==
43
44 A good candidate that provides high-quality Ethiopian glyphs is the
45 Abyssinica-SIL.ttf, which is not packaged in Fedora.
46
47 I grabbed the TTF file from the Debian package ttf-sil-abyssinica-1.0
48 and temporarily installed it in /home/olpc/.fonts/
49
50 I'm not sure the font license is acceptable for Fedora or even us.
51 Someone with better understanding should check.
52
53  * DONE: abyssinica-fonts RPM package is in Fedora, and tagged for OLPC-2.
54
55 == ET keyboard layout ==
56
57 The updated xkeyboard-config RPM shipped with latest builds
58 already contains the "et" keyboard layout.
59
60 This can set in xorg.conf, or loaded for testing like so:
61
62 {{{
63 setxkbmap -v -model olpc et
64 }}}
65
66 The "=" key is not working in current builds, but Sergey
67 has already fixed it upstream and we'll pick it up with
68 the next update.
69
70  * TODO: I'll send a new olpc patch upstream to resync (DONE)
71  * TODO: I'll update our RPM from a CVS snapshot of xkeyboard-config
72  * FIXME: https://bugs.freedesktop.org/show_bug.cgi?id=12202
73
74 == libX11 ==
75
76 Sergey's Compose file for am_ET is already upstream, and it
77 is required for XIM-baded composition to work in all applications.
78
79 I prepared an updated RPM and staged in OlpcBernieRepo.
80
81 Even with this new RPM installed, XIM does not appear to work in
82 Abiword and other utilities I tried.
83
84 Furthermore, the Compose works by pressing a vowel, followed
85 by a consonant, which seems to be a less convenient way
86 of producing glyphs (see below)
87
88  * TODO: Sergey said he'll check if CONSONANT+VOWEL is possible with XIM.
89
90
91 == GTK IM ==
92
93 GTK contains an Amharic input method which is currently outdated.
94 I'm in contact with the author, Daniel Yacob, who'll soon port
95 his latest patch to the current version of GTK.
96 This probably means we'll have to fork the gtk2 package too.
97 I'm unable to tell how important these changes would be for users.
98
99 Lidet Tilahun, a professor of Ethiopian at Harvard, tried typing
100 on the XO with this IM and confirmed that this would be the
101 preferred method.  It's basically CONSONANT+VOWEL, with a way
102 to switch in a CONSONANT-only mode.
103
104 Additionally, it seems this IM requires the "us" keyboard.
105 I couldn't get it to work with the "et" keyboard loaded.
106 Daniel says it shouldn't happen.
107
108  * TODO: waiting for a patch.  Progress is being tracked here:
109  http://bugzilla.gnome.org/show_bug.cgi?id=101360
110
111 == Write.activity ==
112
113 We couldn't get glyph composing to give correct visual
114 feedback on the XO.
115
116 On F7, Abiword works fine, but it's an old version that still
117 used Xft directly.  The version we use now switched to pango
118 and apparently regressed on this.
119
120 I asked uwog about it and he suggested me to file a bug
121 upstream.  Without this fix, the IM is still usable, but
122 very unfriendly.
123
124  * TODO: I will file the bug upstream.
125  * FIXME: http://bugzilla.abisource.com/show_bug.cgi?id=11190
126
127
128 == Other Gtk applications ==
129
130 I tried installing gedit on an XO, and I couldn't get neither the
131 Amharic, nor the XIM input methods to work with it.
132
133 Works fine on F7.
134
135  * TODO: Needs investigation.
136
137
138 == Misc issues ==
139
140 System stability appears to be somewhat compromised when all
141 the above changes are enabled.
142
143 I've seen activities crashing randomly and funny rendering
144 problems.
145
146  * TODO: Before we even start filing bugs on this, I'd prefer to
147  see some of the above components land in the builds, otherwise
148  we might be chasing bugs that are even harder to reproduce.