-
Notifications
You must be signed in to change notification settings - Fork 117
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
Localization support #398
Comments
* Uses `@lit/localize-tools` and `@lit/localize` * This adds localization support for Lit components. * Added storybook document. * Listens for `html` element's `lang` attribute with mutation observer. * Not initialized by default, instructions added to storybook. * Output mode is set to **runtime**, meaning that it has to be capable of changing runtime by rerendering components. * Added localization support for: * Select * Pagination Closes #398 --------- Co-authored-by: Aykut Saraç <[email protected]>
🎉 This issue has been resolved in version 3.0.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Nice job @AykutSarac 🚀 Only thing is, there is an issue about releases. You already released v3.0.0 but this feature released as v.3.0.0-beta.2. The reason is |
🎉 This issue has been resolved in version 3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
For some components, we'll need to provide a solution to set some labels in multi-language. Some examples:
For that kind of very common use cases it's unavoidable to provide a localization solution.
In my opinion requirements are like:
Maybe we can consider using a small library like shoelace's localize that is proven works smoothly and is lightweight enough.
Any opinions are very welcome.
The text was updated successfully, but these errors were encountered: