-
Hi,
I've configured to pass i18n to my web component but when I change language on page where I have this web component embedded it's not synced with language on web component. How can I keep it in…
-
hey there, i have a vue3+vite package and i want to use it in vue2 aswell
in vue 3 everything works like a charm but in vue 2 i get "createElementVNode is not a function" error
install.ts(entry):
…
-
最近的工作当中有个任务是做国际化。这篇文章也是做个简单的总结。
## 部分网站的当前解决的方案
1. 不同语言对应不同的页面。在本地开发的时候就分别打包输出了不同语言版本的静态及模板文件,通过页面及资源的`url`进行区分,需要维护多份代码。
2. 在线翻译
3. 统一模板文件,前端根据相应的语言映射表去做文案的替换。
## 面对的问题
1. 语言vs标识谁来做?
…
-
I installed the package following the documentation
in main.ts:
```
import VueI18n from 'vue-i18n'
Vue.use(VueI18n)
```
put the file with translation messages.ts:
```
export const messages = {…
-
### Environment
------------------------------
- Operating System: Linux
- Node Version: v20.11.1
- Nuxt Version: 3.12.2
- CLI Version: 3.12.0
- Nitro Version: 2.9.6
- Package…
-
**Module versions (please complete the following information):**
- `vue`: 2.6.12
- `vue-i18n`: 8.24.4
**Reproduction Link**
https://codesandbox.io/embed/optimistic-fast-rzgrd?&theme=dark
If y…
-
When installing as described by the documentation, the follwing typescript error occurs in the nuxt.config.ts file:
intlify: { ...; }; }' is not assignable to parameter of type 'NuxtConfig'.
Objec…
-
在组件库的设计当中,往往可能存在多个 App,但是有一些 App 不是通过 createApp 方法构造而来的,比如 ElementPlus 的 MessageBox 组件,它是通过 render 方法,直接渲染一个与主应用程序分离的 DOM 树,比如:
对于 App2 来说,我借用了 App1 的 appContext,就是为了共享 App1 上面的**全局组件,VueI18N,全局方…
-
### Reporting a bug?
I'm using vite and vue 2.7 I have an SFC that looks like this:
```vue
export default {
data() {
return {
msg: 'Hi!',
};
},
};
{{ msg …
-
It would be great to add translation support (https://github.com/kazupon/vue-i18n ?)