Comments (6)
I have solved this issue. Hope it will help you.https://jsfiddle.net/2av8r31w/3/
from vue-i18n.
I guess what @mygaochunming wrote, specifically the usage of v-bind
, is something that should be inserted into the documentation, in case that this is the correct way of solving this issue.
from vue-i18n.
It seems the problem is that a Vue directive to apply select2 (https://select2.github.io/) to a select box runs before the translation happens. Select2 picks up the value of data-placeholder before the translation occurs.
Any ideas how to fix this?
from vue-i18n.
I tried with other values and they arent being processed either, so it isnt a vue-i18n issue. Closing and moving issue to vue.
from vue-i18n.
hi,does this issue solved?I have the same problem with you and look forward to your answer. thank you!
from vue-i18n.
Thanks a lot!
from vue-i18n.
Related Issues (20)
- Missing translations throws an Exception
- import js as a configuration file in vue, but the imported module will not be reloaded when switching between English and Chinese HOT 1
- | is not support in 9.x? HOT 1
- Typing of i18n.global.locale HOT 1
- Typings TS7016: Could not find a declaration file for module HOT 9
- Value of key 'roles.role::student' is not a string!
- Fallback when value is undefined.
- [Vue3, Vite] Error if string value contain HTML and special characters HOT 3
- Parsing of language file fails when using functions HOT 1
- How to use component interpolation for array (multiple) translations
- Returning an Empty String for Undefined Keys in Vue-i18n HOT 1
- Use pluralization in component interpolation.
- The safari browser does not show words correctly when a language is switched.
- YAML parser doesn't process valid YAML HOT 1
- [v9.8.0] Suppressing automatic locale fallback with `!` breaks `n`/`$n` number formatting HOT 1
- Reuse of international fields
- Avoid duplicate code for `numberFormats` and `dateTimeFormats `
- Avaliblity to set `keySeperator`
- Dynamic currency
- 语言包在线修改
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-i18n.