I want to add language support to my Kendo UI Menu widget. There is no culture specific to it, how can I do it?
2 Answers, 1 is accepted
answered on 12 Aug 2020, 09:35 AM
Note, that the text of the Menu items depends entirely on the specific scenario and requirements and we could not be aware of the used text. When changing the culture the built-in messages in the kendo widgets will be replaced. For example, the messages of different commands in the Editor or the filter in Grid.
In order to display the Menu in different languages, I will suggest you initialize a single Menu for every language. Initially, you could display only one Menu and hide the rest. Then when a different language is selected, you could show only the needed Menu and hide() the others. The approach is demonstrated in the following Dojo.
I hope you will find the provided information and the sample helpful. Let me know in case you have additional questions or need further assistance on the matter.