Re: Cross compiling .mo files for another platform ?



2007-04-12 klockan 19:42 skrev Simos Xenitellis:
> 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.

You may also try the command-line gettext program to translate a single
(known) message for you:

  gettext -s the-text-domain 'A message known to exist in the file.'.

Of course you have to make sure your LC_* environment variables are setup
correctly.

  mvrgr, Wouter

-- 
:wq                                                       mail uws xs4all nl
                                                      web http://uwstopia.nl

you're a boy and i'm a girl :: protection                  -- massive attack

Attachment: signature.asc
Description: Digital signature



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