1.0.33 • Published 2 years ago
@inyur/nuxt-i18n v1.0.33
@inyur/nuxt-i18n
Setup
- Add
@inyur/nuxt-i18n
dependency to your project
npm install --save @inyur/nuxt-i18n
- Add
@inyur/nuxt-i18n
to themodules
section ofnuxt.config.js
export default {
modules: [
'@inyur/nuxt-i18n',
]
}
Requirements
Required env variables:
- LOCALE_COOKIE_DOMAIN
- LOCALE_COOKIE_KEY
Configuration
// nuxt.config.js
module.exports = {
inyurI18n: {
// You can limit needed locales, optional
// By default this module use all awailable languages
// supported by module
// locales: ['en'], // Optional
// You can choose strategy
// Available 'no_prefix' and 'prefix'
// By default use no_prefix strategy
// strategy: 'no_prefix', // Optional
}
}
***
This module automaticaly use or create directory @/translations
And all languange files inside if it not existed
This module use @nuxtjs/i18n internaly
For more docs see https://i18n.nuxtjs.org/
License
Copyright (c) Igor Pylypenko
1.0.33
2 years ago
1.0.26
2 years ago
1.0.25
2 years ago
1.0.29
2 years ago
1.0.28
2 years ago
1.0.27
2 years ago
1.0.32
2 years ago
1.0.31
2 years ago
1.0.30
2 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.22
3 years ago
1.0.21
3 years ago
1.0.20
3 years ago
1.0.23
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago