-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Though this is just an idea and currently where needs this feature is limited, but it may be better to add i18n support for some places.
How to introduce
Not by local way, but by global way such as using Context API
How to use
For example, title attributes for some abbr tags need to be specified dynamically based on a language setting.
Currently, they are given statically as showing below.
- https://github.com/mashmatrix/react-lightning-design-system/blob/d3e48d3/src/scripts/FormElement.tsx#L104
- https://github.com/mashmatrix/react-lightning-design-system/blob/d3e48d3/src/scripts/RadioGroup.tsx#L94
- https://github.com/mashmatrix/react-lightning-design-system/blob/d3e48d3/src/scripts/CheckboxGroup.tsx#L116
※ (FYI) Required input example in SLDS:
https://www.lightningdesignsystem.com/components/input/#Required
Metadata
Metadata
Assignees
Labels
No labels