nuxt-i18n-default

Add $td() method to specify default value
404
Install
npm install nuxt-i18n-default
Latest Version:0.1.1
Vue:3
Older releases:2
License:MIT
Last Updated:Jan 25, 2023
Links: GitHub  ·  npm
Maintainer: shrpne

nuxt-i18n-default

NPM Package Minified Size License: MIT

Add $td() method to specify default value

Install

NPM

npm install nuxt-i18n-default

Register Nuxt module

// nuxt-config.js
module.exports = {
    modules: [
        'nuxt-i18n-default',
        ['@nuxtjs/i18n', {
            // options
        }],
    ],
};

Usage

{{ $td('My default text', 'message.hello') }}

License

MIT License

Related Packages

@vintl/nuxt

Nuxt Module for VIntl integration

9,922 2
@brc-dd/nuxt-i18n

Minimal module for i18n with locale auto-imports & localized routing

898 12
@nuxtjs/i18n

Internationalization for Nuxt

23,877,608 2,085
@i18n-micro/types

TypeScript definitions for the Nuxt I18n Micro ecosystem.

297,836 251
@nuxtjs/i18n-edge

Internationalization for Nuxt

121,288 2,085

Version History

Version Released Vue License
0.1.1 ^3.0 MIT
0.1.0 ^3.0 MIT
0.0.3 ^2.6.10 MIT
0.0.2 ^2.6.10 MIT
0.0.1 ^2.0.0 MIT
Pre-releases (1)
Version Released License
0.0.1-security