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

fix: strategy: 'no_prefix' when using differentDomains #3061

Merged

Conversation

BobbieGoede
Copy link
Collaborator

@BobbieGoede BobbieGoede commented Aug 14, 2024

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

This should resolve #3058

I went through the docs and changed the notice on the no_prefix where applicable. Someday I'll try and restructure the docs to better describe the route localization rules as the special cases/notices are a bit scattered through the pages now 🤔

📝 Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.

@BobbieGoede BobbieGoede self-assigned this Aug 14, 2024
@BobbieGoede BobbieGoede changed the title [DRAFT[ fix: rename locale property iso to language fix: strategy: 'no_prefix' when using differentDomains Aug 15, 2024
@BobbieGoede BobbieGoede marked this pull request as ready for review August 15, 2024 07:48
@kazupon kazupon merged commit 8536b23 into nuxt-modules:main Aug 15, 2024
8 checks passed
BobbieGoede added a commit that referenced this pull request Aug 15, 2024
* fix: route localization with `differentDomains`

* fix: prevent route removal

* fix: `switchLocalePath` resolution for `differentDomains`

* docs: update notes to clarify `differentDomains` case
antoinezanardi referenced this pull request in antoinezanardi/werewolves-assistant-web-next Aug 16, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@nuxtjs/i18n](https://i18n.nuxtjs.org)
([source](https://github.com/nuxt-community/i18n-module)) | [`^8.3.3`
->
`^8.4.0`](https://renovatebot.com/diffs/npm/@nuxtjs%2fi18n/8.3.3/8.4.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@nuxtjs%2fi18n/8.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nuxtjs%2fi18n/8.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nuxtjs%2fi18n/8.3.3/8.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nuxtjs%2fi18n/8.3.3/8.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nuxt-community/i18n-module (@&#8203;nuxtjs/i18n)</summary>

###
[`v8.4.0`](https://github.com/nuxt-modules/i18n/releases/tag/v8.4.0)

[Compare
Source](https://github.com/nuxt-community/i18n-module/compare/v8.3.3...v8.4.0)

#####    🚀 Features

- Configurable directory restructure  -  by
[@&#8203;BobbieGoede](https://github.com/BobbieGoede) in
[https://github.com/nuxt-modules/i18n/issues/3054](https://github.com/nuxt-modules/i18n/issues/3054)
[<samp>(c906a)</samp>](https://github.com/nuxt-modules/i18n/commit/c906a8d9)

#####    🐞 Bug Fixes

- Rename locale `iso` property to `language`  -  by
[@&#8203;BobbieGoede](https://github.com/BobbieGoede) in
[https://github.com/nuxt-modules/i18n/issues/3055](https://github.com/nuxt-modules/i18n/issues/3055)
[<samp>(df938)</samp>](https://github.com/nuxt-modules/i18n/commit/df938371)
- `strategy: 'no_prefix'` when using `differentDomains`  -  by
[@&#8203;BobbieGoede](https://github.com/BobbieGoede) in
[https://github.com/nuxt-modules/i18n/issues/3061](https://github.com/nuxt-modules/i18n/issues/3061)
[<samp>(53f16)</samp>](https://github.com/nuxt-modules/i18n/commit/53f16e6a)

#####     [View changes on
GitHub](https://github.com/nuxt-modules/i18n/compare/v8.3.3...v8.4.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/antoinezanardi/werewolves-assistant-web-next).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

Possible regression with custom domains and localized paths
2 participants