Language problems in GWT API

43 views
Skip to first unread message

elm

unread,
Mar 8, 2010, 6:53:03 AM3/8/10
to Google Visualization API
I am using GWT API and MotionChart displays messages in portuguese (My
Browser is configured w/Spanish).

How can I force another language configuration?

With the Javascript API I understand that that you can set the
language:

> google.load('visualization', '1', {'packages': ['motionchart'], 'language' : 'es'})

But with the Java GWT API I don't have this option:

>VisualizationUtils.loadVisualizationApi(onLoadCallback, MotionChart.PACKAGE);

Any ideas or suggestions???

MC Get Vizzy

unread,
Mar 9, 2010, 9:16:43 AM3/9/10
to google-visua...@googlegroups.com
import com.google.gwt.ajaxloader.client.AjaxLoader;

AjaxLoader.AjaxLoaderOptions options = AjaxLoader.AjaxLoaderOptions.newInstance();
options.setLanguage("es");
options.setPackages("motionchart");
AjaxLoader.loadApi("visualization", "1.0", callback, options);

I hope this helps.  let me know if you have any more questions.


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Jérôme

unread,
Jun 19, 2012, 8:49:11 AM6/19/12
to google-visua...@googlegroups.com
Is there a list of available languages for motion chart ?
Reply all
Reply to author
Forward
0 new messages