Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi,

I have a website with jquery menu ,asp:label ,images ,html control like
<input id="submit" name="submit"  type="button"   runat="server" value="Submit"   />

also some div with content as
<div> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries,  </div>


etc ,i have 100 pages website like above,I want to show this different pages in five different language

should i create five different page again ,or there some Technic to convert this page in different language.

I dont want to use google translator. i want to use my own text and phrase which i have are provided to me by client.

I had done some RND on localisation ,but the problem is that only asp.net control is able to seen in resources file . html control and input element are not seen in resource file.

I want my site should work same as the below website works
http://www.moravia.com/en/services/translation-localization/software-localization/[^]
Please help ,suggest me a good trick .
Posted
Updated 7-Jul-14 1:46am
v2

You could have done some google research before posting a question...

Have a look at this: ASP.NET Localization (Quick Reference)[^]

or this: ASP.NET Globalization and Localization[^]
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 7-Jul-14 12:25pm    
Agree, a 5. A added a solution with some explanation and motivation of this approach, please see.
—SA
There is no such thing as miracle. Yes, HTML controls cannot use those multicultural resources. HTML is way too static to implement much flexibility. You could use Javascript to generate dynamic HTML content, but then you should create whole parallel mechanism with many versions of the same resources. Even if you do all that, the critical drawback is that this is the client side, which is going to become quite heavy. Still, this is possible. By why doing all that?

According to your question tags, you are using ASP.NET already. It would be silly not using this fact and not using .NET globalization and localization on the server side, instead of your HTML approach.

I would add that you even your mentioning of Google translate looks ridiculous. First of all "globalization and localization" notions do not imply automatic text translation. It just means that you have pre-created resources for a number of different cultures, and this would be the only reasonable way. Google translation is simply unrelated topic. More importantly, the quality of any automatic translation in the world does not allow even to talk about translation of the content; at best, it simply can help a person to understand some phrased in foreign language. Some funny or ridiculous cases of automatic translation is the endless source of jokes.

—SA
 
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