i18n implementation - Removing bad image from docs

This commit is contained in:
romulo bordezani 2019-06-13 14:59:16 -03:00
parent 414ebd5d8b
commit 3fa9bc54f8
2 changed files with 11 additions and 1 deletions

View File

@ -150,7 +150,17 @@ In this cases, you don't need to set an entire language again, you can extend la
This new folder must to be called with a double character name, like the `UK` in the following file tree:
<img src="/assets/img/ohif-i18n-extending-files-tree.png" alt="Files Tree for Extending Purpouses" style="margin: 0 auto;" />
```bash
|-- src
|-- locales
|-- en
|-- Buttons.json
| UK
|-- Buttons.js
| US
|-- Buttons.js
...
```
All properties inside a Namespace will be merged in the new sub language, e.g `en-US` and `en-UK` will merge the props with `en`.