a2ui-project / a2ui-project/a2ui

i18n considerations

未关闭
#541 5 条评论 9 个 reaction 已指派 0 人 在 GitHub 查看
P2 sprint ready status: first-line-handled type: feature/enhancement
主要语言
TypeScript
星标
16.4k
派生
1.3k
平均合并
2 天 13 小时
30 天内合并 PR
134

描述

There should be some mechanism to ensure that the UI which is rendered for the user respects their language and specific locale settings.

This should extend to handle (at least, there's probably other things I've forgotten):

- All strings returned for display (including pluralization)
- Right-to-left languages (e.g., Hebrew and Arabic)
- Date and number formatting
- Ensuring layouts scale properly (e.g., for languages such as German which tend to have much longer words)
- Icons and images may have to be modified to convey the intended meaning based on region and/or locale
- Colors may need to be changed based on region/location
- Validations (phone number, address/zip code) may have to be different based on region/location

See https://share.google/aimode/Ki79Osf7BI3JcXl1q

贡献指南

打开贡献指南

调研方向

Look for existing i18n utilities or libraries in the codebase, such as react-i18next or formatjs. Examine how strings are currently rendered and where locale settings could be injected. Check UI components for layout flexibility and text direction handling. The goal is to design a system that integrates locale-aware formatting, RTL support, and scalable layouts across the application.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
frontend, internationalization, localization
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。