[Discuss] Best practices for using i18n
on the server.
#97650
Labels
discuss
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Project:i18n
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Hi all. I want to discuss our expectations around using
i18n
on the server. Server code often defines messages for HTTP responses, logs, and perhaps to populate fields in SavedObjects or other documents. Some server code may even generate strings that are then shown on the UI.What do users expect? Should log messages be translated and localized? Does SDH rely on English language log messages? Will we break things or annoy users if we change our current behavior?
Is Kibana generally consistent in this area? Should we use i18n for all messages on the server? This i18n guideline suggests using
i18n
when writing NodeJS code. I've included a table below that documents the behavior as its found in the Security Solution.Security Solution
Here is a template you can copy if you'd like to use it to document what your plugin is doing:
Template
The text was updated successfully, but these errors were encountered: