Add I18n to Your Awesome Vue 3 App

V-Intl 🌏

Intl in your dopeass Vue 3 apps 👨‍🔧

Demo

Edit v-intl

Usage

In the docs 📓

Background

The package exposes 5 Intl components, viz.,

Formatter What it does? More Info
VIntlListFormat Enables language-sensitive list formatting. Read More
VIntlNumberFormat Enable language sensitive number formatting. Read More
VIntlDateTimeFormat Formats the Date & Time. Read More
VIntlRelativeTimeFormat Create a relative time formatter in specified locale. Read More
VIntlDisplayNames Translates region, language, currency, script. Read More

They’re are tree-shakable, meaning, you don’t need to bulk up your bundle by including all the components. I’ve tried to keep the API as consistent as possible.

Author

v-intl © Vinayak, Released under the MIT License.
Authored and maintained by Vinayak Kulkarni with help from contributors (list).

vinayakkulkarni.dev · GitHub @vinayakkulkarni · Twitter @_vinayak_k

Download Details:

Author: vinayakkulkarni

Demo: https://codesandbox.io/s/v-intl-7e0j0?fontsize=14&hidenavigation=1&theme=dark

Source Code: https://github.com/vinayakkulkarni/v-intl

#vue #vuejs #javascript

Add I18n to Your Awesome Vue 3 App
3.70 GEEK