feat(i18n): add Korean (ko) translation

Adds a complete Korean locale (surfsense_web/messages/ko.json) with full
key parity with en.json, and wires ko into every place locales are
currently enumerated: next-intl routing config, the client-side locale
context/loader, and the two language-switcher UIs (main app + sidebar
user profile).
This commit is contained in:
moduvoice 2026-07-10 11:22:54 +07:00
parent 1ae927a7db
commit d3d8f10940
5 changed files with 830 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import { defineRouting } from "next-intl/routing";
*/
export const routing = defineRouting({
// A list of all locales that are supported
locales: ["en", "es", "pt", "hi", "zh"],
locales: ["en", "es", "pt", "hi", "zh", "ko"],
// Used when no locale matches
defaultLocale: "en",