Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
I want to create a multilingual web application, but I don't want to use resource file.  Is there any way to create multilingual app other than resource file? Please help


What I have tried:

I have tried resourse files only..let me know another way to do that
Posted
Updated 25-Jun-16 3:11am
Comments
ZurdoDev 20-Jun-16 7:45am    
You can implement the classes yourself and then get the data from a db instead. See https://msdn.microsoft.com/en-us/library/aa905797.aspx for more info.
Atmesh Sonawane 20-Jun-16 8:31am    
Thank you

1 solution

For development of a multilingual web application, as I know there are 3 solutions:

1.Developing the application or web pages for each language separately.Even though it is easy to host the application differently, the drawback is that keeping both the sets in sync even after a minor change is very difficult.

2.Store all the content in different languages in database tables.This approach solves the problem to a large extent but still requires more coding and database storage.This can have a performance issue also as the content is fetched from the DB; but has the advantage of easy maintainability and also creation of the language on the fly.

3.Store all the content in different languages in resource files. Resource is a non-executable data that is required by the application and is deployed along with the application. This will have a better performance compared to fetching from the DB.

My personal choice is the 3rd solution. I have an article (and complete C# solution code) about this topic. Here is the link: MVC Basic Site: Step 1 – Multilingual Site Skeleton[^]
 
Share this answer
 
v2
Comments
Atmesh Sonawane 2-Jul-16 0:28am    
Thank you
Raul Iloc 12-Jul-16 14:51pm    
If my solution is OK for you could accept it.
Atmesh Sonawane 15-Jul-16 5:32am    
Thanks
Raul Iloc 15-Jul-16 14:59pm    
Welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900