mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[I18n] Add README.md for i18n_integrate tool (#21035)
Add i18n build tools readme
This commit is contained in:
parent
413d37d5ed
commit
bc4b075de2
1 changed files with 20 additions and 0 deletions
|
@ -168,3 +168,23 @@ The tool generates a JSON/JSON5 file only if `--output` path is provided. It con
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
## Locale files verification / integration tool
|
||||
|
||||
### Description
|
||||
|
||||
The tool is used for verifying locale file, finding unused / missing messages, key duplications, grouping messages by namespaces and creating JSON files in right folders.
|
||||
|
||||
### Notes
|
||||
|
||||
The tool throws an exception if `formats` object is missing in locale file.
|
||||
|
||||
### Usage
|
||||
|
||||
```bash
|
||||
node scripts/i18n_integrate --path path/to/locale.json
|
||||
```
|
||||
|
||||
### Output
|
||||
|
||||
The tool generates locale files in plugin folders and few other special locations based on namespaces and corresponding mappings defined in [.i18nrc.json](../../../.i18nrc.json).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue