Skip to content

How to Preserve Original Values When Using gr.I18n #11557

@XXXXRT666

Description

@XXXXRT666
  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.

While using gr.I18n, I noticed that when I pass a component value (like gr.Dropdown) to an event triggered function, it gets translated. Is there a way to keep the original (untranslated) value?

Describe the solution you'd like
Make a revert dict by using i18n.translations_dict

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions