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

Changing EnumSwitch Label #9

Closed
Pvxtotal opened this issue Apr 4, 2023 · 1 comment · Fixed by #11
Closed

Changing EnumSwitch Label #9

Pvxtotal opened this issue Apr 4, 2023 · 1 comment · Fixed by #11

Comments

@Pvxtotal
Copy link

Pvxtotal commented Apr 4, 2023

Hello, first of all I would like to congratulate you on the construction of this component, I believe that this package should be part of the standard MudBlazor library.

I would like to suggest an improvement: Currently, I am building software for the Brazilian market and we need to change the label text "Week" to "Semana", "Day" to "Dia", and "Month" to "Mês". I saw that you get the texts for these labels from the Enum name calling the method Enum.GetName(), would it be possible to parameterize them? This way we can translate your component into any language, such as Portuguese, Spanish, Japanese, etc.

image

@Pvxtotal Pvxtotal changed the title Changing Enum Switch Label Changing EnumSwitch Label Apr 5, 2023
@danheron
Copy link
Owner

danheron commented Apr 5, 2023

OK, I will localize these texts.

@danheron danheron linked a pull request Apr 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants