-
Notifications
You must be signed in to change notification settings - Fork 34
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
Expose fields and formats inside the library to allow internationalization #170
Comments
I have wondered the same about i18n and l10n issues. This rabbit hole goes pretty deep though. For example, the |
I am especially and always interested in issues of i18n and any l10n that happens because a system is ready for it (as a personal and long-standing interest), and we definitely made an explicit choice to ignore i18n while working through the decoupling of what is now this library from the vets.gov specific library where it originated. However, i18n and thus ability to localize is definitely something I'd like us to prioritize once we get the library to a stable and more externally useful place. I've generally been watching things to ensure that we don't paint ourselves further into a non-localizable hole during this initial development, and I'm still pretty bullish on taking a good swipe at an i18n refactor in a couple months. tl;dr: yes, @afeld :) |
Just an update here -- as we determine precisely what 2.0.0-alpha might look like (starting Oct 1, aka "phase 2") this is something that will be pretty close to top of mind. |
I've re-titled this (again!) since it will take changes inside the library to make i18n work correctly. Here's what I've found so far that needs work on i18n and possibly l10n, we can add to this list as more are found:
|
This is not a high priority in the short-term, but if someone wants to implement this due to a need for their project, we would gladly accept a PR for this work! |
Is your feature request related to a problem? Please describe.
As a forms provider, I would like the ability to offer my form in multiple languages (without building it twice).
Describe the solution you'd like
Documentation (and perhaps feature additions?) around multiple language support.
Describe alternatives you've considered
Since the form configuration is done in a JS file, perhaps the
title
s,uiSchema
values, etc. can be specified dynamically with the help of an i18n helper library. For example:Maybe this approach would cover most of it?
Additional context
Other keywords to help people find this issue: localize, localization
cc rjsf-team/react-jsonschema-form#739
The text was updated successfully, but these errors were encountered: