Edit page TrueHeroes
[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 AI: I'm going to make some tests and report back.
20
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  * AI: Of course we don't want to upgrade to 2.6 at this time, so I'm asking the glibc hackers for insight.
40
41 == Fonts ==
42
43 A good candidate that provides high-quality Ethiopian glyphs is the
44 Abyssinica-SIL.ttf, which is not packaged in Fedora.
45
46 I grabbed the TTF file from the Debian package ttf-sil-abyssinica-1.0
47 and temporarily installed it in /home/olpc/.fonts/
48
49 I'm not sure the font license is acceptable for Fedora or even us.
50 Someone with better understanding should check.
51
52  * AI: I could easily create an RPM once we decide this is the font we want to use.
53
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  * AI: I'll send a new olpc patch upstream to resync
71
72  * AI: I'll update our RPM from a CVS snapshot of xkeyboard-config
73
74
75 == libX11 ==
76
77 Sergey's Compose file for am_ET is already upstream, and it
78 is required for XIM-baded composition to work in all applications.
79
80 I prepared an updated RPM and staged in OlpcBernieRepo.
81
82 Even with this new RPM installed, XIM does not appear to work in
83 Abiword and other utilities I tried.
84
85 Furthermore, the Compose works by pressing a vowel, followed
86 by a consonant, which seems to be a less convenient way
87 of producing glyphs (see below)
88
89  * AI: Sergey said he'll check if CONSONANT+VOWEL is possible with XIM.
90
91
92 == GTK IM ==
93
94 GTK contains an Amharic input method which is currently outdated.
95 I'm in contact with the author, Daniel Yacob, who'll soon port
96 his latest patch to the current version of GTK.
97 This probably means we'll have to fork the gtk2 package too.
98 I'm unable to tell how important these changes would be for users.
99
100 Lidet Tilahun, a professor of Ethiopian at Harvard, tried typing
101 on the XO with this IM and confirmed that this would be the
102 preferred method.  It's basically CONSONANT+VOWEL, with a way
103 to switch in a CONSONANT-only mode.
104
105 Additionally, it seems this IM requires the "us" keyboard.
106 I couldn't get it to work with the "et" keyboard loaded.
107 Daniel says it shouldn't happen.
108
109  * AI: waiting for a patch.  Progress is being tracked here:
110  http://bugzilla.gnome.org/show_bug.cgi?id=101360
111
112 == Write.activity ==
113
114 We couldn't get glyph composing to give correct visual
115 feedback on the XO.
116
117 On F7, Abiword works fine, but it's an old version that still
118 used Xft directly.  The version we use now switched to pango
119 and apparently regressed on this.
120
121 I asked uwog about it and he suggested me to file a bug
122 upstream.  Without this fix, the IM is still usable, but
123 very unfriendly.
124
125  * AI: I will file the bug upstream.
126
127
128 == Other Gtk applications ==
129
130 I tried installing gedit on an XO, and I couldn't get
131 neither the Amharic, nor the XIM input methods to work
132 with it.
133
134 Works fine on F7.
135
136  * AI: Needs investigation.
137
138
139 == Misc issues ==
140
141 System stability appears to be somewhat compromised when all
142 the above changes are enabled.
143
144 I've seen activities crashing randomly and funny rendering
145 problems.
146
147  * AI: Before we even start filing bugs on this, I'd prefer to
148  see some of the above components land in the builds, otherwise
149  we might be chasing bugs that are even harder to reproduce.