[Mono-list] [semi off-topic] po files on .NET
Jorge Perez Burgos
jorge.perez at adaptia.net
Thu Jun 15 03:53:10 EDT 2006
On Wed, 2006-06-14 at 19:35 +0200, xavier de Blas wrote:
> Hello
>
> El dt 13 de 06 del 2006 a les 11:15 +0200, en/na Jorge Perez Burgos va
> escriure:
> > On Tue, 2006-06-13 at 10:55 +0200, xavier de Blas wrote:
> > > Hello all
> > >
> > > My application: Chronojump, works on GNU/Linux using Mono, and on
> > > Windows using .NET.
> > > Does anyone know how to use/convert the po or the mo files to be used
> > > on .NET ?
> >
> > Try "msgfmt --csharp-resources file.po" to convert po files to .net
> > resource files and create satellites assemblies with the resources files
> > for each language.
> >
>
> In my Ubuntu breezy says:
> $ msgfmt --csharp-resources es.po
> cannot open assembly /usr/lib/gettext/msgfmt.net.exe
>
>
> i searched this msgfmet.net.exe file, and i didn't found in ubuntu,
> http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=msgfmt&searchmode=searchfiles&case=insensitive&version=dapper&arch=i386
> but i found in debian unstable:
> http://packages.debian.org/cgi-bin/search_contents.pl?word=msgfmt&searchmode=searchword&case=insensitive&version=unstable&arch=i386
>
> can i make a link like?
> $ ln -s /usr/bin/gettext /usr/lib/gettext/msgfmt.net.exe
I don't think so.
>
>
> And, when done, how to call it from the program?
Create a satellite assembly with something like:
al /t:lib /embed:file.resource /culture:es program.resources.dll. It
must follow a specific nomenclature and must place it in a specific
directory. Search for "satellite assemblies"
>
> Do you know any application who managed to work?
Sorry, I know only applications that i18n with .mo files.
I forgot to mention, if you use glade files, follow :
http://www.mono-project.com/Internationalization
AFAIK, It's the only way to get i18n. Despite it use mono.unix it's
portable, because mono.posix.dll and mono.posixhelper.dll is in gtk#
windows or must be in the latest.
Greetings
>
>
> Thanks a lot
>
>
>
> > Greetings
> > >
> > > I'm posting this also on gnome-i18n List, sorry for the cross-posting.
> > >
> > > Thanks
> > >
> > > _______________________________________________
> > > Mono-list maillist - Mono-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> >
--
Jorge Pérez Burgos
Adaptia Soluciones Integrales
http://www.adaptia.es
jorge.perez at adaptia.es
More information about the Mono-list
mailing list