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