Solved

C# MVC Multilingual Web application

Posted on 2016-08-30
3
20 Views
Last Modified: 2016-10-19
Hello, I'm developing a new multilingual web application and wonder if is there any alternative to resource files (.resx) for getting texts, error messages translated as I find then bit tricky to work with.
0
Comment
Question by:Miguel Quintana
3 Comments
 
LVL 1

Accepted Solution

by:
sunilgohel earned 500 total points
ID: 41776282
Resource files are very easy to implement for multilingual web application.
There is no any alternate except you have to write if else condition to match your requirement.

if Lan="English"
    ErrorMsg="Object reference not set";
elseif Lan="Finnish"
    ErrorMsg="Object viite ole asetettu";

Open in new window

0
 

Author Comment

by:Miguel Quintana
ID: 41776299
That's funny ;)

Thank you!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Batch file or script with password 22 44
Winform Module - What is the ASP.Net equiv 2 19
DataTables + iCheck + pagination Issue 2 17
parsing JSON help 1 9
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question