@pyxo/qint
v1.0.0-beta.8
Published
Qint (Quasar Internationalization), a library to make your Quasar app i18n easier.
Downloads
3
Readme
Introduction
Qint (Quasar internationalization) is a library that facilitates the i18n of Quasar apps. Qint extends Vint.
Installation
Using the app extension
The app extension Int is the easiest way to install and get started.
Manual install
yarn add vue-i18n@next
yarn add @pyxo/qint
# or
npm install vue-i18n@next
npm install @pyxo/qint
Add Wint/Vint/Qint packages to quasar.conf.js > build > transpileDependencies
:
- // transpileDependencies: [],
+ transpileDependencies: [/@pyxo\/(w|v|q)int/],
Features
- SSR support.
- Supports different URL modes: prefix (example.com/en), subdomain (en.example.com), host (example.co.uk), search-param (example.com?l=en), none (example.com)
- Supports the use of a language tag cookie.
- Can make use of the user's client language preferences (e.g. browser settings).
- Support for
hreflang
link tags. - Lazy loading of Quasar language packs and
vue-i18n
locale messages. - Language tags, Qint uses the term "language tag" to denote a language or a locale, and recommends the use of BCP 47 language tags.
Documentation
API docs: qint.pyxo.net/api
Source code
Repository: github.com/pyxo-dev/qint
Contributions are welcome!