# Localization Dash

**URL:** <https://community.plotly.com/t/localization-dash/66168>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [July 16, 2022, 10:24pm UTC](https://community.plotly.com/t/localization-dash/66168 "2022-07-16T22:24:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirrango](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kirrango](https://community.plotly.com/u/Kirrango)\
**Post date:** [July 16, 2022, 10:24pm UTC](https://community.plotly.com/t/localization-dash/66168/1 "2022-07-16T22:24:55Z")

</div>

Hello all, I want to translate all my dash to russian. What I need to do for this? I tried some ways like external srcipts and ''[https://cdn.plot.ly/plotly-locale-ru-latest.js](https://cdn.plot.ly/plotly-locale-ru-latest.js)" but it doesn’t work

---

<div class="post-metadata">

**Author:** ![adamschroeder](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/adamschroeder/32/17280_2.png) [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Post date:** [July 19, 2022, 6:43pm UTC](https://community.plotly.com/t/localization-dash/66168/2 "2022-07-19T18:43:06Z")

</div>

Hi Alex @Kirrango  
👋 Welcome to the community.

The Russian [locale](https://cdn.plot.ly/plotly-locale-ru-latest.js) you mention is only for Plotly.js. Using it in Dash is not straightforward, but it can be done. See [plotly.js/dist at master · plotly/plotly.js · GitHub](https://github.com/plotly/plotly.js/tree/master/dist#to-include-localization) .

You can load the locale as an external script, then in your `dcc.Graph` use `{locale: 'ru'}` as the `config` prop, or part of it. You can’t use `Plotly.setPlotConfig` unless you also include plotly.js itself as an external script, since `Plotly` won’t be available yet.

We haven’t implemented localization yet in the rest of Dash, but it’s on our radar.

---

<div class="post-metadata">

**Author:** ![Kirrango](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kirrango](https://community.plotly.com/u/Kirrango)\
**Post date:** [July 20, 2022, 8:36am UTC](https://community.plotly.com/t/localization-dash/66168/3 "2022-07-20T08:36:06Z")

</div>

Hello! Thanks for your answer! It was enough for me to change the locale and everything worked)

I have one more question regarding localization: I also want to localize dcc.DatePickerRange, but I couldn’t find a way to do it in python. I know that there are libraries with this filter that support translation into my language, but I want to continue using dash core components. Is it real?

---

<div class="post-metadata">

**Author:** ![adamschroeder](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/adamschroeder/32/17280_2.png) [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Post date:** [July 20, 2022, 7:21pm UTC](https://community.plotly.com/t/localization-dash/66168/4 "2022-07-20T19:21:05Z")

</div>

hi @Kirrango That is not possible unfortunately with the dcc.DatePickerRange.

---

<div class="post-metadata">

**Author:** ![Kirrango](https://avatars.discourse-cdn.com/v4/letter/k/a587f6/32.png) [@Kirrango](https://community.plotly.com/u/Kirrango)\
**Post date:** [July 20, 2022, 8:51pm UTC](https://community.plotly.com/t/localization-dash/66168/5 "2022-07-20T20:51:44Z")

</div>

Hmm, it’s bad ☹

Can you advise any solution to this problem?
