-2

I have found some useful articles for creating multilingual and multicultural applications in ASP.NET Core like

and a github project providing an example for implementation

The approach I decided to follow is the third one on the above list since I wanted to give to my users the option to select the culture even though I had some issues with tha Data Annotation Localization

However I thought I should ask if anyone has any more interesting approaches and article resources to share before I started my first ASP.NET Core MVC application.

2 Answers 2

2

I have wrote some articles regarding localization in ASP.NET Core 2.1, it addresses common localization issues like localizing data annotations and client side validation:

http://www.ziya.info.tr/en/articles/10-Developing_Multicultural_Web_Application

and provided a github project as well, additionally you can check this article as well for localizing identity error messages:

http://www.ziya.info.tr/en/articles/20-Localizing_Identity_Error_Messages

Sign up to request clarification or add additional context in comments.

7 Comments

Not working in asp.net 2.0, It creates routes like localhost:54794/?culture=de but still does not display correct culture name etc
I cannot see any controller in your project, i downloaded from github.com/LazZiya/MyTrips
@JitendraPancholi the tutorial as mentioned in the answer is for dotnet core 2.1, it has no controllers because it is based on razor pages not mvc.you may need to do some modifications in order to adopt to mvc pattern
btw, the official support period for dot net core 2.0 is already finished, it is better to switch to a newer version dotnet.microsoft.com/platform/support/policy/dotnet-core
re the culture parameter routing, you need to create and register the Culture Route Model
|
0

I have found some useful articles for creating multi language in asp.net mvc and angular. The first one is going to multi language asp.net mvc and second link is going to multi language in angular

First https://findandsolve.com/articles/localization-in-asp.net-mvc-razor-step-by-step

Second https://findandsolve.com/articles/globalization-and-localization-using-angular-or-multi-language-select-using-angular-i18n-example-step-by-step

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.