Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Anssi Hannula
Udo Richter wrote: Klaus Schmidinger wrote: VDR's locale files are named like de_DE (language_COUNTRY). There's no @euro or other stuff added to the names. VDR needs to know which files it actually has at its disposal, in order to present to the user a list of all available languages. It

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 10:46, Anssi Hannula wrote: Udo Richter wrote: Klaus Schmidinger wrote: VDR's locale files are named like de_DE (language_COUNTRY). There's no @euro or other stuff added to the names. VDR needs to know which files it actually has at its disposal, in order to present to the user a

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Anssi Hannula
Klaus Schmidinger wrote: On 08/19/07 10:46, Anssi Hannula wrote: Udo Richter wrote: Klaus Schmidinger wrote: VDR's locale files are named like de_DE (language_COUNTRY). There's no @euro or other stuff added to the names. VDR needs to know which files it actually has at its disposal, in order

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Luca Olivetti
En/na Anssi Hannula ha escrit: Note that KDE does provide the user a list of languages, but it does not use gettext, but instead uses its own glibc-derived implementation for translation, with file format being the same. [...] Isn't there perhaps a way to tell gettext *explicitly* which

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Anssi Hannula
Luca Olivetti wrote: En/na Anssi Hannula ha escrit: Note that KDE does provide the user a list of languages, but it does not use gettext, but instead uses its own glibc-derived implementation for translation, with file format being the same. [...] Isn't there perhaps a way to tell

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Anssi Hannula
Anssi Hannula wrote: Luca Olivetti wrote: En/na Anssi Hannula ha escrit: Note that KDE does provide the user a list of languages, but it does not use gettext, but instead uses its own glibc-derived implementation for translation, with file format being the same. [...] Isn't there perhaps

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 12:43, Anssi Hannula wrote: Anssi Hannula wrote: Luca Olivetti wrote: En/na Anssi Hannula ha escrit: Note that KDE does provide the user a list of languages, but it does not use gettext, but instead uses its own glibc-derived implementation for translation, with file format

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Luca Olivetti
En/na Klaus Schmidinger ha escrit: It seems that it *does* work, i.e. LANGUAGE=de, LANGUAGE=fr, LANGUAGE=fi will work even if there is no such locale at all. I copied a .mo file into /usr/share/locale/testtest/LC_MESSAGES/, which certainly is not a valid locale, and using

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 14:57, Klaus Schmidinger wrote: On 08/19/07 12:43, Anssi Hannula wrote: Anssi Hannula wrote: Luca Olivetti wrote: En/na Anssi Hannula ha escrit: Note that KDE does provide the user a list of languages, but it does not use gettext, but instead uses its own glibc-derived

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 15:40, Luca Olivetti wrote: En/na Klaus Schmidinger ha escrit: It seems that it *does* work, i.e. LANGUAGE=de, LANGUAGE=fr, LANGUAGE=fi will work even if there is no such locale at all. I copied a .mo file into /usr/share/locale/testtest/LC_MESSAGES/, which certainly is not a

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Ludwig Nussel
Klaus Schmidinger wrote: On 08/19/07 12:43, Anssi Hannula wrote: Anssi Hannula wrote: It seems that it *does* work, i.e. LANGUAGE=de, LANGUAGE=fr, LANGUAGE=fi will work even if there is no such locale at all. I copied a .mo file into /usr/share/locale/testtest/LC_MESSAGES/, which

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 15:45, Ludwig Nussel wrote: Klaus Schmidinger wrote: On 08/19/07 12:43, Anssi Hannula wrote: Anssi Hannula wrote: It seems that it *does* work, i.e. LANGUAGE=de, LANGUAGE=fr, LANGUAGE=fi will work even if there is no such locale at all. I copied a .mo file into

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Luca Olivetti
En/na Klaus Schmidinger ha escrit: Please test the attached patch. It scans the LOCDIR directory as before, but checks for the existence of a vdr.mo file and then uses setenv() instead of setlocale(). This should work for VDR itself. For plugins I need to do more work. But first let's see

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Klaus Schmidinger
On 08/19/07 16:23, Luca Olivetti wrote: En/na Klaus Schmidinger ha escrit: Please test the attached patch. It scans the LOCDIR directory as before, but checks for the existence of a vdr.mo file and then uses setenv() instead of setlocale(). This should work for VDR itself. For plugins I

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-19 Thread Luca Olivetti
En/na Klaus Schmidinger ha escrit: Please try version 1.5.8, which I have just uploaded. yes, 1.5.8 works. Bye -- Luca ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Anssi Hannula
Klaus Schmidinger wrote: On 08/17/07 15:48, Anssi Hannula wrote: Klaus Schmidinger wrote: - Internationalization is now done with 'gettext' (following a suggestion by Lucian Muresan). Plugin authors may want to use the Perl script 'i18n-to-gettext.pl' to convert their internationalized

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Klaus Schmidinger
On 08/18/07 10:32, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/17/07 15:48, Anssi Hannula wrote: ... show up as deu,ger etc, and do not work; text shows up in English despite selecting them. Maybe the locales that the user does not have installed on their system should be hidden?

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Klaus Schmidinger
On 08/18/07 11:38, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/18/07 10:32, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/17/07 15:48, Anssi Hannula wrote: ... show up as deu,ger etc, and do not work; text shows up in English despite selecting them. Maybe the locales that

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Anssi Hannula
Klaus Schmidinger wrote: On 08/18/07 11:38, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/18/07 10:32, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/17/07 15:48, Anssi Hannula wrote: ... show up as deu,ger etc, and do not work; text shows up in English despite selecting them.

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Udo Richter
Klaus Schmidinger wrote: - Internationalization is now done with 'gettext' (following a suggestion by Lucian Muresan). To add another report, I had some trouble to pick anything but English at first. After some fiddling and trying the various hints, here's what was missing for me:

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Klaus Schmidinger
On 08/18/07 12:28, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/18/07 11:38, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/18/07 10:32, Anssi Hannula wrote: Klaus Schmidinger wrote: On 08/17/07 15:48, Anssi Hannula wrote: ... show up as deu,ger etc, and do not work; text shows

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Klaus Schmidinger
On 08/18/07 12:29, Udo Richter wrote: Klaus Schmidinger wrote: - Internationalization is now done with 'gettext' (following a suggestion by Lucian Muresan). To add another report, I had some trouble to pick anything but English at first. After some fiddling and trying the various

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Udo Richter
Klaus Schmidinger wrote: On 08/18/07 12:29, Udo Richter wrote: To add another report, I had some trouble to pick anything but English at first. After some fiddling and trying the various hints, here's what was missing for me: [...] ... and now it works. Is there a way to make VDR less

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Anssi Hannula
Udo Richter wrote: Klaus Schmidinger wrote: On 08/18/07 12:29, Udo Richter wrote: To add another report, I had some trouble to pick anything but English at first. After some fiddling and trying the various hints, here's what was missing for me: [...] ... and now it works. Is there a

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-18 Thread Anssi Hannula
Klaus Schmidinger wrote: On 08/18/07 21:46, Anssi Hannula wrote: Udo Richter wrote: Klaus Schmidinger wrote: On 08/18/07 12:29, Udo Richter wrote: To add another report, I had some trouble to pick anything but English at first. After some fiddling and trying the various hints, here's what

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-17 Thread Anssi Hannula
Klaus Schmidinger wrote: - Internationalization is now done with 'gettext' (following a suggestion by Lucian Muresan). Plugin authors may want to use the Perl script 'i18n-to-gettext.pl' to convert their internationalized texts to the gettext format (see the instructions inside that

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-17 Thread Klaus Schmidinger
On 08/17/07 15:48, Anssi Hannula wrote: Klaus Schmidinger wrote: - Internationalization is now done with 'gettext' (following a suggestion by Lucian Muresan). Plugin authors may want to use the Perl script 'i18n-to-gettext.pl' to convert their internationalized texts to the gettext

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-13 Thread Darren Salt
I demand that Klaus Schmidinger may or may not have written... [snip] (I wonder when one of our neighbo(u)rs will write a colo(u)rful en_UK version ;-). Somehow, I doubt that most Ukrainians would want that. ;-) -- | Darren Salt| linux or ds at | nr. Ashington, | Toon | RISC

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-13 Thread Klaus Schmidinger
On 08/13/07 17:06, Darren Salt wrote: I demand that Klaus Schmidinger may or may not have written... [snip] (I wonder when one of our neighbo(u)rs will write a colo(u)rful en_UK version ;-). Somehow, I doubt that most Ukrainians would want that. ;-) Ooops - I meant en_GB, of course ;-)

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread Stone
On 8/12/07, Klaus Schmidinger [EMAIL PROTECTED] wrote: VDR developer version 1.5.7 is now available at ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.5.7.tar.bz2 A 'diff' against the previous developer version is available at ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.5.6-1.5.7.diff

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread VDR User
On 8/12/07, Stone [EMAIL PROTECTED] wrote: Thanks Klaus. Since i18n.c has changed in this new version of vdr, a few common patches I have been using have broke. 1) jumpplay-0.9.diff 2) liemikuutio-1.13.diff 3) timercmd-0.1.diff (comes from epgsearch) Can someone explain to me the proper

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread Klaus Schmidinger
On 08/12/07 22:01, Luca Olivetti wrote: En/na Luca Olivetti ha escrit: it appears that, even if the setlocale call succeeds, gettext doesn't find the correct translation for LanguageCode (it always returns esl, very strange since ca_ES is the first one tried). If I leave just the ca_ES

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread Klaus Schmidinger
On 08/12/07 18:47, Jaroslaw Swierczynski wrote: 2007/8/12, VDR User [EMAIL PROTECTED]: What I'm wondering is what real benefit this method has over the old one? Just seems like adding more steps and in the end its just the same result/no benefit. I'm sure someone will correct me on that

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread Luca Olivetti
En/na Klaus Schmidinger ha escrit: On 08/12/07 22:01, Luca Olivetti wrote: En/na Luca Olivetti ha escrit: it appears that, even if the setlocale call succeeds, gettext doesn't find the correct translation for LanguageCode (it always returns esl, very strange since ca_ES is the first one

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread Klaus Schmidinger
On 08/12/07 22:35, Luca Olivetti wrote: En/na Klaus Schmidinger ha escrit: On 08/12/07 22:01, Luca Olivetti wrote: En/na Luca Olivetti ha escrit: it appears that, even if the setlocale call succeeds, gettext doesn't find the correct translation for LanguageCode (it always returns esl,

Re: [vdr] [ANNOUNCE] VDR developer version 1.5.7

2007-08-12 Thread Luca Olivetti
En/na Klaus Schmidinger ha escrit: I'm just unsetting LANGUAGE before launching vdr. Maybe someone else will be bitten by this problem and he'll have to unset LANGUAGE too. Wouldn't that be problem for other applications, too? Could VDR do something to make this work better? I don't know,