[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Little endian /usr/share/locale/* files in epiphany-browser-data



On Tue, Jan 20, 2009 at 11:02:46AM +0100, Loïc Minier wrote:
>  Perhaps we could have a tool converting .mo files from one endianess to
>  the other and ship the two versions in epiphany-browser-data,

Well, either msgfmt should be able to produce both or a special tool is
required. The later would be easier as this tool may fix the location at
the same time.

>                                                                then
>  patch gettext to loop up files in an endianess specific location first
>  e.g. gettext would look in /usr/share/locales/big-endian or
>  /little-endian first (depending on endianess), then in
>  /usr/share/locales.

It searches in /usr/share/locales/$locale/LC_MESSAGES. I would add
/usr/share/locales/$locale/LC_MESSAGES/{MSB,LSB} to the path.

>  I'd rather not implement anything specific in epiphany-browser, it
>  would be best to discuss this more widely and come to a generic
>  solution for all arch: all packages.

Yeah. And it needs the utils to do this.

Bastian

-- 
Schshschshchsch.
		-- The Gorn, "Arena", stardate 3046.2


Reply to: