leocb / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
438 stars 132 forks source link

Translate ContextMenu using MaterialForm's ContextMenuLanguage property #260

Closed valimaties closed 2 years ago

valimaties commented 2 years ago

ContextMenu can be translate changing ContextMenuLanguage propery on MaterialForm. All controls will read this property when ContextMenu will dropdown.

To add a new language, MaterialForm class must be modified with a PR. Add a new item on LanguageID enum and a new record in ContextMenuLanguages array. Look for below picture: ContextualMenu3

Demo: ChangedContextMenuLanguageFinal

This will close #250

orapps44 commented 2 years ago

Hi @valimaties ,

I just had quick look to this PR and it looks good. I will try to do deeper review asap.