You are not logged in.
Hi,
I would like to have an esperanto locale on my computer, but in /etc/locale.gen, there is nothing between these two lines :
#en_ZW ISO-8859-1
#es_AR.UTF-8 UTF-8
After googling, I found that the maintainer of glibc doesn't want at all add the support for esperanto (without giving any argument…), but that many distro, like Debian, Red Hat and Mandriva have already patched their glibc to add an esperanto locale.
Couldn't it be possible to also add the esperanto locale in Arch Linux' glibc?
I guess the answer is "not", because Arch Linux doesn't want to use patches which haven't be approved upstream, but wouldn't it be nice?
And if not, how can I patch myself my system in order to have the esperanto locale? I don't know how locales work, so I don't know what file should be added where, and what should be recompiled,
Thank you
Fractal
English is not my native language, so fell free to correct my mistakes.
Offline
I am the maintainer of glibc and my argument is that it is Arch policy not to include patches not included upstream (unless it fixes a build issue). That and I do not want to support such patches.
You can rebuild glibc using the relevant patch if you want. Check out the ABS wiki article.
Offline
I was not talking about you when I told "the maintainer of glibc", but about Ulrich Dreeper, the "upstream maintainer" of glibc, sorry if I have been misunderstood.
I completely understand your decision and will not try to argue against that.
So my question becomes : what are the files to change to add a locale? Do I really need to recompile glibc? Couldn't I just put the good file at the good place and run locale-gen?
BTW, there is a directory /usr/share/locale/eo on my computer, what is it for if there is no esperanto locale?
Thank you
Fractal
English is not my native language, so fell free to correct my mistakes.
Offline
There is no need to recompile glibc.
I did the following:
- copied the "eo" definition file from debian to /usr/share/i18n/locales
(if not readily available you may try to copy the definition from here)
- added the line "eo UTF-8" to my /etc/locale.gen
- called "locale-gen" to generate the locales which appeard to work (though I did not really check yet)
root:~# ls /usr/share/locale/eo
LC_MESSAGES
root:~# ls /usr/share/locale/eo/LC_MESSAGES/
atk10.mo gnome-mag.mo libgnomeui-2.0.mo
at-spi.mo gnome-mime-data.mo libgtop-2.0.mo
bash.mo gnome-vfs-2.0.mo libidn.mo
dialog.mo gnupg2.mo libwnck.mo
diffutils.mo gnupg.mo libxine1.mo
ekiga.mo grep.mo mutt.mo
findutils.mo gtk20.mo popt.mo
freeciv.mo gtk20-properties.mo sed.mo
frozen-bubble.mo gtkspell.mo shared-mime-info.mo
gedit.mo inkscape.mo stellarium.mo
gettext-runtime.mo iso_15924.mo stellarium-skycultures.mo
gimp20-libgimp.mo iso_3166_2.mo texinfo.mo
gimp20.mo iso_3166.mo wget.mo
gimp20-python.mo iso_639_3.mo xine-ui.mo
gimp20-script-fu.mo iso_639.mo xkeyboard-config.mo
gimp20-tips.mo libbonobo-2.0.mo yelp.mo
glib20.mo libgnome-2.0.mo
gnome-desktop-2.0.mo libgnomecanvas-2.0.mo
So now is there a glib20.mo entry and the "locale -a" command reports:
bp:~$ locale -a
C
de_DE@euro
de_DE.iso885915@euro
de_DE.utf8
en_US
en_US.iso88591
en_US.utf8
eo
eo.utf8
POSIX
Alas, I don't have the time to really check it out yet. Perhaps you could try and report back.
Last edited by bernarcher (2010-01-16 19:02:21)
To know or not to know ...
... the questions remain forever.
Offline
If this works out alright, I'd suggest writing a PKGBUILD and submitting it to AUR. I'm sure that a number of people would appreciate it.
Offline
It works
Thank you
I will try to make a PKGBUILD for that.
Fractal
English is not my native language, so fell free to correct my mistakes.
Offline
So, is there a AUR package for this patch?
Thank you for the answer
Offline
The situation has changed with upstream glibc maintenance - it will likely be possible to get the locale included upstream. (my decision has not changed about including it in the Arch package...)
Offline
So, is there a AUR package for this patch?
Thank you for the answer
Yes there is one, it’s called esperanto-locale.
English is not my native language, so fell free to correct my mistakes.
Offline