Using vue-i18n with Node without Vue?
See original GitHub issueHi there,
I’m trying to use vue-i18n server-side to translate some email templates with a process as close as possible of what we’re doing client-side.
I got it working like this: https://runkit.com/nicooprat/vue-i18n-node. It could be fine this way but it’s sad to import Vue only to init vue-i18n…
Would it be possible to get it working without Vue and Vue.use()
?
Thanks!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Implementing i18n in Vue.js Using vue-i18n - DigitalOcean
Here's a short guide on how to implement internationalization (i18n) in your Vue.js apps using the vue-i18n plugin.
Read more >Installation | Vue I18n
When using with a module system, you must explicitly install the vue-i18n via Vue.use() : import Vue from 'vue' import VueI18n from ...
Read more >The Ultimate Vue Localization Guide | Phrase
In this hands-on guide, we'll use Vue I18n to internationalize a little demo app, covering everything you need to get started with Vue...
Read more >Installation - Vue I18n - Intlify
You will have to clone directly from GitHub and build vue-i18n yourself if you want to use the latest dev build. git clone...
Read more >Step-by-step: How to Create a Vue Multi-Language App with ...
1. Create a new Vue 3 application · 2. Install vue-i18n-next in your Vue 3 project · 3. Test the i18n configuration on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unfortunatly, vue-i18n need to require vue.
In the future, I extract i18n common features and I have plan to provide that as the library/framework.
As long as the i18n library you use in your backend can understand the format of the translation files, there’s no problem at all I guess!