[i18n] Translations for Monitoring: Cluster and Alerts#24736
[i18n] Translations for Monitoring: Cluster and Alerts#24736maryia-lapata merged 20 commits intoelastic:masterfrom
Conversation
x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/license_text.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/license_text.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js
Outdated
Show resolved
Hide resolved
Nox911
left a comment
There was a problem hiding this comment.
Good work! Please fix some minor comments, and let's discuss some names of id.
x-pack/plugins/monitoring/public/directives/cluster/listing/index.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/directives/cluster/listing/index.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/directives/cluster/listing/index.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/directives/cluster/listing/index.js
Outdated
Show resolved
Hide resolved
|
LGTM |
|
Do I need anything setup to test this? Or maybe more broadly, how do I test this? :) |
|
@chrisronline you can set up a pseudo-locale to see what labels are translated. Pseudo-locale adds diacritical mark to each How to use: Set There is one more way to test translation. It's possible to check custom locale. It's more complex because this approach hasn't automated yet. Here are the steps:
To make PRs easy to review we are splitting all Monitoring translations into several PRs. So please take into account that one screen (for example |
chrisronline
left a comment
There was a problem hiding this comment.
This is great! I added a couple comments/questions but this is looking great!
x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js
Outdated
Show resolved
Hide resolved
| <FormattedMessage | ||
| id="xpack.monitoring.cluster.overview.esPanel.jvmHeapLabel" | ||
| defaultMessage="{javaVirtualMachine} Heap" | ||
| values={{ javaVirtualMachine: 'JVM' }} |
There was a problem hiding this comment.
So JVM is not something translated, but I see Elasticsearch not used like this, does that mean Elasticsearch will be translated?
There was a problem hiding this comment.
No. There is also Kibana translation glossary (https://docs.google.com/document/d/1e-lHAPAtxodP8U4gbwA3lw8FyhhW7M303--77nMpe8w/edit) that contains terms that will remain untranslated.
Mostly we put in values such technical labels like property names url.body.query.
| statusIndicator={statusIndicator} | ||
| url="elasticsearch" | ||
| title={props.intl.formatMessage({ | ||
| id: 'xpack.monitoring.cluster.overview.esPanel.elasticsearchTitle', defaultMessage: 'Elasticsearch' })} |
There was a problem hiding this comment.
Shouldn't Elasticsearch be not translated, per this comment?
There was a problem hiding this comment.
You're right, it shouldn't.
I reverted this change.
chrisronline
left a comment
There was a problem hiding this comment.
LGTM (once tests are passing)
💔 Build Failed |
|
Blocked by #25465. |
💚 Build Succeeded |
* Translations for Cluster and Alerts * Translations for cluster and alerts * Translations for cluster and alerts * Fix typos * Update id * Update Notification snapshot * Translate lastEvent label * Revert changes for untranslated label.
* Translations for Cluster and Alerts * Translations for cluster and alerts * Translations for cluster and alerts * Fix typos * Update id * Update Notification snapshot * Translate lastEvent label * Revert changes for untranslated label.
Translations for Monitoring: Cluster and Alerts pages
Fixes: #24713