Skip to content

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

@Jared-Hood

Description

@Jared-Hood

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions