Kibana: Kibana i18n Setting Leads to Unknown saved object type Warning

Created on 4 Dec 2019  路  5Comments  路  Source: elastic/kibana

Kibana version:
6.8.4
Elasticsearch version:
6.8.4
Server OS version:
centos 7.5
Browser version:
safari
Browser OS version:
macos 10.14.6
Original install method (e.g. download page, yum, from source, etc.):
yum
Describe the bug:
when switched to zh-CN using i18n setting in kibana.yml, there is a warning message coming up when browsing saved objects in kibana management section. This is caused by the i18n translation of the savedDashboard's title in savedObjectManagementRegistry(src/legacy/core_plugins/kibana/public/dashboard/saved_dashboard/saved_dashboards.js).
Steps to reproduce:

  1. Make a dashboard, it can be an empty one.
  2. Set i18n.locale: "zh-CN" in kibana.yml
  3. Start kibana and go to management -> saved objects.

Expected behavior:
There will be a warning message which means the Dashboard is an unknown type of saved object.

Screenshots (if relevant):
image

Errors in browser console (if relevant):
No errors in console
Provide logs and/or server output (if relevant):

Any additional context:

Core Localization bug medium triaged

All 5 comments

Pinging @elastic/kibana-stack-services (Team:Stack Services)

Pinging @elastic/kibana-app (Team:KibanaApp)

Seems like this is actually a @elastic/kibana-platform or @elastic/kibana-app issue, as the saved object management page is using the translated name to do the saved object lookup.

@elastic/kibana-platform I relabelled this correctly since you own the saved objects UI (sorry for wrong initial labeling). I just closed https://github.com/elastic/kibana/pull/52244 which fixed this by removing i18n again from those places. I don't think this is the viable solution and we rather want to fix the saved object page, to not use localized strings for any comparison anymore :-)

The translated title was 'fixed' by https://github.com/elastic/kibana/pull/61700 in 7.8+

However I cannot reproduce the issue even on the 7.6 branch. This was likely already fixed on a previous 7 minor.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LukeMathWalker picture LukeMathWalker  路  3Comments

timmolter picture timmolter  路  3Comments

cafuego picture cafuego  路  3Comments

tbragin picture tbragin  路  3Comments

treussart picture treussart  路  3Comments