GitHub - fluent-vue/fluent-vue: Internationalization plugin for Vue.js (original) (raw)

SWUbanner

Internationalization plugin for Vue.js

GitHub Workflow Status codecov npm bundle size Standard - JavaScript Style Guide GitHub license

fluent-vue is a Vue.js integration for Fluent.js - JavaScript implementation of Mozilla's Project Fluent

🚀 Features

🎉 Example

{{ $t('hello-user', { userName }) }}
{{ $t('shared-photos', { userName, photoCount, userGender }) }}
# Simple things are simple. hello-user = Hello, {$userName}!

Complex things are possible.

shared-photos = {$userName} {$photoCount -> [one] added one photo *[other] added {$photoCount} new photos } to {$userGender -> [male] his stream [female] her stream *[other] their stream }.

📖 Documentation

Documentation can be found here: https://fluent-vue.demivan.me

Examples for different Vue.js versions and build systems can be found here.

📜 Changelog

Changes for each release are documented in the CHANGELOG.md.

📦 Packages

Project NPM Repo
fluent-vue fluent-vue fluent-vue/fluent-vue
unplugin-fluent-vue unplugin-fluent-vue fluent-vue/unplugin-fluent-vue

📄 License

MIT License © 2020 Ivan Demchuk