Base solution for your next web application
Open Closed

Language cannot been switched in Version 4.0.0 #3191


User avatar
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.

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

13 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @trendline,

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

    Thanks.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    trendline created

    asp.net core with netframework 461

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    trendline created

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

    See attached screenshot as below:

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    trendline created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    trendline created

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @trendline,

    Can you send your project to <a href="mailto:[email protected]">[email protected]</a> ? It will be faster to solve this like that.

    Thanks.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    trendline created

    Hi, ismcagdas

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

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)