Open Closed

Language do not match between Angular and MVC #1455


0
christophe.baille created

ABP Framework version: v4.3.2 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no

NOTE: One of my colleague created a similar issue here which have been successfully resolved on the release 4.3.2.

We open our application and change the language from english to Finnish. Then we click on login, this page is still in Finnish now since the version 4.3.2 (read the Not before), then login. I reach my Angualr Homepage and it is still in Finnish.

Now, I try reach a MVC view, in my case it is a page from the Blogging module, I then see my MVC page is is English, it should be in Finnish as we changed it previously.

With version before 4.3.2, we had this issue for all views that we can reach from the user menu as they were in MVC.Since 4.3.2, they are in Angular, so I can not test if that part have been fixed or not.

One more point which might help to solve the issue. When we logout, we "transit" through the page /Account/LoggedOut and this one remain in english too:


3 Answer(s)
  • 0
    Mehmet created
    Support Team

    Hi,

    We've created an internal issue. Thanks for the reporting.

  • 0
    christophe.baille created

    Hi,

    We've created an internal issue. Thanks for the reporting.

    Is there any way to follow the issue? Like Github link or anything?

  • 0
    muhammedaltug created
    Support Team

    Hello,

    We fixed different language problem between angular application and logout screen in 4.3.3 version.

    You can use /Abp/Languages/Switch endpoint for pass language info from angular app to mvc. You can get current language info from SessionStateService's getLanguage method.

    Example Usage of /Abp/Languages/Switch baseUrl/Abp/Languages/Switch?culture={language}&uiCulture={language}&returnUrl=/bloggingModuleLink