Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
When I switch between pages, I sometimes need to change the general language(culture) before page load. Is there a function I need or controller?
Hey dogukan,
You can achieve by changing Thread culture in System.Threading
Thank you for your answer, I did what you said but the old culture still came from the dictionary.
Thread.CurrentThread.CurrentCulture = new CultureInfo("tr-TR"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("tr-TR");
the second line had to be added
Hey
Solved??
yeap :) I solved this problem
Great 👍
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Culture Change before page load .cshtml
When I switch between pages, I sometimes need to change the general language(culture) before page load. Is there a function I need or controller?
Hey dogukan,
You can achieve by changing Thread culture in System.Threading
Thank you for your answer, I did what you said but the old culture still came from the dictionary.
Thread.CurrentThread.CurrentCulture = new CultureInfo("tr-TR"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("tr-TR");
the second line had to be added
Hey
Solved??
yeap :) I solved this problem
Great 👍
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.