v1.0.1
Break Change
- Take language code from filename instead of
.yml
files by @Pure-Peace in #10
Upgrade Guides
$ cargo install rust-i18n --force
New version of rust-i18n has not need add language code in YAML file:
Before
locales/en.yml
en:
hello: Hello world
messages:
hello: Hello, %{name}
After
locales/en.yml
hello: Hello world
messages:
hello: Hello, %{name}
You must remove change the exist locale files.
VS Code I18n Ally guide
I18n Ally is a VS Code extension for helping you translate your Rust project.
You can add i18n-ally-custom-framework.yml to your project .vscode
directory, and then use I18n Ally can parse t!
marco to show translate text in VS Code editor.
New Contributors
- @Pure-Peace made their first contribution in #10