a2ui-project / a2ui-project/a2ui

i18n considerations

Open
#541 5 comments 9 reactions 0 assignees View on GitHub
P2 sprint ready status: first-line-handled type: feature/enhancement
Dominant language
TypeScript
Stars
16.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
134

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, internationalization, localization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.