[Cs-dev] Localisation/Internationalisation
Date | 2008-01-27 15:22 |
From | jpff |
Subject | [Cs-dev] Localisation/Internationalisation |
Does anyone object if we remove the old getstring mechanism and instead only use the GNU gettext version? As far as i can tell the gettext system is much easier to maintain and we already have two complete translations (French and Columbian-Spanish) and bits of other languages. ==John ffitch ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-28 19:10 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
The getstring mechanism is not really being used on OS 9 either to my knowledge. But, I wonder if it will still be possible to compile without gettext (i.e. will it require setting a #define as it does now) ? I have not tried gettext yet, or even looked for where I can find it ... On a related note, I modified a large number of messages in the source code while making improvements to the error reporting, particularly in the score parser. I assume that something will need to be done to bring the new translations into line with the changes, but I do not know what. I will provide a list of the changed messages later today. Anthony Kozar mailing-lists-1001 AT anthonykozar DOT net http://anthonykozar.net/ jpff wrote on 1/27/08 10:22 AM: > Does anyone object if we remove the old getstring mechanism and > instead only use the GNU gettext version? As far as i can tell the > gettext system is much easier to maintain and we already have two > complete translations (French and Columbian-Spanish) and bits of other > languages. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-29 06:41 |
From | jpff |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
If you set the Str macro to do nothing then it will not call getstring. I suspect we need to provide some optional compilation in Top/getstring.c Will look at it again. ==John ffitch ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-29 21:03 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
I think that you added this test to getstring.c: #ifdef GNU_GETTEXT I was just wondering if it would remain or not? Anthony jpff wrote on 1/29/08 1:41 AM: > If you set the Str macro to do nothing then it will not call > getstring. I suspect we need to provide some optional compilation in > Top/getstring.c > Will look at it again. > ==John ffitch ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-29 21:09 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
Anthony Kozar wrote on 1/28/08 2:10 PM: > On a related note, I modified a large number of messages in the source code > while making improvements to the error reporting, particularly in the score > parser. I assume that something will need to be done to bring the new > translations into line with the changes, but I do not know what. I will > provide a list of the changed messages later today. Here are the messages that I added/changed/removed since version 5.07. In some cases, the number of formatting specifiers (%d, etc) in a string has changed, so it might be rather important to rectify these differences in the translations. new strings: "no value for --csd-line-nums" "Syntax check completed.\n" "More than %d arguments in |
Date | 2008-01-29 21:17 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
P.S. If someone can make some suggestions to me on how to change the .po files, I could do this ... (like where to add new strings? and should their translations just be "" initially? and when replacing a string with a significantly different one, should I try to keep the old translation or replace that with "" too? ...) Anthony Kozar wrote on 1/29/08 4:09 PM: > Here are the messages that I added/changed/removed since version 5.07. In > some cases, the number of formatting specifiers (%d, etc) in a string has > changed, so it might be rather important to rectify these differences in the > translations. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-30 08:10 |
From | jpff |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
>>>>> "Anthony" == Anthony Kozar |
Date | 2008-01-30 09:25 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
Thanks for the info -- I will see what I can do. (I don't have the gettext tools, so I will have to try the manual route ...) Anthony ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-30 10:25 |
From | root |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
I have updated the strings using xgettext and msgmerge And I kept the script ==John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2008-01-30 17:07 |
From | Victor.Lazzarini@nuim.ie |
Subject | [Cs-dev] HRTF datafiles and CVS, help required |
Attachments | None |
Date | 2008-01-30 17:21 |
From | Andres Cabrera |
Subject | Re: [Cs-dev] HRTF datafiles and CVS, help required |
Yes, you need a special option: http://www.network-theory.co.uk/docs/cvsmanual/Binaryhowto.html Cheers, Andrés El mié, 30-01-2008 a las 17:07 +0000, Victor.Lazzarini@nuim.ie escribió: > For the new hrtf opcodes I have a set of spectral > datafiles, which are required by them. I have tried > to commit these to CVS in samples/ (they are > not too big), so that they can easily be included > in all distributions. But I can't seem to get it right, > as they somehow get corrupted. Is there a special > CVS option for binary file upload (I see a .sf2 file > up there and wonder how it got there). > > Victor > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/csound-devel |
Date | 2008-01-30 19:55 |
From | Anthony Kozar |
Subject | Re: [Cs-dev] Localisation/Internationalisation |
Thanks very much -- hope that it was not too much trouble. I will investigate getting those tools installed on my OS X machine for the next time that I need to update messages as it clearly will make the process easier. (If your script would be useful to anyone else working on Csound, maybe it should go in CVS?) Thanks again. Anthony root wrote on 1/30/08 5:25 AM: > I have updated the strings using xgettext and msgmerge > And I kept the script > ==John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |