# Translation doesn't affect all of Kibana strings

**URL:** <https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798>\
**Category:** Kibana\
**Created:** [January 28, 2020, 9:43am UTC](https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798 "2020-01-28T09:43:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaciejPietrek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maciejpietrek/32/45665_2.png) [@MaciejPietrek](https://discuss.elastic.co/u/MaciejPietrek)\
**Post date:** [January 28, 2020, 9:43am UTC](https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798/1 "2020-01-28T09:43:53Z")

</div>

Hello everyone.

I'm in process of translating Kibana to polish. So according to

> <https://github.com/elastic/kibana/issues/17201>
>
> Start Date: 2018-03-16
> Prior work: #6515, #10823
> RFC PRs: existing i18n issues
> Summary
> All user-facing text in core Kibana and plugins should be localizable. Localizable...

  
[https://www.elastic.co/guide/en/kibana/current/development-plugin-localization.html](https://www.elastic.co/guide/en/kibana/current/development-plugin-localization.html)  
and some others this is what I've done:  
1.Taken the zh-CN.json file and got it translated.  
2.Changed the translated file name to pl-PL.json  
2.Added in .\x-pack.i18nrc.json in translations:  
|"plugins\translations\translations\pl-PL.json"  
3.Set locals in .\config\kibana.yml:  
|i18n.locale: "pl-PL"

The issue is that not all strings in Kibana are affected by the translation and stay in english. Once I change all of the "pl-PL" strings to "zh-CN", "fr", "es" or other it works fine and all of Kibana is translated. "pl" instead of "pl-PL" also doesn't work.

I'm running Kibana 7.5.1 on windows 10.

I've searched for files that might be missing for correct polish translation and the same files that exist for french also exist for polish. There are though files  
.\node\_modules@kbn\i18n\src\core\locales.js  
.\node\_modules@kbn\i18n\target\node\core\locales.js  
.\node\_modules@kbn\i18n\target\web\core\locales.js  
where there is some code for french, german, english, korean and chinese and I tried to add code for polish, but it did nothing. Tbh I was just searching for any difference even if it had no sense to make it gone.

Thank you very much for any response!

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [January 28, 2020, 12:38pm UTC](https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798/2 "2020-01-28T12:38:01Z")

</div>

Some of the strings are not localized by choice in Kibana. Can you give some examples of what is not working for you? Also, there should be zh-CN.json files for each plugin, in it's folder, afair.

---

<div class="post-metadata">

**Author:** ![MaciejPietrek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maciejpietrek/32/45665_2.png) [@MaciejPietrek](https://discuss.elastic.co/u/MaciejPietrek)\
**Post date:** [January 28, 2020, 1:14pm UTC](https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798/3 "2020-01-28T13:14:59Z")

</div>

Of course

when file named "fr.json"

 ![a1](https://us1.discourse-cdn.com/elastic/original/3X/1/d/1d0103f687761c8a078f04c74f9f89f6a45b6b8a.png)  
 ![a2](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef7ef42fb9519b1e5c84d9fbbe0b6bea93035d94.png)

when file named "pl-PL.json"

 ![b1](https://us1.discourse-cdn.com/elastic/original/3X/1/3/132db76496b0a1eb69c66c58dbe33b432ec9d7ca.png) ![b2](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5f29361a121477dbf89028f351ed673f6a6a7f6c.png)

As you can see there are some default strings (in red boxes) and some translated into polish.

> [@Marius\_Dragomir](#):
>
> Also, there should be zh-CN.json files for each plugin, in it's folder, afair

I don't know what are you getting at with this, but i've got as many zh-CN.json files as pl-PL.json files.

Thank you

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [January 28, 2020, 1:38pm UTC](https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798/4 "2020-01-28T13:38:49Z")

</div>

It's possible that you might have hit the issue described here: [https://github.com/elastic/kibana/issues/55759](https://github.com/elastic/kibana/issues/55759)

Can you try again with Kibana 7.6+ and see if you have the same problem?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 25, 2020, 1:38pm UTC](https://discuss.elastic.co/t/translation-doesnt-affect-all-of-kibana-strings/216798/5 "2020-02-25T13:38:57Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
