[PR #2191] [CLOSED] Vue i18n (implements internationalization en, es and vi) #2133

Closed
opened 2026-02-26 03:33:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2191
Author: @pwqw
Created: 1/9/2026
Status: Closed

Base: masterHead: master


📝 Commits (3)

  • ebc7788 feat: add localization support with English and Spanish language files
  • fe3a424 feat: thêm hỗ trợ ngôn ngữ tiếng Việt 🐵
  • 5552704 fix: call useI18n at top level of setup functions

📊 Changes

214 files changed (+4348 additions, -1101 deletions)

View changed files

app/Http/Middleware/SetLocaleFromBrowser.php (+82 -0)
📝 bootstrap/app.php (+3 -0)
📝 package.json (+1 -0)
📝 pnpm-lock.yaml (+45 -0)
📝 resources/assets/js/__tests__/TestHarness.ts (+16 -0)
📝 resources/assets/js/app.ts (+16 -0)
📝 resources/assets/js/components/album/AlbumCard.spec.ts (+2 -2)
📝 resources/assets/js/components/album/AlbumCard.vue (+11 -8)
📝 resources/assets/js/components/album/AlbumContextMenu.spec.ts (+6 -6)
📝 resources/assets/js/components/album/AlbumContextMenu.vue (+9 -6)
📝 resources/assets/js/components/album/AlbumInfo.vue (+5 -2)
📝 resources/assets/js/components/album/AlbumListSorter.spec.ts (+6 -5)
📝 resources/assets/js/components/album/AlbumListSorter.vue (+7 -4)
📝 resources/assets/js/components/album/AlbumTrackList.vue (+4 -1)
📝 resources/assets/js/components/album/AlbumTrackListItem.vue (+3 -1)
📝 resources/assets/js/components/album/EditAlbumForm.spec.ts (+10 -10)
📝 resources/assets/js/components/album/EditAlbumForm.vue (+16 -13)
📝 resources/assets/js/components/album/__snapshots__/AlbumCard.spec.ts.snap (+2 -2)
📝 resources/assets/js/components/artist/ArtistCard.vue (+7 -4)
📝 resources/assets/js/components/artist/ArtistContextMenu.vue (+7 -6)

...and 80 more files

📄 Description

Thank you for everything!
Sorry for the inconvenience.

I hope my changes are helpful, and there's no obligation to merge them. You can perform, test, change, and sign them freely without my consent or attribution.

1
2


🔄 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/koel/koel/pull/2191 **Author:** [@pwqw](https://github.com/pwqw) **Created:** 1/9/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`ebc7788`](https://github.com/koel/koel/commit/ebc77887269d67f434bdbba1414bd8689f011bdd) feat: add localization support with English and Spanish language files - [`fe3a424`](https://github.com/koel/koel/commit/fe3a42466cfd394ebd952ae4553798b502c6eef2) feat: thêm hỗ trợ ngôn ngữ tiếng Việt 🐵 - [`5552704`](https://github.com/koel/koel/commit/555270451eba73fa2512be3727daad143fc98927) fix: call useI18n at top level of setup functions ### 📊 Changes **214 files changed** (+4348 additions, -1101 deletions) <details> <summary>View changed files</summary> ➕ `app/Http/Middleware/SetLocaleFromBrowser.php` (+82 -0) 📝 `bootstrap/app.php` (+3 -0) 📝 `package.json` (+1 -0) 📝 `pnpm-lock.yaml` (+45 -0) 📝 `resources/assets/js/__tests__/TestHarness.ts` (+16 -0) 📝 `resources/assets/js/app.ts` (+16 -0) 📝 `resources/assets/js/components/album/AlbumCard.spec.ts` (+2 -2) 📝 `resources/assets/js/components/album/AlbumCard.vue` (+11 -8) 📝 `resources/assets/js/components/album/AlbumContextMenu.spec.ts` (+6 -6) 📝 `resources/assets/js/components/album/AlbumContextMenu.vue` (+9 -6) 📝 `resources/assets/js/components/album/AlbumInfo.vue` (+5 -2) 📝 `resources/assets/js/components/album/AlbumListSorter.spec.ts` (+6 -5) 📝 `resources/assets/js/components/album/AlbumListSorter.vue` (+7 -4) 📝 `resources/assets/js/components/album/AlbumTrackList.vue` (+4 -1) 📝 `resources/assets/js/components/album/AlbumTrackListItem.vue` (+3 -1) 📝 `resources/assets/js/components/album/EditAlbumForm.spec.ts` (+10 -10) 📝 `resources/assets/js/components/album/EditAlbumForm.vue` (+16 -13) 📝 `resources/assets/js/components/album/__snapshots__/AlbumCard.spec.ts.snap` (+2 -2) 📝 `resources/assets/js/components/artist/ArtistCard.vue` (+7 -4) 📝 `resources/assets/js/components/artist/ArtistContextMenu.vue` (+7 -6) _...and 80 more files_ </details> ### 📄 Description Thank you for everything! Sorry for the inconvenience. I hope my changes are helpful, and there's no obligation to merge them. You can perform, test, change, and sign them freely without my consent or attribution. ![1](https://github.com/user-attachments/assets/03a57aaa-867b-4df8-98ae-87fe2a7e7f22) ![2](https://github.com/user-attachments/assets/8bbc8bbc-51b1-421f-830d-1989cc31fb5d) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:33:22 +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/koel-koel#2133
No description provided.