Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef0cb81

Browse files
committed
generalize locale example CDN.
1 parent 4a085e7 commit ef0cb81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_posts/plotly_js/fundamentals/config-options/2015-09-24-config-locale.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
sitemap: false
88
arrangement: horizontal
99
markdown_content: |
10-
Load and register a non-default locale by adding `<script src="https://cdn.plot.ly/plotly-locale-fr-latest.js"></script>`
11-
to your HTML after the plotly.js tag and then reference the locale in the `config`. For more information and a list of available Locales, see
10+
Load and register a non-default locale by adding `<script src="https://cdn.plot.ly/plotly-locale-YOUR-LOCALE-latest.js"></script>`
11+
to your HTML after the plotly.js tag and then reference the locale in the `config`. For Example, the codepen example below has
12+
`<script src="https://cdn.plot.ly/plotly-locale-fr-latest.js"></script>` in its HTML. For more information and a list of available locales, see
1213
[https://github.com/plotly/plotly.js/blob/master/dist/README.md#to-include-localization](https://github.com/plotly/plotly.js/blob/master/dist/README.md#to-include-localization)
1314
---
1415
var trace1 = {

0 commit comments

Comments
 (0)