asgardeo/javascript

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

Ouverte

#162 ouverte le 24 sept. 2025

 (3 commentaires) (0 réaction) (0 personne assignée)TypeScript (65 forks)auto 404
@asgardeo/i18nComplexity/LowType/Improvementaccessibilitygood first issue

Métriques du dépôt

Stars
 (18 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur