Open Closed

Language cannot been switched in Version 4.0.0 #3191


0
trendline created

In version 4.0.0, in the admin area, if select the language dropdown list, then it always stay on "English" option, if you selected other language, the side bar always display English language resources, but the page could display according selected language resources.


13 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @trendline,

    Do you use ASP.NET MVC 5.x or ASP.NET Core ?

    Thanks.

  • 0
    trendline created

    asp.net core with netframework 461

  • 0
    ismcagdas created
    Support Team

    Hi,

    Is this happens only for newly added languages ? If so, there is a related issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/25">https://github.com/aspnetzero/aspnet-ze ... /issues/25</a>.

    Thanks.

  • 0
    trendline created

    It also happened on existing language, default language as English, even you switch to others, it always display English language resources on sidebar.

  • 0
    ismcagdas created
    Support Team

    Hi,

    Maybe there is no localization defined for that language, is that possible ? In that case ABP returns default language's localization values, it is english by defualt.

    If there, is can you share a screenshot of your app ?

    Thanks.

  • 0
    trendline created

    It is not like you said, it seems switch language failed for sidebar zone.

    See attached screenshot as below:

  • 0
    trendline created

    Any suggestion for this issue? As cannot see localized string on the page, it blocked the progress.

  • 0
    trendline created

    It is really strange, who can give me some advices to fix this issue?

  • 0
    ismcagdas created
    Support Team

    Hi @trendline,

    Can you send your project to <a href="mailto:info@aspnetzero.com">info@aspnetzero.com</a> ? It will be faster to solve this like that.

    Thanks.

  • 0
    trendline created

    Hi, ismcagdas

    Source code as attachment already sent to you, please help resolve the issue, thanks in advance.

  • 0
    ismcagdas created
    Support Team

    Hi @trendline,

    Thanks for sending the project. I have tried and language is changing in my tests.

    It might be related to data in your database. Can you try it with a new database and see if it works ? If it works, we can arrange a team viewer session to solve your problem.

    Thanks.

  • 0
    trendline created

    It really is strange, I tried create new database it still not work on IE, firefox and chrome which installed browsers on my computer. But I tried on other computers it works fine.

  • 0
    ismcagdas created
    Support Team

    Hi,

    Can you try to clear cookies for only this website in Chrome and try again ? As you said, this is strange, I couldn't figure it out.

    Thanks.