Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add i18n APIs to Nuxt Context #1120

Merged
merged 3 commits into from
Mar 24, 2021
Merged

feat: add i18n APIs to Nuxt Context #1120

merged 3 commits into from
Mar 24, 2021

Conversation

rchl
Copy link
Collaborator

@rchl rchl commented Mar 24, 2021

The APIs that were exposed on context.app, like:

  • i18n
  • getRouteBaseName
  • localePath
  • localeRoute
  • switchLocalePath

are now also exposed directly on context.

Resolves #1112

The APIs that were exposed on `context.app`, like:
 - `i18n`
 - `getRouteBaseName`
 - `localePath`
 - `localeRoute`
 - `switchLocalePath`

 are now also exposed directly on `context`.

Resolves #1112
@rchl rchl merged commit 394ec7d into master Mar 24, 2021
@rchl rchl deleted the fix/add-to-context branch March 24, 2021 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add i18n in context
1 participant