diff --git a/README.md b/README.md index b06855b..9466321 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Vue.use(VueInternationalization, { ## Template names -This generate adjusts the strings in order to work with vue-i18n's template names, +The generator adjusts the strings in order to work with vue-i18n's template names, making it simple to share also named templates from your Laravel translations. resource/lang/message.php: @@ -47,6 +47,13 @@ return [ ]; ``` +in vue-i18n-locales.generated.js: +```js +... + "hello": "Hello {name}", +... +``` + Blade template: ```php