Re: Cross compiling .mo files for another platform ?

Ok i got the application compiled for ARM architecture !!
I copied the file to /usr/local/share/locale/hi_IN/LC_MESSAGES/
when i run the application i get following error.

Gdk-WARNING **: locale not supported by C library

Gtk-WARNING **: locale not supported by C library
Using the fallback 'C' locale....

Clearly it is not find the language installed ...
How do i resolve the issue ??

I do have gettext binary in /usr/bin but none of the other gettext-tools ....
Do i need any other files ?


On 4/12/07, Simos Xenitellis <simos lists googlemail com> wrote:
On Thu, 2007-04-12 at 08:11 +0530, rush ta wrote:
> hi...
> I have an app running with Hindi Locale using GTK-i18n ...
> Now i am cross compiling the application for another platform (ARM
> architecture)..
> My assumption is that the .mo file will need to be cross compiled for
> that platform too... CAN U CONFIRM ?
> Also how do i cross compile it ?
> When i cross my Glade application.. Its as easy as changing CC, GCC
> variable etc in the makefile .....

msgfmt is what compiles the .po into .mo files.
Unless there is an issue of byte order, I do not think you would need to
recompile the .mo files.
To test, get hold of "msgfmt" (package: gettext-tools) on ARM and
compile a sample .po file. Do the same on your desktop and compare the
two files.


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