# Kibana i18n plugin not replacing some texts

**URL:** <https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284>\
**Category:** Kibana\
**Created:** [November 3, 2019, 12:02pm UTC](https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284 "2019-11-03T12:02:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamal](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kamal](https://discuss.elastic.co/u/kamal)\
**Post date:** [November 3, 2019, 12:02pm UTC](https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284/1 "2019-11-03T12:02:53Z")

</div>

Hi  
I have translated Kibana and created a plugin for that.  
Everything is good and the plugin is loading, I just see some texts are not replaced although the translation for those texts exist.  
I mean most of texts are replaced but some are not, and I don't see any errors in log files.  
I am using ELK 7.0.0.

---

<div class="post-metadata">

**Author:** ![kamal](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kamal](https://discuss.elastic.co/u/kamal)\
**Post date:** [November 4, 2019, 12:46pm UTC](https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284/2 "2019-11-04T12:46:52Z")

</div>

Problem solved but not in the right way!  
I moved and renamed the `TRANSLATION_FILE.json` to `KIBANA_INSTALLATION_PATH/node_modules/x-pack/plugins/translations/translations/zh-CN.json`  
and change the `i18n.locacle` to `zh-CN` and all texts replaced without any problem.  
So I guess there is a bug.  
For now it is enough for me but let me know if you solved the problem.

---

<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:** [November 18, 2019, 5:03pm UTC](https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284/3 "2019-11-18T17:03:37Z")

</div>

the translations are part of each plugin, hence why you had only a part of Kibana translated. If you want to do the translations by yourself, you can grep for all zh-CN.json files and translate all of them.  
zh-CN is the first official translation that Kibana implemented so it should be the most complete.

---

<div class="post-metadata">

**Author:** ![kamal](https://avatars.discourse-cdn.com/v4/letter/k/a698b9/32.png) [@kamal](https://discuss.elastic.co/u/kamal)\
**Post date:** [November 19, 2019, 12:17pm UTC](https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284/4 "2019-11-19T12:17:46Z")

</div>

Did I tell I had translated just some parts?  
I replaced mt file with zh-CN.json in `KIBANA_INSTALLATION_PATH/node_modules/x-pack/plugins/translations/translations/` and my kibana is now fully translated.  
But when I am doing it via my plugin, it does not.

---

<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:** [December 17, 2019, 12:17pm UTC](https://discuss.elastic.co/t/kibana-i18n-plugin-not-replacing-some-texts/206284/5 "2019-12-17T12:17:46Z")

</div>

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