[vdr] Understanding .po-translation
Hi, I've some problems understanding the "new method" for translation. How do I have to start when programming a new plugin? Is there any kind of documentation? For me it looks like I have to check every single line which is given in the .po-files. #: hello.c:-->17<-- msgid "Hello" msgstr "Hallo" This means, if I add a single line at the top of the file, I have to change every single linenumber in every .po-file. Or is this only a unimportant comment? This... well... I hope I'm on the wrong way Would be great if someone could enlighten me :) Greetings Torsten ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Understanding .po-translation
On 08/28/2007 09:11 AM, Torsten Kunkel wrote: > Hi, > > I've some problems understanding the "new method" for translation. > How do I have to start when programming a new plugin? Is there any kind of > documentation? > > For me it looks like I have to check every single line which is given in > the .po-files. > #: hello.c:-->17<-- > msgid "Hello" > msgstr "Hallo" > > This means, if I add a single line at the top of the file, I have to > change every single linenumber in every .po-file. Or is this only a > unimportant comment? > This... well... I hope I'm on the wrong way Just do a make i18n in your plugin source directory. See also VDR/README.i18n. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Understanding .po-translation
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. [EMAIL PROTECTED]:/usr/src/vdr/vdr/PLUGINS/src/dummy$ ls COPYING dummy.c dummy.o HISTORY libvdr-dummy.so Makefile README [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]:/usr/src/vdr/vdr/PLUGINS/src/dummy$ ls COPYING dummy.c dummy.o HISTORY libvdr-dummy.so Makefile README I already tried different LC_ALL-settings. Torsten ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Understanding .po-translation
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. > > > [EMAIL PROTECTED]:/usr/src/vdr/vdr/PLUGINS/src/dummy$ ls > COPYING dummy.c dummy.o HISTORY libvdr-dummy.so Makefile README > > [EMAIL PROTECTED]:/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 > > [EMAIL PROTECTED]:/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@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Understanding .po-translation
Ah great! Thanks, that worked. Sorry for confusing, I had some translations, but all were done manually by copying an existing po-folder. After your post I tried to go through the steps of the README.i18n and moved the po-folder in order to start from the beginning. Maybe the "make po/plugin.pot"-target should create the po-directory? Thanks for support :) Torsten ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] vdr 1.5.9 + xineliboutput 1.0.0rc2
Hi! Does someone have a patch which enables xineliboutput 1.0.0rc2 to work with vdr 1.5.9 ? Thanks in advance, Gergely ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] vdr-1.5.9 plugin patches
On Montag 27 August 2007, Stone wrote: > On 8/27/07, Stone <[EMAIL PROTECTED]> wrote: > > > > It seems the new "Level" parameter in cOsd has caused xine and softdevice > > to fail in compile with vdr-1.5.9. Does anyone know how to fix these? > > > > This seems to build now with these changes. I didnt add backwards > compatibility for < 1.5.9 though. Please let me know if this is the correct > way. > > Best Regards. > Thanks, guarded by "#if VDRVERSNUM .." it's in softdevice cvs now. -- Stefan Lucke ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr