An open API service indexing awesome lists of open source software.

https://github.com/chekun/vscode-iris-i18n


https://github.com/chekun/vscode-iris-i18n

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# iris i18n vscode extension

### How to use

- Search "iris i18n" within vscode extensions panel
- install extension
- create and place config file `.iris-i18n.json` inside your iris project folder, put code in it. `locale_path` is the path relative to your project folder, `display_language` is the lang that display in the editor for preview.This file is the trigger for this extension to work.

```json
{
"locale_path": "./locale",
"display_language": "zh_CN"
}
```

- currently only supports json file with structure below

```bash
locale_path/
zh-CN/
common.json
error.json
en-US/
common.json
error.json
```

- workspaces are supported

- demo screenshot