We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ff2b4e + f001e8b commit d930cd8Copy full SHA for d930cd8
google-chart-loader.html
@@ -162,7 +162,10 @@
162
return;
163
}
164
packagesToLoad = {};
165
- google.charts.load('current', {'packages': packages});
+ google.charts.load('current', {
166
+ 'packages': packages,
167
+ 'language': document.documentElement.lang || 'en'
168
+ });
169
google.charts.setOnLoadCallback(function() {
170
packages.forEach(function(pkg) {
171
this.fire('loaded', pkg);
google-chart.html
@@ -48,6 +48,12 @@
48
- Via the `view` attribute, passing in a Google DataView object:
49
50
view='{{dataView}}'
51
+
52
+You can display the charts in locales other than "en" by setting the `lang` attribute
53
+on the `html` tag of your document.
54
55
+ <html lang="ja">
56
57
@demo
58
-->
59
<dom-module id="google-chart">
0 commit comments