https://github.com/chekun/vscode-iris-i18n
https://github.com/chekun/vscode-iris-i18n
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chekun/vscode-iris-i18n
- Owner: chekun
- License: mit
- Created: 2024-04-03T09:08:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-09T08:31:58.000Z (about 2 years ago)
- Last Synced: 2024-10-19T01:13:30.870Z (over 1 year ago)
- Language: TypeScript
- Size: 1.39 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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