Comments (2)
Hi @drupalshift
You can access localePath()
from your plugin:
redirect(app.localePath('/server-unreachable'))
from i18n.
This question has been resolved by @paulgv, see answer.
from i18n.
Related Issues (20)
- Nuxt's entry file grows too large with adding more languages and pages HOT 3
- Cant find component interpolation (<i18n> component) HOT 2
- Add option to edit canonical when using setI18nParams() HOT 6
- canonicalQueries does not work HOT 1
- `NuxtLinkLocale` doesn't transform href prop
- [>=8.0.1] Vue warns that `onUnmounted` is called when there is no active component instance to be associated with HOT 1
- useLocaleHead() does not work on Index page HOT 4
- After update to Nuxt 3.10 a new warning shows in the console: `[Vue warn]: onUnmounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement` HOT 2
- Add `fallbackLocale` to nuxt.config options HOT 2
- Use usei18n() in middleware , SyntaxError: Must be called at the top of a `setup` function HOT 5
- [8.0.1] Route params not resolved in (async) middleware HOT 6
- statusCode in rootRedirect not working with strategy 'prefix' HOT 4
- Default Locale Not Functioning as Expected: Browser Default Locale Overrides Configured Default Locale HOT 2
- Allow setting `detectBrowserLanguage.cookieDomain` by `runtimeConfig` HOT 2
- switchLocalePath triggers useAsyncData watch
- Canonical and Hreflang Links output encoded
- $i18n.locales only returns code and not other properties HOT 3
- <NuxtLinkLocale> does not work for nested routes HOT 8
- More options env HOT 3
- useLocaleHead doesn't change or its not reactive from 8.0.1 version. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i18n.