Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to implement globalization and localization in my mvc4 application. I gone through a couple of tutorials like http://afana.me/post/aspnet-mvc-internationalization.aspx[^]
But the problem is he is creating multiple views for each language. If there are 10 views then we have to create 10 views for each language adding up to 100. Please guide me the best way of creating multilingual(i.e 8 languages) application with single view and if possible with PO files.
Thanks in advance
Posted
Comments
Zoltán Zörgő 27-Oct-12 8:58am    
Any progress?

1 solution

That is a good tutorial. As you could see, there are tree options: either you use separate views, or you use resources, or you combine both. Every one has it's own pros and cons, or more precisely advantages over the other. But none will save you from doing the job :)
PO files are just like resource files, but not really supported in this technology. If you prefer this variant, read part 2[^] of that tutorial.

You can also implement a different approach, in special cases, but these are the major paths.
 
Share this answer
 

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