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:
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
cc
Subject
Please respond to Re: gadget i18n questions
dev@shindig.apach
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
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
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
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
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