-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RESEARCH] Internationalize small content pieces within elements. #1975
Comments
Includes:
|
Any update on thoughts for this? It seems like one of the major obstacles to supporting accessibility well in languages other than English. |
We still intend to work on this. It is indeed quite important, but seemingly not important enough for any of our consuming teams to push for it to be prioritized above other things. Always happy to support a contribution in this area or a discussion that might change priorities in a way that supported addressing this work more actively. |
The following components would currently be broken when translated (probably not exhausative):
|
Color Slider currently has the string "hue", which can be overwritten using the
Color Area currently uses "saturation" and "luminosity", which can be overwritten using the spectrum-web-components/packages/color-area/src/ColorArea.ts Lines 53 to 60 in a447ba2
For Color Area, it may be better to include the color channel names as part of the
This is similar to the way a Color Picker is labelled on Windows, and is what we do in the React-Spectrum color area. See https://react-spectrum.adobe.com/react-aria/useColorArea.html#internationalization |
Code of conduct
Description of issue
Smaller tools like https://github.com/shoelace-style/localize#readme allow for customization of small pieces of a component library.
Larger tools like https://github.com/lit/lit/tree/main/packages/localize might imply that we should take a position on internationalization for our consumers as well.
Find a solution to covering the few cases where we're shipping content within our components that needs to be translated without surfacing superfluous properties for this action.
The text was updated successfully, but these errors were encountered: