# Kibana@5.5.0 modify source code error

**URL:** <https://discuss.elastic.co/t/kibana-5-5-0-modify-source-code-error/95818>\
**Category:** Kibana\
**Created:** [August 4, 2017, 5:29am UTC](https://discuss.elastic.co/t/kibana-5-5-0-modify-source-code-error/95818 "2017-08-04T05:29:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaopeng\_zhang](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiaopeng\_zhang](https://discuss.elastic.co/u/xiaopeng_zhang)\
**Post date:** [August 4, 2017, 5:29am UTC](https://discuss.elastic.co/t/kibana-5-5-0-modify-source-code-error/95818/1 "2017-08-04T05:29:43Z")

</div>

npm run build is success in linux.  
windows10: i want to modify the code to custom made the interface.  
And i modified the config/kibana.yml : i18n.defaultLocale: "zh" ,  
src/core\_plugins/kibana/index.js resolve(\_\_dirname, './translations/zh.json')  
and add zh.json to src/ui/translations .  
when i run the bin/kibana.bat  
it run successfully,but the it seemly can't find the zh.json.

 ![TIM截图20170804132852](https://us1.discourse-cdn.com/elastic/original/3X/a/c/ac822fd4f0bd11429e9f0c2bcca47275a3862a07.png)  
On linux .the changes is useful.and the message is changed to chinese.  
sorry for my bad English.

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [August 15, 2017, 7:49pm UTC](https://discuss.elastic.co/t/kibana-5-5-0-modify-source-code-error/95818/2 "2017-08-15T19:49:08Z")

</div>

Could you try `translations/zh.json` instead of `./translations/zh.json` ? That might work better on Windows and yet still work on Linux.

Regards,  
Lee

---

<div class="post-metadata">

**Author:** ![xiaopeng\_zhang](https://avatars.discourse-cdn.com/v4/letter/x/71e660/32.png) [@xiaopeng\_zhang](https://discuss.elastic.co/u/xiaopeng_zhang)\
**Post date:** [August 22, 2017, 5:55am UTC](https://discuss.elastic.co/t/kibana-5-5-0-modify-source-code-error/95818/3 "2017-08-22T05:55:24Z")

</div>

thank you.This configuration is in effect.

---

<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:** [September 19, 2017, 5:55am UTC](https://discuss.elastic.co/t/kibana-5-5-0-modify-source-code-error/95818/4 "2017-09-19T05:55:35Z")

</div>

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