asgardeo/javascript

chore: add `中文 - zh-CN` language support

開放

#162 建立於 2025年9月24日

 (3 則留言) (0 個反應) (0 位負責人)TypeScript (65 個分叉)auto 404
@asgardeo/i18nComplexity/LowType/Improvementaccessibilitygood first issue

倉庫指標

星標
 (18 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Current Limitation

Currently, the Asgardeo JavaScript SDK does not have support for Chinese (Simplified - 中文 - zh-CN). Users who prefer Simplified Chinese will not see UI components translated, limiting accessibility for Chinese-speaking users.

[!Important] Contributors for this task should be native Chinese speakers or have professional fluency to ensure accurate, culturally appropriate translations.

Suggested Improvement

Add Chinese (zh-CN) language support to the @asgardeo/i18n package.

Implementation Plan:

  1. Create a new locale file:

    Follow https://github.com/asgardeo/javascript/blob/main/CONTRIBUTING.md#contributing-to-the-internalization-i18n-package

  2. Add documentation for usage:

Please select the package issue is related to

@asgardeo/react, @asgardeo/nextjs

Version

current

Reporter Checklist

  • I have searched the existing issues and this is not a duplicate.
  • I have provided all the necessary information.
  • I have verified the improvement is not available in the latest version of the package.

貢獻者指南