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