Hi, I'm testing our service using Postman calls but I can't set the user language neither with cookies nor header. For example, a call to <a class="postlink" href="http://server/AbpUserConfiguration/GetAll">http://server/AbpUserConfiguration/GetAll</a> passing in headers Abp.Localization.CultureName=de reply always on browser culture or default culture if the call is made by c# client. If I use your angular2 app the and I click on some flags, the language is correctly set based on cookies. What I'm missing ?
Thanks
3 Answer(s)
-
0
Hi,
We are currently working to improve localization. There is already an enhancement issue here: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2103">https://github.com/aspnetboilerplate/as ... ssues/2103</a>
And here is the forum conversations about this topic. #3108
Actually we tested localization as your way, you don't miss anything :)
-
0
Hi @ivanosw1,
You need to add "Accept-Language" header to your request instead of "Abp.Localization.CultureName".
Thanks.
-
0
Just tryed and It works !
Thank you @ismcagdas..