Hello everyone.
I'm in process of translating Kibana to polish. So according to
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!