Skip to content
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

Ability to add translations / custom text for hardcoded text used in components. #371

Open
Jared-Hood opened this issue May 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@Jared-Hood
Copy link

Description

Some components in this library include hardcoded text that is not customizable without forking the component. Customization is important in cases where a client wants to add translations for this text. The only workaround at the moment is to fork the component locally and then customize it there, which is not desirable when the easy solution would be to have a way to override the text.

Example

One component that has hardcoded text is the StandardFacets component, which internally calls the FilterGroup component. FilterGroup has the "Show More" and "Show Less" hardcoded texts that I would like to be able to add translations for, but can't without forking the component.

@benmcginnis benmcginnis added the enhancement New feature or request label May 11, 2023
@benmcginnis
Copy link
Member

Hi Jared,
Thanks for alerting us to this issue. We've added it to our backlog and are working with our Product Management team to prioritize.

Best,
Ben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants