Re: Understanding .po-translation

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

 



On 08/28/2007 09:48 AM, Torsten Kunkel wrote:
> Hi Klaus,
> 
> first thanks for your lightning like reply, but I'm afraid it doesn't help
> me.
> 
> After the newplugin-script there is no po-folder, no pot/po/mo-file.
> If I do what you wrote (README.i18n), then it gives this:
> 
>     - Change into the source directory.
>     - Do a 'make i18n' to have the current *.pot file created.
> 
> 
> torsten@torsten-entw:/usr/src/vdr/vdr/PLUGINS/src/dummy$ ls
> COPYING  dummy.c  dummy.o  HISTORY  libvdr-dummy.so  Makefile  README
> 
> torsten@torsten-entw:/usr/src/vdr/vdr/PLUGINS/src/dummy$ make i18n
> for i in ; do\
>             mkdir -p ../../../locale/$i/LC_MESSAGES;\
>             cp po/$i.mo ../../../locale/$i/LC_MESSAGES/vdr-dummy.mo;\
>             done
> 
> torsten@torsten-entw:/usr/src/vdr/vdr/PLUGINS/src/dummy$ ls
> COPYING  dummy.c  dummy.o  HISTORY  libvdr-dummy.so  Makefile  README

Ok, this was assuming you already had some *.po files.

Try this:

  md po
  make po/dummy.pot
  cd po
  msginit

I'll add this to README.i18n.

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux