haixing-hu / vue-i18n Goto Github PK
View Code? Open in Web Editor NEWInternationalization plugin of Vue.js
License: MIT License
Internationalization plugin of Vue.js
License: MIT License
The main block should contain a single module ID, not an array. Therefor it is not installable via jspm right now.
Current code:
"main": [
"src/vue-i18n.js"
],
Fixed code:
"main": "src/vue-i18n.js",
Thanks for fixing!
Hi,
For some legacy reason I didn't use webpack in my project, so I used your i18n using script tag, the question is how can I use your cause I can't use Vue.use(i18n, {...})
cause i18n is load from script tag which can't assign to a local variable.
Provide ability to use the script as standalone (CDN).
This and vue-format are the only modules I'm receiving error when trying to require(webpack).
I've installed it with npm install vue-i18n-plugin --save
Hi,
Currently getting plugin.apply is not a function
when trying to use the plugin in webpack.
Have no issue on the other project running Vue 1.x
Thanks!
Consider using vue-resource instead of jQuery.
Hi guys!
I am trying to use this plugin to translate my app and everything were working fine until I had to use the format filter!
It replace the tags properly but when I have any changes on the replace obj it does not apply to the message!
As example I have something similar to the DataTables where I have the message: "Showing {0} entries".. When it first loads works fine! But when I search for something through the filter filterBy the number does not change on the message!
Somebody?
My view: {{ $i18n.messages.data_grid_entries_showing | format listLength }}
where listLength is a computed as bellow
listLength () { return this.list.length; }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.