vue-i18n-tools
Installation
npm install --save vue-i18n-tools
Getting Started
HTML
{{ $t("Hello World!") }}
JavaScript
; Vue; const locales = sk: translations: 'Hello World!': 'Ahoj Svet!' de: translations: 'Hello World!': 'Hallo Welt!' ; const i18n = locale: 'sk' locales; i18n;
Todo
- custom resource load function to avoid polyfills for fetch
- docs
- server translate API
License
Copyright (c) 2018 Andrej Adamcik