Skip to content

Ko translation - #7573

Merged
c121914yu merged 7 commits into
mainfrom
ko
Aug 21, 2026
Merged

Ko translation#7573
c121914yu merged 7 commits into
mainfrom
ko

Conversation

@c121914yu

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings August 21, 2026 10:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@cla-assistant

cla-assistant Bot commented Aug 21, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ c121914yu
❌ moduvoice
You have signed the CLA already but the status is still pending? Let us recheck it.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fe9e7e3959

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/web/i18n/utils.ts Outdated
'en-US': LangEnum.en,
'en-us': LangEnum.en
'en-us': LangEnum.en,
'ko-KR': LangEnum.ko_KR

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Normalize Korean locale variants

Add case-insensitive and language-only Korean mappings rather than only the canonical spelling. getLangMapping looks up the lowercased value after this table, but the table has no ko-kr key, and its prefix fallback handles only zh and en; consequently common browser values such as ko or lowercase ko-kr resolve to the default zh-CN. Since useI18nLng initializes first-time visitors from navigator.language, affected Korean users are automatically switched to Simplified Chinese despite the new Korean resources.

Useful? React with 👍 / 👎.

"enterprise_auth.error.task_not_found": "인증 작업이 존재하지 않거나 종료되었습니다",
"enterprise_auth.error.too_frequent": "시도 횟수가 너무 많습니다. 나중에 다시 시도해 주세요.",
"enterprise_auth_notice_benefit_advanced": "더 많은 프리미엄 기능을 갖춘 15일 Advanced 요금제 잠금 해제",
"enterprise_auth_notice_benefit_intro": "인증에 성공하면 계정이 자동으로 45만원 상당의 Advanced 혜택으로 업그레이드됩니다:",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the advertised benefit value

Keep the source value and currency instead of translating RMB 450 as 45만원 (₩450,000). This string is rendered directly by EnterpriseAuthNoticeModal, so Korean users are promised a substantially different and much larger benefit than the 450元 shown by the source locale, with no locale-specific pricing logic supporting that change.

Useful? React with 👍 / 👎.

Comment thread packages/web/i18n/ko-KR/common.json Outdated
"n_dataset_amount": "{{amount}}개 데이터셋 한도",
"n_dataset_size": "{{amount}}개 데이터셋 인덱스",
"n_max_upload_file_count": "최대 {{amount}}개 파일 업로드",
"n_max_upload_file_limit": "각 {{size}}MB, 최대 {{count}}개 파일 업로드",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid appending a second MB unit

Remove the literal MB after {{size}}. Every caller shown for this key passes a preformatted size—such as formatFileSize(maxSize), which already returns values like 50 MB—so the Korean upload and plan-limit text renders malformed output such as 50 MBMB.

Useful? React with 👍 / 👎.

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 28.38% 2666 / 9393
🔵 Statements 28.31% 2808 / 9917
🔵 Functions 23.2% 522 / 2250
🔵 Branches 23.29% 1263 / 5422
File CoverageNo changed files found.
Generated in workflow #2465 for commit 6faf3c3 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

Admin Preview Image Ready!

ghcr.io/labring/fastgpt-pr:admin_6faf3c34be50d91af497c4c3af44cd9e2f69a6ae

🕒 Time: 2026-08-22 00:58:00 (UTC+8)

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

Build and publish successful - Preview fastgpt Image:

ghcr.io/labring/fastgpt-pr:fastgpt_858b6aaf6913a76395c51ac3430d730e0a792782

🕒 Time: 2026-08-22 00:40:11 (UTC+8)

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

Coverage Report

Package Statements Branches Functions Lines
Global 89.98% 84.36% 89.06% 91.26%
Service 71.65% 64.18% 71.01% 72.94%
Web 64.78% 66.88% 34.59% 63.17%
App 17.10% 14.46% 11.76% 17.74%

moduvoice and others added 6 commits August 22, 2026 00:32
Add full Korean translation for the main app's product-facing i18n
system (packages/web/i18n, shared by projects/app and
projects/marketplace), which previously only supported en/zh-CN/zh-Hant.
All 24 namespace files are translated with full key parity against the
English source (3634 keys total).

Register the new locale end-to-end: LangEnum/LocaleList/langMap
(with a new Korea flag icon), next-i18next locales arrays in both
projects/app and projects/marketplace, the browser-language-to-locale
mapping in packages/web/i18n/utils.ts, and the shared-chat language
switcher's locale list.

Also harden getModelProvider() on both the client store and the
server-side provider controller: they previously indexed a
provider-name/avatar cache map built only for the pre-existing three
locales, which would throw when called with any other locale
(including the new 'ko') — now they gracefully fall back to the
default provider info instead.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Co-authored-by: Archer <545436317@qq.com>
@github-actions

Copy link
Copy Markdown

Docs preview deployed

🔗 👀 Click here to visit preview

ghcr.io/labring/fastgpt-docs-pr:858b6aaf6913a76395c51ac3430d730e0a792782

🕒 Time: 2026-08-22 00:36:39 (UTC+8)

@c121914yu
c121914yu merged commit 7668700 into main Aug 21, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants