mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-05 23:54:25 +00:00
feat(i18n): add Korean locale (#531)
Add a Korean message catalog covering every key in the English catalog, with placeholders matching English for each message. Register ko in the inlang project, accept it as a sign-up and saved user locale, and offer it in the sign-up language switch and the team settings language select. Co-authored-by: phj1081 <5908832+phj1081@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
phj1081
Claude
parent
2be1093b91
commit
d255e76806
@@ -199,7 +199,10 @@ export const Route = createRootRouteWithContext<MyRouterContext>()({
|
||||
try {
|
||||
await fetchMetadata(teamId)
|
||||
const savedLocale = getMetadata<string>('locale')
|
||||
if ((savedLocale === 'en' || savedLocale === 'zh') && savedLocale !== getLocale()) {
|
||||
if (
|
||||
(savedLocale === 'en' || savedLocale === 'zh' || savedLocale === 'ko') &&
|
||||
savedLocale !== getLocale()
|
||||
) {
|
||||
setLocale(savedLocale, { reload: false })
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user