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.
On Mon, Mar 8, 2010 at 1:53 PM, elm <[email protected]> wrote:
> 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???
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.