kibana-i18n

Installation
SKILL.md

Kibana i18n

Imports

import { i18n } from '@kbn/i18n';
import { FormattedMessage } from '@kbn/i18n-react';

Never import from react-intl directly.

All user-visible text in React components must be internationalized. No raw string literals in JSX output, props like title, placeholder, aria-label, button labels, error messages, tooltips, or any other text rendered to the screen.

API

i18n.translate (non-JSX contexts)

The id is a positional first argument, not inside the options object:

Related skills
Installs
1
Repository
elastic/kibana
GitHub Stars
21.1K
First Seen
4 days ago