Search code examples
c#localizationasp.net-boilerplate

ASP.NET boilerplate localization


In ASP.NET Boilerplate I am changing language like

<a href="/AbpLocalization/ChangeCulture?cultureName=en">English</a>

It works properly on my local machine, but not on test server.
Also when I'm clicking it locally, sometimes there is abp.message.error with null content.

I have a few questions about that:

1) What is this URL (/AbpLocalization...), looks lika a controller, but there is no such thing in my code?

2) How can I find and debug it?

3) What may happen on another server that crashes it (on test server clicking button reloads state, but does not change language)


Solution

  • Solved! What caused the problem was the fact, that the database on test server did not have one table that was in local database, and what's more important: this table was included in model transferred through Entity Framework to database. After adding table to test server everything works fine.