:globe_with_meridians: Internationalization plugin for Vue.js

Overview

Vue I18n logo

vue-i18n

Build Status Coverage Status NPM version vue-i18n channel on Discord vue-i18n Dev Token

Internationalization plugin for Vue.js


🥇 Gold Sponsors

🥈 Silver Sponsors

🥉 Bronze Sponsors


⚠️ NOTICE

This repository is for Vue I18n v8.x.

If you want to know about Vue I18n v9, See the this repository)

This repository will be transferred to intlify organization. After that, it will be developed and maintained on intlify.

📖 Documentation

About Vue I18n v8.x, See here

If you want to read Vue I18n v9 docs, See here

📜 Changelog

Detailed changes for each release are documented in the CHANGELOG.md.

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

💪 Contribution

Please make sure to read the Contributing Guide before making a pull request.

©️ License

MIT

Comments
  • Cannot read property 'locale' of undefined

    Cannot read property 'locale' of undefined

    Hi.I use the vue-router with vue-i18n together,when i changed the path,chrome remind a issue image

    my i18n.js

    import Vue from 'vue'
    import VueI18n from 'vue-i18n'
    import cn from './zh-CN.json'
    import jh from './zh-JH.json'
    import store from '../store'
    
    Vue.use(VueI18n)
    
    export default new VueI18n({
      locale: 'zh-JH',
      messages: {
        'zh-CN': cn,
        'zh-JH': jh
      }
    })
    

    vue & vue-i18n version

    ```"vue": "^2.1.0",
    "vue-i18n": "^6.0.0-alpha.2",
    "vue-router": "^2.0.1",```
    
    opened by WangShayne 57
  • Access to vue-i18n assets is not available within a Vue component method when called via a Promise

    Access to vue-i18n assets is not available within a Vue component method when called via a Promise

    vue & vue-i18n version

    vue v2.3.4 vue-i18n v7.0.3 Using with Laravel 5.4, and bundling assets with Webpack via Laravel Mix.

    Reproduction Link

    (Pending, will update post upon completion.)

    Steps to reproduce

    • Prepare a Vue component, with Vue-i18n included as an asset on the top-level Vue instance
    • Prepare a Vue component, which includes a Vue method that accesses this.$t or this.$tc within the method. The method should not be defined using ES6 arrow notation so that the 'this' context is the Vue instance.
    • Call the method as the response or error method from a JS Promise

    What is Expected?

    Access to this.$t is provided via the 'this' binding solution provided by Vue

    What is actually happening?

    vue-i18n is not available (VueComponent property '_i18n' is null). Other Vue instance properties are available in this context, such as this.$store when using vuex, as well as all component data, props and computed properties via 'this'. An attempt to access this.$t generates an error: TypeError: Cannot read property '_t' of null Error is generated here, though the source cause is external of this: https://github.com/kazupon/vue-i18n/blob/9ef7b798e3c1d58dfae4f25e5e6b8c488b86d819/dist/vue-i18n.js#L111

    Status: Need More Info 
    opened by GregPeden 40
  • How to stub vue-i18n within vue-test-utils

    How to stub vue-i18n within vue-test-utils

    I'm trying to write a test for page that uses vue-i18n plugin. @eddyerburgh has show how to test with mocked plugin. https://github.com/kazupon/vue-i18n/issues/198#issuecomment-316692326 This works fine.

    However in some tests I do not care about translations. Instead mocking translations, I'd like to stub them. What ever I do i get [Vue warn]: Error in render: "TypeError: _vm.$t is not a function".

    opened by Mrkisha 36
  • How can i use vue-i18n in '.js' file,  I have use it in Vue template and it works.

    How can i use vue-i18n in '.js' file, I have use it in Vue template and it works.

    I have use vue-i18n in template, and it works. but now I also need it can work in js , I have read a issue about <Use $t function outside template enhancement>, i don't know how to config that.

    thanks.

    opened by pzuopin 35
  • International pluralization

    International pluralization

    In English, pluralization looks simple: one and many. But it's not too simple for Russian language. And there is some other languages.

    i18n means Internationalization.

    I suggest to use something better for pluralization into $tc()/Vue.tc().

    For example, smart-plurals.


    Now I using it with Vue like this:

    // pluralize.js
    import Vue from 'vue'
    import smartPlurals from 'smart-plurals'
    export default function pluralize(string, amount, lang) {
        string = Vue.t(string, lang).split(' | ')
        return smartPlurals.Plurals.getRule(lang)(amount, string)
    }
    

    So I can now write different amount of plural forms for different languages in one format: singular | plural for English or singular | few | plural for Russian for example.

    And then just pluralize('key', value, Vue.config.lang) as a function in JS

    And {{ $t('key') | pluralize(computedProperty()) }} as a filter in templates:

    <!-- module.vue -->
    <script>
        import filters from './filters'
        export default {
            filters: filters,
            …
        }
    </script>
    
    // filters.js
    import Vue from 'vue'
    import pluralize from './modules/pluralize'
    export default {
        pluralize: function(string, amount) {
            return pluralize(string, amount, Vue.config.lang)
        }
    }
    

    Other sources you can see in this repo.

    opened by Grawl 33
  • Vue.locale is not a function - Issue after upgrading to 3.0

    Vue.locale is not a function - Issue after upgrading to 3.0

    I'm getting Unknown TypeError: Vue.locale is not a function

    var VueI18n = require('vue-i18n')
    
    Vue.use(VueI18n)
    Vue.config.lang = 'sv'
    var locales = require('./lang/locales')
    
    Object.keys(locales).forEach(function (lang) {
      Vue.locale(lang, locales[lang])
    })
    

    And in my locales file I have like I had in 2.*:

    module.exports = {
      en: {
        message: 'Hi',
      },
      sv: {
        message: 'Hej',
      }
    }
    
    
    opened by flaird 28
  • Vue.js Avoriaz unit test produces translation warnings when vue-i18n is used

    Vue.js Avoriaz unit test produces translation warnings when vue-i18n is used

    vue & vue-i18n version

    vue: 2.2.2 vue-i18n: 7.0.5

    Reproduction Link

    https://github.com/ndabAP/Vue.js-with-Sails.js-backend-example-project/blob/master/frontend/test/unit/specs/Login.spec.js

    Question at stackoverflow: https://stackoverflow.com/questions/45184859/vue-js-avoriaz-unit-test-produces-translation-warnings-when-vue-i18n-is-used

    Steps to reproduce

    Unit test a working translated Vue.js component with Mocha, PhantomJS and Karma.

    What is Expected?

    Don't get any warnings.

    What is actually happening?

    Multiple warnings that keys are not translated.

    WARN LOG: '[vue-i18n] Cannot translate the value of keypath 'description.first'. Use the value of keypath as default.'

    opened by ndabAP 24
  • Linked Pluralization

    Linked Pluralization

    using vue 2.2.6 and vue-i18n 6.1.1

    Can this be done? I'm trying to do a "action string" ex: User added 1 photo - if there are more photos i want to show "photos"

    i have this

    export default {
    	en: {
    		actions: {
    			photo: 'added {count} @:photo'
    		},
    		photo: 'photo | photos'
    	}
    }
    

    How do I pass the count parameter in a pluralized linked locale message ?

    Priority: High Type: Feature 
    opened by zecar 19
  • Using Vue.t() inside a state of Vuex

    Using Vue.t() inside a state of Vuex

    Hey guys! I'am trying the following code:

    import Vue from 'vue'
    
    export default {
        task: {
            status: [
                { id: 'pending', name: Vue.t('pending') },
                { id: 'done', name: 'Done' }
            ]
        }
    }
    

    That is my state.js which is the state of my VUEX! When I try to use the Vue.t function I have the following error:

    Uncaught TypeError: _vue2.default.t is not a function

    My solution (which I don't think it's the best one also good for performance)

    Let my state.js like that:

    import Vue from 'vue'
    
    export default {
        task: {
            status: [
                { id: 'pending', name: 'pending' },
                { id: 'done', name: 'done' }
            ]
        }
    }
    

    And I've done the following getters (vuex getter)

    import { map } from 'lodash'
    import { trans } from 'utils/helpers/translation' // helper for Vue.t(string)
    
    export const getTaskStatus = ({ task }) => map(task.status, (obj) => {
        return { id: obj.id, name: trans(obj.name) }
    })
    

    Anyone knows how is the best way to make it work?

    opened by bissolli 19
  • Register $t globally

    Register $t globally

    Please register $t globally per default. Now we need each time:

    import Vue from 'vue'
    const $t = Vue.t
    // before we can use:
    var title = $t("header.title")
    
    opened by tvld 19
  • ¿Support for SSR? (Server Side rendering)

    ¿Support for SSR? (Server Side rendering)

    ¿Will SSR be supported?

    vue & vue-i18n version

    Vue: 2.0.1 vue-i18n: 4.6.0

    How i18n is begin applied:

    import VueI18n from 'vue-i18n'
    
    Vue.use(VueI18n);
    
    // set locale data
    Vue.config.lang = i18nData.language;
    Vue.config.fallbackLang = i18nData.language;
    Vue.locale(i18nData.language, i18nData.phrases);
    
    // Development options
    if (process.env.NODE_ENV == "development") {
        // i18n: track missing translations
        Vue.config.missingHandler = function (lang, missingPhrase) {
            ApiService._call('/translation/add-phrase', {phrase: missingPhrase, locale: lang});
        };
    }
    

    Error message:

    TypeError: Cannot read property 'dep' of undefined at getDep (C:\app\node_modules\vue-i18n\dist\vue-i18n.common.js:199:26) at Config (C:\app\node_modules\vue-i18n\dist\vue-i18n.common.js:212:13) at plugin (C:\app\node_modules\vue-i18n\dist\vue-i18n.common.js:946:3) at Function.Vue.use (C:\app\node_modules\vue\dist\vue.common.js:3140:14) at Object. (vue_ssr_bundle:1576:16) at webpack_require (vue_ssr_bundle:21:30) at Object. (vue_ssr_bundle:58:14) at webpack_require (vue_ssr_bundle:21:30) at module.exports.Object.defineProperty.value (vue_ssr_bundle:41:18) at Object. (vue_ssr_bundle:44:10)

    opened by tobeorla 19
  • Should never blow up

    Should never blow up

    Clear and concise description of the problem

    If I inadvertenly supply undefined to a call to $t, my app blows up. The exception in the console gives absolutely no trace as to where in my code the problem is. The only hope is to develop very incrementally, checking constantly, like in the good old days of angular.

    Suggested solution

    Calls to $t are so frequent, sanity has obliged me to wrap them with my own plugin that catches, and returns XXX as the translation. When XXX pops to screen, I have a chance of locating my problem. I would really really like to see this as the default behaviour. I18n is never in a try catch block, so, to my mind, should never throw an exception.

    Alternative

    For the time being, I'm using this plugin to wrap calls to $t()

    const tryI18n = {
        install(app, options) {
          app.config.globalProperties.$x = (key) => {
            try{
                return app.__VUE_I18N__.global.t(key)
            }
            catch(ex){
                console.log(`Exception translating key: ${key}`)
                return "XXX";
            }
          }
        },
      }
    

    Additional context

    No response

    Validations

    Status: Proposal 
    opened by bbsimonbb 0
  • build(deps): bump loader-utils and @vue/cli-service in /examples/hot

    build(deps): bump loader-utils and @vue/cli-service in /examples/hot

    Bumps loader-utils to 1.4.2 and updates ancestor dependency @vue/cli-service. These dependencies need to be updated together.

    Updates loader-utils from 1.2.3 to 1.4.2

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    v1.4.0

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    v1.3.0

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)
    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    Commits

    Updates @vue/cli-service from 3.8.0 to 5.0.8

    Release notes

    Sourced from @​vue/cli-service's releases.

    v5.0.8

    :bug: Bug Fix

    v5.0.7

    • @vue/cli-service
    • @vue/cli-ui
      • #7210 chore: upgrade to apollo-server-express 3.x

    Committers: 2

    v5.0.6

    Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

    In Vue 2.7, vue-template-compiler is no longer a required peer dependency. Rather, there's a new export under the main package as vue/compiler-sfc.

    v5.0.5

    :bug: Bug Fix

    • @vue/cli
      • #7167 fix(upgrade): prevent changing the structure of package.json file during upgrade (@​blzsaa)
    • @vue/cli-service
    • @vue/cli-plugin-e2e-cypress
      • [697bb44] fix: should correctly resolve cypress bin path for Cypress 10 (Note that the project is still created with Cypress 9 by default, but you can upgrade to Cypress 10 on your own now)

    Committers: 3

    v5.0.4

    :bug: Bug Fix

    • @vue/cli-service
    • @vue/cli-shared-utils, @vue/cli-ui
      • 75826d6 fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain

    Committers: 1

    v5.0.3

    ... (truncated)

    Changelog

    Sourced from @​vue/cli-service's changelog.

    5.0.7 (2022-07-05)

    • @vue/cli-service
    • @vue/cli-ui
      • #7210 chore: upgrade to apollo-server-express 3.x

    Committers: 2

    5.0.6 (2022-06-16)

    Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

    In Vue 2.7, vue-template-compiler is no longer a required peer dependency. Rather, there's a new export under the main package as vue/compiler-sfc.

    5.0.5 (2022-06-16)

    :bug: Bug Fix

    • @vue/cli
      • #7167 feat(upgrade): prevent changing the structure of package.json file during upgrade (@​blzsaa)
    • @vue/cli-service

    Committers: 3

    5.0.4 (2022-03-22)

    :bug: Bug Fix

    • @vue/cli-service
    • @vue/cli-shared-utils, @vue/cli-ui
      • 75826d6 fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain

    Committers: 1

    ... (truncated)

    Commits
    • b154dbd v5.0.8
    • 0260e4d fix: add devServer.server.type to useHttps judgement (#7222)
    • 4a0655f v5.0.7
    • beffe8a fix: allow disabling progress plugin via devServer.client.progress
    • 558dea2 fix: support devServer.server option, avoid deprecation warning
    • bddd64d fix: optimize the judgment on whether HTTPS has been set in options (#7202)
    • ef08a08 v5.0.6
    • fcf27e3 fixup! fix: compatibility with Vue 2.7
    • a648958 fix: compatibility with Vue 2.7
    • 98c66c9 v5.0.5
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    Type: Dependency PR: unreviewed 
    opened by dependabot[bot] 0
  • build(deps): bump loader-utils and @vue/cli-service in /examples/sfc

    build(deps): bump loader-utils and @vue/cli-service in /examples/sfc

    Bumps loader-utils to 1.4.2 and updates ancestor dependency @vue/cli-service. These dependencies need to be updated together.

    Updates loader-utils from 1.2.3 to 1.4.2

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    v1.4.0

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    v1.3.0

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)
    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    Commits

    Updates @vue/cli-service from 3.8.0 to 5.0.8

    Release notes

    Sourced from @​vue/cli-service's releases.

    v5.0.8

    :bug: Bug Fix

    v5.0.7

    • @vue/cli-service
    • @vue/cli-ui
      • #7210 chore: upgrade to apollo-server-express 3.x

    Committers: 2

    v5.0.6

    Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

    In Vue 2.7, vue-template-compiler is no longer a required peer dependency. Rather, there's a new export under the main package as vue/compiler-sfc.

    v5.0.5

    :bug: Bug Fix

    • @vue/cli
      • #7167 fix(upgrade): prevent changing the structure of package.json file during upgrade (@​blzsaa)
    • @vue/cli-service
    • @vue/cli-plugin-e2e-cypress
      • [697bb44] fix: should correctly resolve cypress bin path for Cypress 10 (Note that the project is still created with Cypress 9 by default, but you can upgrade to Cypress 10 on your own now)

    Committers: 3

    v5.0.4

    :bug: Bug Fix

    • @vue/cli-service
    • @vue/cli-shared-utils, @vue/cli-ui
      • 75826d6 fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain

    Committers: 1

    v5.0.2

    ... (truncated)

    Changelog

    Sourced from @​vue/cli-service's changelog.

    5.0.7 (2022-07-05)

    • @vue/cli-service
    • @vue/cli-ui
      • #7210 chore: upgrade to apollo-server-express 3.x

    Committers: 2

    5.0.6 (2022-06-16)

    Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

    In Vue 2.7, vue-template-compiler is no longer a required peer dependency. Rather, there's a new export under the main package as vue/compiler-sfc.

    5.0.5 (2022-06-16)

    :bug: Bug Fix

    • @vue/cli
      • #7167 feat(upgrade): prevent changing the structure of package.json file during upgrade (@​blzsaa)
    • @vue/cli-service

    Committers: 3

    5.0.4 (2022-03-22)

    :bug: Bug Fix

    • @vue/cli-service
    • @vue/cli-shared-utils, @vue/cli-ui
      • 75826d6 fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain

    Committers: 1

    ... (truncated)

    Commits
    • b154dbd v5.0.8
    • 0260e4d fix: add devServer.server.type to useHttps judgement (#7222)
    • 4a0655f v5.0.7
    • beffe8a fix: allow disabling progress plugin via devServer.client.progress
    • 558dea2 fix: support devServer.server option, avoid deprecation warning
    • bddd64d fix: optimize the judgment on whether HTTPS has been set in options (#7202)
    • ef08a08 v5.0.6
    • fcf27e3 fixup! fix: compatibility with Vue 2.7
    • a648958 fix: compatibility with Vue 2.7
    • 98c66c9 v5.0.5
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    Type: Dependency PR: unreviewed 
    opened by dependabot[bot] 0
  • build(deps): bump loader-utils and nuxt in /examples/module/nuxt

    build(deps): bump loader-utils and nuxt in /examples/module/nuxt

    Bumps loader-utils to 2.0.4 and updates ancestor dependency nuxt. These dependencies need to be updated together.

    Updates loader-utils from 0.2.17 to 2.0.4

    Release notes

    Sourced from loader-utils's releases.

    v2.0.4

    2.0.4 (2022-11-11)

    Bug Fixes

    v2.0.3

    2.0.3 (2022-10-20)

    Bug Fixes

    • security: prototype pollution exploit (#217) (a93cf6f)

    v2.0.2

    2.0.2 (2021-11-04)

    Bug Fixes

    • base64 generation and unicode characters (#197) (8c2d24e)

    v2.0.1

    2.0.1 (2021-10-29)

    Bug Fixes

    v2.0.0

    2.0.0 (2020-03-17)

    ⚠ BREAKING CHANGES

    • minimum required Node.js version is 8.9.0 (#166) (c937e8c)
    • the getOptions method returns empty object on empty query (#167) (b595cfb)
    • Use md4 by default

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    ... (truncated)

    Changelog

    Sourced from loader-utils's changelog.

    2.0.4 (2022-11-11)

    Bug Fixes

    2.0.3 (2022-10-20)

    Bug Fixes

    • security: prototype pollution exploit (#217) (a93cf6f)

    2.0.2 (2021-11-04)

    Bug Fixes

    • base64 generation and unicode characters (#197) (8c2d24e)

    2.0.1 (2021-10-29)

    Bug Fixes

    2.0.0 (2020-03-17)

    ⚠ BREAKING CHANGES

    • minimum required Node.js version is 8.9.0 (#166) (c937e8c)
    • the getOptions method returns empty object on empty query (#167) (b595cfb)
    • Use md4 by default

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by evilebottnawi, a new releaser for loader-utils since your current version.


    Updates nuxt from 2.8.1 to 2.15.8

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    Type: Dependency PR: unreviewed 
    opened by dependabot[bot] 0
  • build(deps): bump loader-utils and @vue/cli-service in /examples/module/webpack

    build(deps): bump loader-utils and @vue/cli-service in /examples/module/webpack

    Bumps loader-utils to 1.4.2 and updates ancestor dependency @vue/cli-service. These dependencies need to be updated together.

    Updates loader-utils from 1.2.3 to 1.4.2

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    v1.4.0

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    v1.3.0

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)
    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    Commits

    Updates @vue/cli-service from 3.8.0 to 5.0.8

    Release notes

    Sourced from @​vue/cli-service's releases.

    v5.0.8

    :bug: Bug Fix

    v5.0.7

    • @vue/cli-service
    • @vue/cli-ui
      • #7210 chore: upgrade to apollo-server-express 3.x

    Committers: 2

    v5.0.6

    Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

    In Vue 2.7, vue-template-compiler is no longer a required peer dependency. Rather, there's a new export under the main package as vue/compiler-sfc.

    v5.0.5

    :bug: Bug Fix

    • @vue/cli
      • #7167 fix(upgrade): prevent changing the structure of package.json file during upgrade (@​blzsaa)
    • @vue/cli-service
    • @vue/cli-plugin-e2e-cypress
      • [697bb44] fix: should correctly resolve cypress bin path for Cypress 10 (Note that the project is still created with Cypress 9 by default, but you can upgrade to Cypress 10 on your own now)

    Committers: 3

    v5.0.4

    :bug: Bug Fix

    • @vue/cli-service
    • @vue/cli-shared-utils, @vue/cli-ui
      • 75826d6 fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain

    Committers: 1

    v5.0.3

    ... (truncated)

    Changelog

    Sourced from @​vue/cli-service's changelog.

    5.0.7 (2022-07-05)

    • @vue/cli-service
    • @vue/cli-ui
      • #7210 chore: upgrade to apollo-server-express 3.x

    Committers: 2

    5.0.6 (2022-06-16)

    Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).

    In Vue 2.7, vue-template-compiler is no longer a required peer dependency. Rather, there's a new export under the main package as vue/compiler-sfc.

    5.0.5 (2022-06-16)

    :bug: Bug Fix

    • @vue/cli
      • #7167 feat(upgrade): prevent changing the structure of package.json file during upgrade (@​blzsaa)
    • @vue/cli-service

    Committers: 3

    5.0.4 (2022-03-22)

    :bug: Bug Fix

    • @vue/cli-service
    • @vue/cli-shared-utils, @vue/cli-ui
      • 75826d6 fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain

    Committers: 1

    ... (truncated)

    Commits
    • b154dbd v5.0.8
    • 0260e4d fix: add devServer.server.type to useHttps judgement (#7222)
    • 4a0655f v5.0.7
    • beffe8a fix: allow disabling progress plugin via devServer.client.progress
    • 558dea2 fix: support devServer.server option, avoid deprecation warning
    • bddd64d fix: optimize the judgment on whether HTTPS has been set in options (#7202)
    • ef08a08 v5.0.6
    • fcf27e3 fixup! fix: compatibility with Vue 2.7
    • a648958 fix: compatibility with Vue 2.7
    • 98c66c9 v5.0.5
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    Type: Dependency PR: unreviewed 
    opened by dependabot[bot] 0
  • build(deps): bump loader-utils and nuxt in /examples/ssr/nuxt

    build(deps): bump loader-utils and nuxt in /examples/ssr/nuxt

    Bumps loader-utils to 1.4.2 and updates ancestor dependency nuxt. These dependencies need to be updated together.

    Updates loader-utils from 1.1.0 to 1.4.2

    Release notes

    Sourced from loader-utils's releases.

    v1.4.2

    1.4.2 (2022-11-11)

    Bug Fixes

    v1.4.1

    1.4.1 (2022-11-07)

    Bug Fixes

    v1.4.0

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    v1.3.0

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    v1.2.3

    1.2.3 (2018-12-27)

    Bug Fixes

    • interpolateName: don't interpolated hashType without hash or contenthash (#140) (3528fd9)

    v1.2.2

    1.2.2 (2018-12-27)

    Bug Fixes

    ... (truncated)

    Changelog

    Sourced from loader-utils's changelog.

    1.4.2 (2022-11-11)

    Bug Fixes

    1.4.1 (2022-11-07)

    Bug Fixes

    1.4.0 (2020-02-19)

    Features

    • the resourceQuery is passed to the interpolateName method (#163) (cd0e428)

    1.3.0 (2020-02-19)

    Features

    • support the [query] template for the interpolatedName method (#162) (469eeba)

    1.2.3 (2018-12-27)

    Bug Fixes

    • interpolateName: don't interpolated hashType without hash or contenthash (#140) (3528fd9)

    1.2.2 (2018-12-27)

    Bug Fixes

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by evilebottnawi, a new releaser for loader-utils since your current version.


    Updates nuxt from 1.4.1 to 3.0.0

    Release notes

    Sourced from nuxt's releases.

    Nuxt 3.0 stable

    Official Release Announcenment

    💬 Release Discussion

    📝 Changelog

    Check out v3.0.0-rc.14 for other recent changes.

    🩹 Fixes

    • nuxt: Removed auto imports (#9045)
    • schema: Initialise runtimeConfig.public with empty object (#9050)
    • cli: Upgrade with latest tag (#9060)
    • nuxt: Allow union type arguments for useAsyncData (#9061)

    📖 Documentation

    • New website design (#9007)
    • Update website theme version (819deb89)
    • Minor style improvements (9ab069b2)
    • Update website-theme (780b17b1)
    • Add warning about definePageMeta issues with transitions and NuxtLoadingIndicator (#9055)
    • Add missing agencies (#9059)

    🏡 Chore

    • Update readme design (#9048)
    • Ignore parse5 for renovate update (#9046)

    ❤️ Contributors

    v3.0.0-rc.14

    Note This is the last release candidate for Nuxt v3! Are you ready? 👀

    👉 Release Discussion

    Changelog

    compare changes

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by pi0, a new releaser for nuxt since your current version.


    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    Type: Dependency PR: unreviewed 
    opened by dependabot[bot] 0
Releases(v8.28.2)
Owner
kazuya kawaguchi
software engineer, @vuejs core team member, creator of @intlify & i18n enthusiast, @vuejs-jp organizer, and wasm love
kazuya kawaguchi
🔥️ Vue I18n Lite🌐 Lightweight, minimal internationalization plugin for Vue.js

?? Lightweight, minimal internationalization plugin for Vue.js

Front Labs 12 Nov 4, 2022
Yet another internationalization plugin for Vue.js

vue-i18n Yet another internationalization plugin for Vue.js. Requirements Vue.js ^1.0.24 JQuery ^2.2.4 Instllation npm $ npm install vue-i18n-plugin b

Haixing Hu 62 Oct 9, 2021
Internationalization plugin for Vue.js

VUE-LNG Documentation en Français #en Welcome to the view-lng page view-lng is a plugin facilitating multilingual projects in Vue.js. How to use Insta

Brice CHAPONNEAU 0 Jul 21, 2019
Internationalization for vue using the i18next i18n ecosystem.

vue-i18next Internationalization for vue using the i18next i18n ecosystem. https://panter.github.io/vue-i18next/ Introduction 18next goes beyond just

Panter AG 177 Aug 2, 2022
This is a lightweight and typesafe frontend internationalization library for Vue 3 applications.

Vue3-i18n This is a lightweight and typesafe frontend internationalization library for Vue 3 applications. Basic Features define translation objects g

Planning.nl 1 Nov 14, 2021
Internationalization for Vue.

Vue Localer Internationalization for Vue. Table of Contents Install Usage Getting Started Formatting Example Built-in Functions Install $ npm i vue-lo

Vanilla IceCream 1 Nov 8, 2022
Internationalization for vue using the i18next i18n ecosystem

vue-i18next Internationalization for vue using the i18next i18n ecosystem. https://panter.github.io/vue-i18next/ Introduction 18next goes beyond just

Joel Pinto Ribeiro 0 Mar 6, 2019
Web application allowing internationalization of language variables

Babylon - Open Source Crowd Translation Babylon is a complete suite used for i18n. ?? Homepage Install npm install Run tests npm run test Author ?? Th

The Lotus 5 Mar 23, 2022
banana-i18n - Javascript Internationalization library

banana-i18n - Javascript Internationalization library banana-i18n is a javascript internationalization library that uses "banana" format - A JSON base

Wikimedia 65 Oct 14, 2022
i18n-web is a simple tool helps in externalizing the strings in a JavaScript based Application such that, Internationalization(i18n) can be achieved easily

i18n-web is a simple tool helps in externalizing the strings in a JavaScript based Application such that, Internationalization(i18n) can be achieved easily. It has the additional capability of parameterizing the strings to get the dynamic content Internationalized.

Tapas Adhikary 14 May 25, 2022
Localization plugin for vue.js 3 using vuex as store. Supports usage as plugin or composition API.

vuex-i18n This is a fork from vuex-i18n with enhancements for vue3. The plugin can be used as Plugin or as Composition API. Simple example application

Circuit by Unify 2 Jan 23, 2021
Vue CLI plugin to add vue-i18n to your Vue Project

?? vue-cli-plugin-i18n Vue CLI plugin to add vue-i18n to your Vue Project ?? Features vue-i18n basic scaffolding Locale messages in Single File compon

intlify 194 Aug 2, 2022
Localization plugin for vue.js 2.0 using vuex as store

vuex-i18n We are big fans of the awesome vue, vuex and vue-router libraries and were just looking for an easy to use internationalization plugin, empl

Departement of Clinical Research, University Hospital Basel 669 Nov 6, 2022
Simple localization plugin for the amazing Vue.js.

V-Localize About V-Localize is a very simple localization plugin for Vue.js. Your localizations will be available anywhere in your web application wra

John W. Nolette 31 Mar 22, 2022
Composition API plugin for Vue 2

@vue/composition-api Vue 2 plugin for Composition API English | 中文 ・ Composition API Docs Installation NPM npm install @vue/composition-api # or yarn

vuejs 4.1k Nov 28, 2022
Localization plugin for vue-formily.

Localization plugin for vue-formily. Links ?? Documentation Installation NPM # install with yarn yarn add @vue-formily/i18n # install with npm npm in

null 0 Sep 27, 2021
A simple i18n plugin for Vue 3

vue3-i18n A simple i18n plugin for Vue 3 Install npm install @yangss/vue3-i18n Usage 在 main.js 文件中引入 vue3-i18n import App from './App.vue' import { cr

Nicholas Yang 6 Jun 17, 2022
Vue cli plugin i18n

Vue cli plugin i18n

null 1 Apr 21, 2021
Vue plugin for integrating I18Next

vue-i18next Vue plugin for integrating I18Next. About This is a plugin for the Vue view data-binding library, integrating the I18Next internationaliza

Dr. Ralf S. Engelschall 45 Mar 8, 2022