0
mrvithan created
3 Answer(s)
-
0
Solved. After running thru all source code, i found this LanguageManager !!!.
-
0
Hey, I have tested
System.Threading.Thread.CurrentThread.CurrentUICulture
and LanguageManager through injection:
private readonly Abp.Localization.LanguageManager _lanManager; _lanManager.CurrentLanguage
both work pretty much the same for me.
-
0
I sugges to use LanguageManager. Say that you defined 2 languages:
"tr-TR" "en"
And your current thread's language is "en-US". Then LanguageManager returns "en" (because we have no en-US defined for the application). So, it may be different in this case.