[i18n] Adapting gettext for Solaris

Chuck Hagenbuch chuck at horde.org
Sat Nov 15 04:37:46 UTC 2008


Quoting Laurent Blume <laurent at opensolaris.org>:

> I'm encountering a few issues with I18N using Horde/IMP on Solaris, and
> while they seem minor, I think I'd better discuss them before reporting
> more bugs.

Sure. Out of curiosity, are you working on opensolaris packages, or  
something else (if you can say)?

> First one to get rid of: Solaris 10's gettext is generally compatible
> with GNU's, but its behaviour seems to be slightly different to find the
> .mo.
>
> For example, if there is only the locale/fr_FR subdirectory, PHP linked
> against GNU gettext works as is, but with Solaris gettext, it doesn't.
> It needs a link with the encoding, fr_FR.UTF-8 -> fr_FR.
>
> Does that sound like a reasonable request, to add such links by default?

It would have to be part of an install script - symlinks can't got  
into CVS, for one, and we support platforms that don't have symlinks  
(windows). I don't think it would be unreasonable to provide a script  
that sets up links as opensolaris needs it, though - is this something  
you could create?

-chuck


More information about the i18n mailing list