Skip to content

πŸš€ Feature: Labels translation in UIΒ #9828

@RuBAN-GT

Description

@RuBAN-GT

πŸ”– Feature description

Hey everyone!
I use an excellent feature in UI Inbox component via localization property field by workflow names customization from my external i18n dictionary (dynamic object).

I was wondered that getLabel values were hardcoded.

As an idea just to use getLabel as fallback for high-level t function from useLocalization and pass into it a simple key like channel.{props.preference.channel} and allow to control it from a client without any workarounds.

What do you think about this little feature?
Thank you!

🎀 Why is this feature needed ?

Novu provides wide range of tools including their customization.
In order to reach it is nice to have an ability to fully control all rendered elements.

✌️ How do you aim to achieve this?

If this feature isn't planned in any release, I can easily contribute it and add this wrapper.

πŸ”„οΈ Additional Information

No response

πŸ‘€ Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions