Texonom
Texonom
/
Application
Application
/Network Science/ICT/Computer Network/Internet/WWW/Web Service/Web App/Web App Framework/
Vue
Vue
/Vue Tool/Vue Framework/
Nuxt js
Nuxt js
/Nuxt Module/
Nuxt I18n
Search

Nuxt I18n

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 May 26 6:19
Editor
Editor
Seonglae ChoSeonglae Cho
Edited
Edited
2023 Feb 10 5:17
Refs
Refs
i18n
Vue I18n
 
 

Options

  • code (required) - unique identifier of the locale
  • iso (required when using SEO features)
 

per component

 

api doc

API Reference
localePath Returns localized path for passed in route. If locale is not specified, uses current locale. See also Basic usage - nuxt-link. switchLocalePath Returns path of the current route for specified locale. See also Basic usage - nuxt-link. See type definition for Location. getRouteBaseName Returns base name of current (if argument not provided) or passed in route.
API Reference
https://i18n.nuxtjs.org/api

github

nuxt-community/i18n-module
i18n for your Nuxt project Integration with vue-i18n Automatic routes generation and custom paths Search Engine Optimization Lazy-loading of translation messages Redirection based on auto-detected language Different domain names for different languages Storing current locale and messages with Vuex Firstly, you need to add nuxt-i18n to your Nuxt config.
nuxt-community/i18n-module
https://github.com/nuxt-community/i18n-module
nuxt-community/i18n-module
 
 
 

Table of Contents
Optionsper componentapi docgithub

Recommendations

Texonom
Texonom
/
Application
Application
/Network Science/ICT/Computer Network/Internet/WWW/Web Service/Web App/Web App Framework/
Vue
Vue
/Vue Tool/Vue Framework/
Nuxt js
Nuxt js
/Nuxt Module/
Nuxt I18n
Copyright Seonglae Cho