[fpc-pascal] locale solution for unix systems
Henry Vermaak
henry.vermaak at gmail.com
Fri Mar 20 10:58:58 CET 2009
2009/3/20 Marco van de Voort <marcov at stack.nl>:
> In our previous episode, Henry Vermaak said:
>> >> I noticed that I had more direectories in /usr/lib/locale (echh with
>> >> it's compiles LC_xxx files) than I have /usr/share/118n/locales
>> >> directory.
>> >
>> > I've some in /usr/share/local and /usr/local/share/locale
>>
>> the ones in /usr/share/locale are .mo files for the different programs
>> (on debian, at least). i don't have any files under
>> /usr/local/share/locale/, but the directory structure is there.
>
> I should have mentioned that it is FreeBSD. /usr/local is probably the same,
> writable by ports. I have .mo files in /usr/share/locale/<code>/LC_MESSAGES
> but also other LC_ files with locale info are there.
>
> I don't have any of the other dirs mentioned.
where does localedef put the compiled files on bsd? localedef is part
of the single unix spec, so we should probably parse the compiled
files (like libc), since this will be _much_ faster.
henry
More information about the fpc-pascal
mailing list