0
payopt created
Can you Please guide me how to set default language for user while user creation. or guild which api do i need to use for user default language.
3 Answer(s)
-
0
Hi,
The default language of the user can be set via SettingManager
SettingManager.ChangeSettingForUser( AbpSession.ToUserIdentifier(), LocalizationSettingNames.DefaultLanguage, "en-US" );
you can use the awaitable method as well : ChangeSettingForUserAsync
And it goes into the database in AbpSettings table like below [attachment=0:1ig448gj]set-user-language.jpg[/attachment:1ig448gj]
Extra information: Do not insert into this table manually because application caches this table!
-
0
:D
-
0
I hope it worked well! ;)