From 66e849c510c41d3555dbd7d04f50e96571561f19 Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Mon, 9 Nov 2015 12:07:13 +0100 Subject: [PATCH] README --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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