About changing the language?
Hello
I use Asp.net core template
Q1: I have a problem when writing texts on the side menu in Arabic, they appear in the form of symbols,
For example, I changed the name of the Dashboards menu to Control Panel. The following was displayed: ���� ������.
Q2: When I change the display language of the site, how can I change the language text dynamically for menus, buttons, and messages?
Thank you so much
Replies (3)
Hi,
- I tried to use some Arabic text in the file SidebarLayout/Sidebar/_Menu.cshtml and it displayed correctly. Could you please specify in which file you got this error? Also if there are any steps on how to reproduce it please describe them.
- For dynamic language change, you can refer to the official Asp.Net globalization and localization doc.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/localization?view=aspnetcore-6.0
Regards,
Lauris Stepanovs,
Keenthemes Support Team
Shared\Partials\SidebarLayout\Sidebar\_Menu,
I normally writen (لوحة التحكم) inside _Menu.
in the indicated path,but symbols appear, how can I send you a picture in order to see the problem.
Hi,
Unfortunately, even with this text, we were not able to reproduce your issue, in Metronic Asp.net, your arabic text in the aside menu appears correctly.
I suppose that issue could be related to your custom changes or your machine setup.
Check the question below about this issue in the Asp.Net project.
https://social.msdn.microsoft.com/Forums/en-US/cc8b5c1a-8125-4a94-84db-ce793aa7f41a/how-can-i-put-arabic-letters-in-aspnet-pages?forum=asplocalization#f36a8e03-1898-49cc-81e5-96e56462afe1
Regards,
Lauris Stepanovs,
Keenthemes Support Team