Re: gadget i18n questions

2011-11-28 Thread Wei CSDL Shi
RY] = function() {return 'cn';} cfg[osapi.container.ContainerConfig.GET_LANGUAGE] = function() {return 'zh';} You have GET_COUNTRY returning the "language", and GET_LANGUAGE returning the "country" From: Wei CSDL Shi To: dev@shindig.apache.org, Date:

Re: gadget i18n questions

2011-11-28 Thread Dan Dumont
the "country" From: Wei CSDL Shi To: dev@shindig.apache.org, Date: 11/21/2011 10:38 PM Subject:Re: gadget i18n questions I tried with the suggested way in my test gadget: The content of i18n/pt-BR.xml: pt-br Markup in the sample gadget to load the hello_w

Re: gadget i18n questions

2011-11-21 Thread Wei CSDL Shi
cc Subject Please respond to Re: gadget i18n questions dev@shindig.apach

Re: gadget i18n questions

2011-11-18 Thread Dan Dumont
estford/IBM@Lotus To: dev@shindig.apache.org, Date: 11/18/2011 09:26 AM Subject: Re: gadget i18n questions The attributes on your locale look wrong. Here's a sample from one of my localization gadgets: You shouldn't have to reference anothe

Re: gadget i18n questions

2011-11-18 Thread Dan Dumont
17/2011 10:39 PM Subject: Re: gadget i18n questions I tried to set the GET_COUNTRY and GET_LANGUAGE in my container, the metadata request already contains the county and lanague I set, but it still can't show that language when rendering the gadget. Here is how I set them into my

Re: gadget i18n questions

2011-11-17 Thread Wei CSDL Shi
rjbax...@us.ibm.com Phone: 978-899-3041 developerWorks Profile From: Wei CSDL Shi To: shindig , Date: 11/17/2011 02:42 AM Subject:gadget i18n questions I am trying to use the multi language feature of gadget. Unfortunately I have no luck to make it work when I switch my browser language

Re: gadget i18n questions

2011-11-17 Thread Ryan J Baxter
URL with the correct country and language parameters set. -Ryan Email: rjbax...@us.ibm.com Phone: 978-899-3041 developerWorks Profile From: Wei CSDL Shi To: shindig , Date: 11/17/2011 02:42 AM Subject:gadget i18n questions I am trying to use the multi language feature of

gadget i18n questions

2011-11-16 Thread Wei CSDL Shi
I am trying to use the multi language feature of gadget. Unfortunately I have no luck to make it work when I switch my browser language. Here is my test gadget: Hello World. Hola Mundo. 你好世界. In the common container, I tried to load feature "opensocial-i18n" as well, but