[fpc-devel] Locale solution for Linux (and maybe *nix)
Michael Van Canneyt
michael at freepascal.org
Mon Aug 4 20:43:25 CEST 2008
On Mon, 4 Aug 2008, Vladimir Zhirov wrote:
> Graeme Geldenhuys wrote:
> > Today I found the following on my Linux system which could possibly
> > solve this issues. Could other Linux distros and Unix users (*BSD,
> > etc) confirm if they also have the following directory?
> > Under Ubuntu 7.10 I have the follow directory: /usr/share/i18n/locales/
> I don't have such directory on my ALT Linux Desktop 4.0.
> This is the latest desktop release of Russian KDE-based Linux distribution
> (http://www.altlinux.ru/). It is not so widespread as Ubuntu, but is popular
> in Russia, especially in education.
I have checked altlinux.ru, and it is rpm-based. The glibc-i18ndata is definitely
in the package list, probably you simply don't have it installed. I downloaded the
package file and it has the same files as on SuSE.
You can check with the file
rpm -q glibc-i18ndata
and if rpm says it is installed, then you can do a
rpm -q -l glibc-i18ndata
To Graeme: I think you can go ahead if you want to implement such routines.
Make an interface that accepts a filename, and by default the unit will look
in some standard locations.
More information about the fpc-devel