Csound Csound-dev Csound-tekno Search About

[Cs-dev] Language translations: .xmg

Date2006-08-25 13:53
FromSimon Schampijer
Subject[Cs-dev] Language translations: .xmg
Hi,
as far as I understood is the purpose of the .xmg files for translations of csound's output (please correct me if I am wrong). Are there more translations (the .xmg files?) than just English? How do you create/edit those files? A short googeling did not lead to any good results.

Thanks,
Simon


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-08-25 14:04
From"Steven Yi"
SubjectRe: [Cs-dev] Language translations: .xmg
AttachmentsNone  

Date2006-08-25 16:48
FromSimon Schampijer
SubjectRe: [Cs-dev] Language translations: .xmg
Steven,
thanks for the quick reply.
I found all the files you were mentioning but could not yet figure out 
how to load a specific language when running csound. I copied the french 
output over all_strings and run:
./makedb strings/all_strings french and a file french.xmg got creaed. 
But how do I load that? Should it be compiled into csound - replace each 
string or is it something that should happen each time csound gets invoked.
Still a bit confused how it works.
Cheers,
Simon




Steven Yi wrote:
> Hi Simon,
>
> The XMG files are binary and generated using makedb, the source of
> which is in the strings directory (as well as the localization files).
>  There seems to be a partially translated french-strings file, and
> all_strings file in American English, and an english-strings file
> using British English.
>
> Beyond that, I'm not sure of the details of how to select what
> language file to use when running csound (or even if that is linked in
> when compilng).  I imagine you could take all_strings and make a copy
> and translate and there'd be a way to select that.
>
> Hope that helps!
> steven
>
>
> On 8/25/06, Simon Schampijer  wrote:
>   
>> Hi,
>> as far as I understood is the purpose of the .xmg files for translations of csound's output (please correct me if I am wrong). Are there more translations (the .xmg files?) than just English? How do you create/edit those files? A short googeling did not lead to any good results.
>>
>> Thanks,
>> Simon
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>     
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-08-25 16:54
From"Steven Yi"
SubjectRe: [Cs-dev] Language translations: .xmg
AttachmentsNone  

Date2006-08-26 22:18
FromSimon Schampijer
SubjectRe: [Cs-dev] Language translations: .xmg
Steven,

thanks for the information.
I set the environment variables and tried to load the the French 
localization - which had an output saying that the Gregorian has been 
loaded (It is in the list in Top/getstring.c after the French one). The 
output of the messages was not really french - but with some **** 
characters. Did not start to dig deeper than.
But as you were saying - it does not seem to be in use currently. I was 
curious to see if in general it is supported in Csound because there 
might be an interest of the One Laptop per Child project to have 
localized output.

Cheers,
Simon




Steven Yi wrote:
> Hi Simon,
>
> I just found this in the manual:
>
> -j FILE
>
>     Currently disabled. Use database FILE for messages to print to
> console during performance. In Csound 5.00 and later versions, the
> localization of messages is controlled by two environment variables,
> both of which are optional. CSSTRNGS points to a directory containing
> .xmg files, and CS_LANG selects a language.
>
>
> I remember there being talks here about removing the XMG feature
> altogether so I guess that it's currently not in use.
>
> steven
>
>
> On 8/25/06, Simon Schampijer  wrote:
>   
>> Steven,
>> thanks for the quick reply.
>> I found all the files you were mentioning but could not yet figure out
>> how to load a specific language when running csound. I copied the french
>> output over all_strings and run:
>> ./makedb strings/all_strings french and a file french.xmg got creaed.
>> But how do I load that? Should it be compiled into csound - replace each
>> string or is it something that should happen each time csound gets invoked.
>> Still a bit confused how it works.
>> Cheers,
>> Simon
>>
>>
>>
>>
>> Steven Yi wrote:
>>     
>>> Hi Simon,
>>>
>>> The XMG files are binary and generated using makedb, the source of
>>> which is in the strings directory (as well as the localization files).
>>>  There seems to be a partially translated french-strings file, and
>>> all_strings file in American English, and an english-strings file
>>> using British English.
>>>
>>> Beyond that, I'm not sure of the details of how to select what
>>> language file to use when running csound (or even if that is linked in
>>> when compilng).  I imagine you could take all_strings and make a copy
>>> and translate and there'd be a way to select that.
>>>
>>> Hope that helps!
>>> steven
>>>
>>>
>>> On 8/25/06, Simon Schampijer  wrote:
>>>
>>>       
>>>> Hi,
>>>> as far as I understood is the purpose of the .xmg files for translations of csound's output (please correct me if I am wrong). Are there more translations (the .xmg files?) than just English? How do you create/edit those files? A short googeling did not lead to any good results.
>>>>
>>>> Thanks,
>>>> Simon
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Using Tomcat but need to do more? Need to support web services, security?
>>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>>         
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>       
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>     
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net