[PR #3006] [MERGED] fix: language switching issue to en from slug #4181

Closed
opened 2026-03-17 01:44:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3006
Author: @anwarulislam
Created: 4/19/2023
Status: Merged
Merged: 4/22/2023
Merged by: @AndrewBastin

Base: mainHead: fix/locale-en-url-issue


📝 Commits (4)

  • 956cc64 chore: package updated
  • f3726e3 fix: language switching issue to en from slug
  • 7f60ddd chore: remove unused import
  • f576546 chore: bump pnpm lockfile

📊 Changes

5 files changed (+80 additions, -71 deletions)

View changed files

📝 packages/hoppscotch-common/package.json (+1 -1)
📝 packages/hoppscotch-common/src/components.d.ts (+0 -31)
📝 packages/hoppscotch-common/src/modules/i18n.ts (+0 -6)
📝 packages/hoppscotch-selfhost-web/package.json (+1 -1)
📝 pnpm-lock.yaml (+78 -32)

📄 Description

Closes #2959

Description

This PR resolves the issue of switching to en locale from URL slug. Allowed dynamic import using vite-plugin-vue-i18n this plugin.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3006 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 4/19/2023 **Status:** ✅ Merged **Merged:** 4/22/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix/locale-en-url-issue` --- ### 📝 Commits (4) - [`956cc64`](https://github.com/hoppscotch/hoppscotch/commit/956cc64a011f77114faf8e928fe5535bd015a526) chore: package updated - [`f3726e3`](https://github.com/hoppscotch/hoppscotch/commit/f3726e381154efaa7fed53f04a1cc226bcf43fe6) fix: language switching issue to en from slug - [`7f60ddd`](https://github.com/hoppscotch/hoppscotch/commit/7f60ddd49d830b54dc62caa2298cdd5d90d70593) chore: remove unused import - [`f576546`](https://github.com/hoppscotch/hoppscotch/commit/f57654663503b11bcd73ffa50ed6b03f33903c3d) chore: bump pnpm lockfile ### 📊 Changes **5 files changed** (+80 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/package.json` (+1 -1) 📝 `packages/hoppscotch-common/src/components.d.ts` (+0 -31) 📝 `packages/hoppscotch-common/src/modules/i18n.ts` (+0 -6) 📝 `packages/hoppscotch-selfhost-web/package.json` (+1 -1) 📝 `pnpm-lock.yaml` (+78 -32) </details> ### 📄 Description <!-- If this pull request closes an issue, please mention the issue number below --> Closes #2959 <!-- Issue # here --> ### Description This PR resolves the issue of switching to `en` locale from URL slug. Allowed dynamic import using `vite-plugin-vue-i18n` this plugin. <!-- Add a brief description of the pull request --> <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [x] All the tests have passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:44:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4181
No description provided.