core-base
,core
,devtools-if
,message-compiler
,message-resolver
,petite-vue-i18n
,runtime
,size-check-core
,size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-devtools
,vue-i18n-core
,vue-i18n
- #588 feat: petite-vue-i18n (@kazupon)
core-base
,vue-i18n
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,runtime
,shared
,vue-devtools
,vue-i18n
vue-i18n
- #514 Fix FEATURE_ESM_BUNDLER_WARN flag can not be configured (@PeterAlfredLee)
core-base
,vue-i18n
size-check-vue-i18n
,vue-i18n
vue-i18n
vue-i18n
- #545 Allow number and boolean in args of number formatting (@yannbriancon)
vue-i18n
- #541 Add number formatting missing type definition (@yannbriancon)
core-base
,vue-i18n
vue-i18n
core-base
core-base
vue-i18n
core-base
- #515 Datetime format validation (@PeterAlfredLee)
- Other
- Other
vue-i18n
- #487 Add some tests about numberFormats (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
- Yann Briançon (@yannbriancon)
- Lee (@PeterAlfredLee)
- Marian Pohling (@MarianPohling)
- @userquin
- Ahmid (@snuggs)
- @noy4
- kazuya kawaguchi (@kazupon)
vue-i18n
petite-vue-i18n
,size-check-petite-vue-i18n
,size-check-vue-i18n
- kazuya kawaguchi (@kazupon)
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,petite-vue-i18n
,runtime
,size-check-core
,size-check-petite-vue-i18n
,size-check-vue-i18n
,vue-devtools
,vue-i18n-core
,vue-i18n
core-base
,vue-i18n
size-check-vue-i18n
,vue-i18n
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
vue-i18n
- #545 Allow number and boolean in args of number formatting (@yannbriancon)
core-base
,core
,devtools-if
,message-compiler
,message-resolver
,runtime
,shared
,vue-devtools
,vue-i18n
- Other
- #555 docs: add
defaultSFCLang
andglobalSFCScope
to sfc (@userquin) - #549 Fix VueJS Syntax (@MarianPohling)
- #555 docs: add
vue-i18n
- #541 Add number formatting missing type definition (@yannbriancon)
- Lee (@PeterAlfredLee)
- Marian Pohling (@MarianPohling)
- Yann Briançon (@yannbriancon)
- @userquin
- kazuya kawaguchi (@kazupon)
core-base
vue-i18n
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
core-base
- #515 Closes #383 (@PeterAlfredLee)
vue-i18n
- #514 Fix FEATURE_ESM_BUNDLER_WARN flag can not be configured (@PeterAlfredLee)
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
core-base
,vue-i18n
vue-i18n
vue-i18n
- #487 Add some tests about numberFormats (@PeterAlfredLee)
- Other
- Ahmid (@snuggs)
- Lee (@PeterAlfredLee)
- @noy4
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
vue-i18n
- #453 Support passing composer instance to Translation component (@andresberrios)
- AndrΓ©s BerrΓos (@andresberrios)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
core-base
,devtools-if
,vue-i18n
core-base
,vue-i18n
message-resolver
,shared
,vue-i18n
- #402 Add support for flat json separated with dot('.') (@PeterAlfredLee)
vue-i18n
vue-i18n
message-compiler
core-base
,vue-i18n
core-base
- #417 Coherent update from 'best-fit' to 'best fit' (@ValdoGhafoor)
message-compiler
,shared
,vue-i18n
vue-i18n
core-base
,size-check-vue-i18n
,vue-i18n
To provide experimental features for @intlify/devtools
, feature flags have been separated as follows.
__VUE_I18N_PROD_DEVTOOLS__
: enable/disable vue-devtools support in production, default: false__INTLIFY_PROD_DEVTOOLS__
: enable/disable@intlify/devtools
support in production, default: false
Previously, __INTLIFY_PROD_DEVTOOLS__
setting flagged the use of both vue-devtools and @intlify/devtools
in production.
In later v9.1, The feature flags for vue-devtools are now enabled/disabled by setting __VUE_I18N_PROD_DEVTOOLS__
.
- Other
- #420 Fix typos in Composition API page (@FlandreDaisuki)
- #406 Add easy-i18n as third-party tool (@marhali)
vue-i18n
- Chun-Hao Lien (@FlandreDaisuki)
- Lee (@PeterAlfredLee)
- Marcel (@marhali)
- Valdo Ghafoor (@ValdoGhafoor)
- Yen Kuan (@kuanyen)
- kazuya kawaguchi (@kazupon)
See the below link: https://blog.intlify.dev/posts/vue-i18n-9.html
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
- #354 Fix typo in breaking.md (@ota-meshi)
- Lee (@PeterAlfredLee)
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
vue-i18n
message-compiler
- #345 fix: convert Set with Array.from (@sayuti-daniel)
- Sayuti Daniel (@sayuti-daniel)
- kazuya kawaguchi (@kazupon)
vue-i18n
- #342 fix: feature flags (@kazupon)
- #334 fix for function
mergeLocaleMessage
, and modify some tests (@PeterAlfredLee)
- Lee (@PeterAlfredLee)
- kazuya kawaguchi (@kazupon)
core-base
- #330 fix won't fallback when
fallbackLocale
is empty string, and add a test (@PeterAlfredLee)
- #330 fix won't fallback when
- #329 fix typo in docs lazy.md (@candy02058912)
- #323 Fix typos in readme.md (@Duncank)
- #317 update lazy loading docs (@kazupon)
- #316 update composition api docs (@kazupon)
- #313 fix some typos in docs/ (@PeterAlfredLee)
- #312 Fix spelling line 195 for sfc doc : lessages to messages (@s3bc40)
- Candy Tsai (@candy02058912)
- Duncan Krebbers (@Duncank)
- Lee (@PeterAlfredLee)
- @s3bc40
- kazuya kawaguchi (@kazupon)
message-resolver
,vue-i18n
- kazuya kawaguchi (@kazupon)
message-resolver
,vue-i18n
- #294 Add support for flat json separated with dot('.') (@PeterAlfredLee)
- #301 chore/update-guide-doc-error (@JeremyWuuuuu)
- Lee (@PeterAlfredLee)
- jeremywu (@JeremyWuuuuu)
- kazuya kawaguchi (@kazupon)
- #280 fix: typo (@fabiofdsantos)
- FΓ‘bio Santos (@fabiofdsantos)
- kazuya kawaguchi (@kazupon)
Vue I18n is entering RC π
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #266 Fix casing of datetimeFormats option (@adi-wan)
- #264 update docs (@hong4rc)
- #258 docs: update installing for esm bundler (@sh0ber)
- Anh Hong (@hong4rc)
- Dan (@sh0ber)
- Lee (@PeterAlfredLee)
- @adi-wan
- kazuya kawaguchi (@kazupon)
vue-i18n
message-compiler
- #251 improvement(message-compiler): Improves parse error messages (@ota-meshi)
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
message-compiler
- #243 Fix maybe typo (@ota-meshi)
- #242 Fix not to get loc when passing true to ParserOptions.location (@ota-meshi)
core-base
,core
,message-compiler
,runtime
,shared
,vue-i18n
message-compiler
- #245 improvement(message-compiler): Change to generate AST with linked message error (@ota-meshi)
- Yosuke Ota (@ota-meshi)
- kazuya kawaguchi (@kazupon)
core-base
core-base
,message-compiler
,shared
,vue-i18n
core-base
,core
,message-compiler
,runtime
,vue-i18n
- kazuya kawaguchi (@kazupon)
core-base
,core
,message-compiler
,runtime
,size-check-core
,size-check-vue-i18n
,vue-i18n
core
,message-compiler
- kazuya kawaguchi (@kazupon)
vue-i18n
- #228 docs: fix various typos (@SamuelAlev)
- Samuel Alev (@SamuelAlev)
- kazuya kawaguchi (@kazupon)
core
,message-compiler
,message-resolver
,runtime
,shared
,vue-i18n
core
,runtime
,shared
,size-check-core
,size-check-vue-i18n
,vue-i18n
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #206 feat: resources merge to global scope (@kazupon)
- #200 feat: add te for composition API (@kazupon)
- #203 docs: typos in website header and submenu (@chartrandf)
- Francis Chartrand (@chartrandf)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #188 feat: export type prop from runtime (@kazupon)
- #187 feat: exports linked and plural function from runtime context (@kazupon)
- #165 Allow d() to take an ISO string as parameter. (@michaelzangl)
- #190 fix: locale changing for legacy mode (@kazupon)
- #180 fix: missing handler not returned (@kazupon)
- #178 fix: can't assign to property "processor" on false: not an object (@nrzull)
- #176 fix: cannot pass modifiers options (@kazupon)
- #168 fix: useScope inconsistency (@kazupon)
- #157 breaking: change i18n global property (@kazupon)
- #156 breaking: change api mode name (@kazupon)
- #155 breaking: change to default legacy mode from compsable mode (@kazupon)
- #153 port: escape ampersand (@kazupon)
- #163 Documentation - t() (@michaelzangl)
- #170 Fix readme link (@TeeVenDick)
- #160 Update README.md (@dhritzkiv)
- Andrey Pavlov (@nrzull)
- Daniel Hritzkiv (@dhritzkiv)
- Michael Zangl (@michaelzangl)
- @TeeVenDick
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #147 feat: support source map for message functions (@kazupon)
- #139 feat: escape html parameter options (@kazupon)
- Alexander Sokolov (@Alex-Sokolov)
- Daniel AbrΓ£o (@jungleBadger)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #121 export vue/runtime-core type extending (@kazupon)
- #119 fix: merge custom block locale messages (@kazupon)
- Raymond Muller (@raymondmuller)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- Stephan GroΓ (@minddust)
- kazuya kawaguchi (@kazupon)
- #97 feat: support for devtools interface (@kazupon)
- #96 feat: support vue3 rc8 (@kazupon)
- #87 feat: how to get locale messages from a given key (@kazupon)
- kazuya kawaguchi (@kazupon)
- meteorlxy (@meteorlxy)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #58 feat: componentInstanceCreatedListener option (@kazupon)
- #55 feat: support components maually instalation (@kazupon)
- kazuya kawaguchi (@kazupon)
- #47 breaking: change default of tag prop at i18n-n and i18n-d components (@kazupon)
- #43 breaking: rename plugin option name (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #27 fix: add invalid token errors in placeholder (@kazupon)
- #26 compile error improvements (@kazupon)
- #25 fix: plural syntax error with parser (@kazupon)
- #24 fix: compilation error handling (@kazupon)
- #23 fix: improve literal compilation error (@kazupon)
- #29 breaking: HTML message warning (@kazupon)
- #22 deprecated linked key with using paren token (@kazupon)
- kazuya kawaguchi (@kazupon)
- #17 Minor typo fixes (@sharpshark28)
- Ava Gaiety Wroten (@sharpshark28)
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
- #8 enhancement locale fallbacking (@kazupon)
- #7 Translation component
i18n-t
(In v8.x, it was calledi18n
component as Component interpolation feature) (@kazupon) - #6 breaking: factory improvements (@kazupon)
- kazuya kawaguchi (@kazupon)
New style API for Vue 3. See the following docs:
See the examples
directory.
The examples are offered that use the following two API styles:
- composable
- new vue-i18n API optimized for Vue 3. details about API
- legacy
- vue-i18n API almost compatible with vue-i18n v8.x
- API
- The return value of
$t
andt
methods is string only. object and array values ββare no longer returned. - The return value of
$tc
andtc
methods is string only. object and array values ββare no longer returned. VueI18n
class cannot used withnew
. It can only be used via the$i18n
property of Vue instance.- In vue-i18n-next, by replacing
new VueI18n
withcreateI18n
, you can use existingVueI18n
options as they are. - See the
examples/legacy
directory.
- In vue-i18n-next, by replacing
VueI18n.prototype.getChoiceIndex
- -> Legacy API style:
pluralizationRules
option ofcreateI18n
factory function (likenew VueI18n(...)
) - -> Compsable API style:
pluralRules
option ofcreateI18nComposer
facatory function
- -> Legacy API style:
VueI18n.version
->import { VERSION } from 'vue-i18n'
VueI18n.availabilities
->import { availabilities } from 'vue-i18n'
- See the details here
- The return value of
- See the vue-i18n issues that labeld with
Status: Ready
- imporve
fallbackLocale
orfallbackLocales
(related vue-i18n issue) <i18n>
custom block supporting for SFCv-t
directivepreserveDirectiveContent
option (depend onv-t
)- Compoonent interpolation with
<i18n>
component - Number custom formatting with
<i18n-n>
component - HTML format suppression with
warnHtmlInMessage
option - SSR
- Custom formatting
- Tooling
vue-cli-plugin-i18n
@intlify/vue-i18n-loader
@intlify/rollup-plugin-vue-i18n
@intlify/vue-i18n-extensions
@intlify/eslint-plugin-vue-i18n
npm install --save vue-i18n@next
yarn add vue-i18n@next
- kazuya kawaguchi (@kazupon)
- kazuya kawaguchi (@kazupon)
8.15.3 (2019-12-18)
- index: fix mergeLocaleMessage. add changes notification on merging with an empty target object (#752) by @jekill (048eac5), closes #752
8.15.2 (2019-12-18)
- index: Fix exception when using unit number formatting by @simonjodet (194b801), closes #750 #751
8.15.1 (2019-11-27)
- mixin: change to custom blocks parse error (a9858be)
8.15.0 (2019-10-16)
- Add constructor option for custom modifiers (#724) by @epaezrubio (3217212), closes #724
8.14.1 (2019-09-12)
- path: fix branket key error (8d2aba7)
- component: Fix interpolation component when there are empty text nodes (547cdd1) by @Demivan
8.14.0 (2019-08-12)
- fallback formatting (#637) by @sebwas (bf9929c), closes #637
- support slots syntax for component interpolation (#685) by @aavondet (71ca843), closes #685
8.13.0 (2019-08-09)
- datetime/number formats fallback warning filter (46de19e), closes #558
- fallback translation warning filter (69fc798)
- translation missing warning filter (666dc9d)
8.12.0 (2019-07-09)
- mixin: shared locale messages feature (82543de)
- typing: sharedMessages option type (6967a15)
8.11.2 (2019-04-30)
- bug(mixin): fix SSR memory leak by moving subscribeDataChanging calls into beforeMount (#572) by @Pindar (32b5795), closes #572
8.11.1 (2019-04-26)
- fix ES Modules distribution (bb631a1)
8.11.0 (2019-04-26)
- ES modules for browser (#561) (c9b9adf), closes #561
- HTML locale message warning option (#567) (4aecf03), closes #567
8.10.0 (2019-03-28)
- number: i18n-n functional component (#541) by @bponomarenko (b33579d), closes #541
- path: Keypath should parse if sub path contains spaces. (#533) by @exoego (640daaf), closes #533
- vuepress: translate documents for chinese (#536) by @xuhongbo (ccf29f8), closes #536 #531 #1 #533 #540 #541 #1 #2
8.9.0 (2019-03-08)
- index: add availableLocales (related issue #193, PR #528) by @exoego (8f75b1f), closes #193 #528 #193 #193 #193 #193
8.8.2 (2019-02-17)
8.8.1 (2019-02-10)
8.8.0 (2019-01-29)
- index: fix flat path based key issue (bed9c39), closes #349
- mixin: fix beforeDestroy can not find this.$t (#500) by @masongzhi (311b8f3), closes #500
- directive: Fix typo on warning message (#509) by @kimuraz (e879024), closes #509
- index: silence fallback warnings (#510) by @SzNagyMisu (ddc0c79), closes #510 #139
8.7.0 (2019-01-02)
8.6.0 (2018-12-25)
- pluralization: inherit pluralization rules β (#493) by @Raiondesu (7a23f32), closes #493
- format: Add the path as argument to the custom formatter (#489) by @Raiondesu (b9437ea), closes #489 #484 #484
8.5.0 (2018-12-17)
- index: Allow pluralization customization via constructor options (closes #464) (#482) by @Raiondesu (ef4b1a6), closes #464 #482 #464 #464 #464 #464 #451
- index: make silentTranslationWarn work for dates and numbers too (#481) by @Raiondesu (402092b), closes #481
- types: typed autocomplete in date and number format options (#485) by @Raiondesu (e2e5993), closes #485
8.4.0 (2018-11-30)
8.3.2 (2018-11-16)
8.3.1 (2018-11-08)
- directive: fix cannnot update with v-t when had been changed locale message (4895a2e), closes #450
- index: fix merge bug (1798490), closes #458
- missing: fix vm argument passing (dc48099), closes #453
8.3.0 (2018-10-29)
- pluralization: Extendable pluralization by @Raiondesu (bbab90b)
8.2.1 (2018-10-15)
- index: Suppress some warnings in production: smaller min.js and performance gain. (#441) by @ exoego (43931f5), closes #441
8.2.0 (2018-10-13)
- index: Add warning for circular reference in linked message (#438) by @exoego (7583485), closes #438
- index: Allow escaping link key like @:(foo.bar). (#437) by @exoego (acfc458), closes #437
- index: Pre-defined named arguments for Pluraization (#440) by @exoego (e84f0fb), closes #440
- path: Allow non-ascii chars including numbers. (#436) by @exoego (a556c58), closes #436
8.1.1 (2018-10-12)
- build: fix rollup building issues (1a1958a)
- format: Should warn as unknown if named format is not closed. (#435) by @exoego (d1f6ed0), closes #435
- install: fix cannot redfine error (6d5ec61)
- package.json: tree shaking optimization (38948c5)
8.1.0 (2018-09-03)
- install: add support for Vue.extend vue-i18n instance (#420) by @jaredzhu1993 (a60ea8b), closes #420
8.0.0 (2018-06-23)
Note that you need to guarantee this context equal to component instance in lifecycle methods (e.g. in data
options, const $t = this.$t.bind(this)
).
export default {
data() {
const $t = this.$t.bind(this)
return { msg: $t('msg') }
}
}
see the API docs
- extend:
7.8.1 (2018-06-18)
7.8.0 (2018-06-01)
- typescript: add type exportings (a7cb8da)
7.7.0 (2018-05-20)
- index: resource reactivity (887a137), closes #253
- typescript: Fix typings in components (#344) by @Demivan (2402893), closes #344
7.6.0 (2018-03-13)
- index: support retunable missing handler (#256) by @houd1ni (9fbe467)
- typescript: update TranslateResult type interface (dffc678)
7.5.0 (2018-03-11)
- flow: update TranslateResult type interface (59f4658)
- index: support object localization (#311) by @manniL (99e5006)
- missing: Add interpolation values to missing handler (#308) by @sebwas (b912d8a)
- numberformat: Explicit number format options (#305) by @bponomarenko (aa07450)
7.4.2 (2018-02-01)
7.4.1 (2018-01-25)
7.4.0 (2018-01-10)
- typescript: Allow module augmentation (#273) by @CKGrafico (4371344)
7.3.4 (2018-01-07)
7.3.3 (2017-12-19)
- extend: Fix this not found #259 (#260) by @lzxb (c29007e), closes #259 #260
- types: fix using old export (#263) by @jmigual (b295fee), closes #263
7.3.2 (2017-10-19)
- typescript: fix import problem of vue2.5 because of the types update (#238) by @peterchealse (cb98347), closes #238
7.3.1 (2017-10-04)
7.3.0 (2017-09-22)
- directives: support v-t custom directive (welcome back!) (af9a2e7)
- typing: fix flowtype (fa06f44)
7.2.0 (2017-08-28)
7.1.2 (2017-08-25)
7.1.1 (2017-08-03)
7.1.0 (2017-07-30)
7.0.5 (2017-07-08)
7.0.4 (2017-07-01)
- link: fix ie traverse custom Array.prototype method (#188) by @632781460 (d3b308b), closes #188
7.0.3 (2017-06-13)
- fallback: fix cannot fallabck localization (694e6f2), closes #176
- fallback: fix fallback locale issue (d9ceddc), closes #174
- linked: fix cannot fallback linked localization (0c572f3), closes #172
7.0.2 (2017-06-10)
7.0.1 (2017-06-04)
- fix cannat single file component translation (687d406), closes #169
- fix cannnot resolve linked localization with component interpolation (c973619), closes #171
- fix datetime and number fallback localization (be9e1bd), closes #168
- fix linked translation with using hyphen or underscore keypath (6e9f151), closes #170
7.0.0 (2017-05-29)
π π π
See the docs
- datetime localization:
- number localization:
- component interpolation:
- typescript:
- fix translation performance issue (6032a51)
- path: tweak for ssr
- format: re-impelement formatter
- formatter: change method nam
- flowtype: fix locale message related type changing and remove underscore type
7.0.0-rc.1 (2017-05-26)
- flowtype: remove unneccesary type (eb60156)
7.0.0-beta.4 (2017-05-23)
7.0.0-beta.3 (2017-05-15)
- bring back from bug fix (95be4ea)
7.0.0-beta.2 (2017-05-14)
7.0.0-beta.1 (2017-05-11)
- datetime localization: add datetime localization (3282075)
- number localization: add number localization (87ee7b3)
- component interpolation: (23f7d34), closes #145 #144 #37
- typescript: add TypeScript type definitions (#161) by @aicest (61cebca)
- format: re-impelement formatter (a8c046d)
- formatter: change method name (6eed51c)
- flowtype: fix locale message related type changing (c30d576)
6.1.3 (2017-05-15)
6.1.2 (2017-05-15)
6.1.1 (2017-04-19)
- te: Fix
te()
that always usesthis.locale
, even whenlocale
supplied (#147) by @aicest (bf15eeb), closes #147
6.1.0 (2017-04-14)
- api: add 'mergeLocaleMessage' method (ef21621), closes #131
- silent: add silent translation missing option (29b3a17), closes #139
6.0.0 (2017-04-05)
π π π
See the docs
- Single File Components: example
- API
- Dynamic locale DEPRECATED
6.0.0-beta.1 (2017-03-22)
- change
fallbackRoot
andsync
option defaulttrue
value (0890b44) - remove messages settter, and add getLocaleMessage API (0f0914d)
- mixin: fix computed props errors (a6b7e37)
- flowtype: argument names (cf14425)
- fallbackLocale: support reactivity (ed758be)
- warn: suppress warning messages for production (6e417d2)
6.0.0-alpha.6 (2017-03-16)
- add 'setLocaleMessage' API (8b71eda)
6.0.0-alpha.5 (2017-03-11)
- mixin: fix cannot create VueI18n instance error for minify production (7eeb29f)
6.0.0-alpha.4 (2017-03-11)
6.0.0-alpha.3 (2017-03-08)
- add
sync
option (5c46c07)
- mixin: add error throwings and a warning (0e4ac39)
6.0.0-alpha.2 (2017-02-27)
6.0.0-alpha.1 (2017-02-23)
This is the first release of 6.0. In this version, we are some big breaking changes.
- Recommended for: experiments, prototypes, upgrading small, non-critical apps
- NOT recommended for: production use, upgrading production apps
In the examples, please refer to this examples directory.
- Formatting support
- Pluralization support
- Locale and KeyPath Syntax support
- Linked translation support
- Fallback translation support
- Component locale support
- Dynamic locale DEPRECATED
- Hot reload support
- Vue.config.lang DEPRECATED, use VueI18n constructor
locale
option, or VueI18n#locale - Vue.config.fallbackLang DEPRECATED, use VueI18n constructor
fallbackLocale
option, or VueI18n#fallbackLocale - Vue.config.missingHandler DEPRECATED, use VueI18n constructor
missing
option, or VueI18n#missing - Vue.config.i18nFormatter DEPRECATED, use VueI18n constructor
formatter
option, or VueI18n#formatter
- Vue.locale DEPRECATED, use VueI18n constructor
messages
option, or VueI18n#messages - Vue.t DEPRECATED, use VueI18n#t
- Vue.tc DEPRECATED, use VueI18n#tc
- Vue.te DEPRECATED, use VueI18n#te
- locales DEPRECATED, use
messages
ofi18n
option (e.g{ i18n: { messaes: ... } }
)
- $lang DEPRECATED, use
locale
of Vue instance property$i18n
(e.gvm.$i18n.locale = 'en'
)
- constructor options: See the
I18nOptions
type of flowtype. - methods / properties: See the
I18n
interface definition of flowtype.
5.0.2 (2017-02-18)
5.0.1 (2017-02-16)
- asset: update locale reactivity setting (b42fd9a)
5.0.0 (2017-02-04)
4.10.0 (2017-01-01)
- override: change langVM keeping variable name (3ec1bb2)
4.9.0 (2016-12-17)
4.8.0 (2016-12-08)
4.7.4 (2016-11-29)
4.7.3 (2016-11-24)
4.7.2 (2016-11-19)
4.7.1 (2016-10-29)
- interpolate: named formatting: use name if value is missing (#77) by @SebastianS90 (a0cc343)
- named: using default use nmae when value is missing (c34e8f1)
4.7.0 (2016-10-28)
4.6.0 (2016-09-24)
- config: custom message formatter (#57) by @jvmccarthy (2748eb4)
4.5.0 (2016-09-15)
4.4.1 (2016-09-10)
4.4.0 (2016-08-29)
- add linked translations (#50) by @mmochetti (f7ae073)
4.3.1 (2016-08-26)
4.3.0 (2016-08-26)
- add pluralization (#44) by @mmochetti (b5b84d8)
4.2.3 (2016-08-23)
- improve re-rendering cost when change the lang (0707338)
4.2.2 (2016-08-15)
4.2.1 (2016-08-13)
- translate: fallback translation warning (5f6b271)
4.2.0 (2016-08-12)
- format: use hasOwn function of Vue.util (a8a19a0)
4.1.0 (2016-07-25)
- util: fixed isArray reference errors (0c6f6a0)
- support vue 2.0.0.beta later (0e1d2f7)
4.0.1 (2016-06-06)
- translate: fix underscore named argument translate issue (eeaf936)
4.0.0 (2016-05-10)
- support vue 2.0-pre-alpha (f6517bc)
3.1.1 (2016-05-09)
- auto installation for standalone (2b0dc09)
3.1.0 (2016-05-09)
- options: remove Vue.use options (d87b59b)
- keypath: port the object path parser (3ae04b7)
- translation: fix hypenate included key translating (d0a415f), closes #24
- translation: warning outputing when cannot translate with keypath (b4c7c0e), closes #22
3.0.0 (2016-04-18)
- lang: support lang reactive changing (203ee85), closes #2 #15
- locale: support dynamic local (4d61e8d), closes #6 #21
- index: plugin install
Vue.use
options (options.locales
,options.lang
). See README
2.4.1 (2016-02-29)
- i18n: support ruby on rails i18n interpolation format (b6b2490)
2.4.0 (2016-02-06)
2.3.3 (2015-12-09)
- npm: npm install error (e31e89e)
- bower: good-bye bower π (d99eb15)
- bower: not support
bower
package manager
I think that bower is dead. π
2.3.2 (2015-12-09)
- bundle: more compact the vue-i18n distribution file (2f32ecc)
2.3.1 (2015-12-01)
- index: automatically install for standalone (25b8059)
2.3.0 (2015-11-26)
- index: support automatically install for standalone (ada2673)
- Re-implemetation with ES6 (babel)
- Add global local language setting with
Vue.config.lang
- Support Vue.js 0.12
- Remove the followings (Breaking Changes)
Vue.t
functionv-t
directive
- Fix unit test error
- Support template string in
$t
method - Support language changing in
$t
method
- Add
$t
method
- Bump to 0.11.0
- Support Vue.js 0.11.0-rc
- Support bower
- Add
Vue.t
function
- Release first
- Initial project