Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Asp .Net Page with different languages

Asp .Net Page with different languages

Scheduled Pinned Locked Moved ASP.NET
csharpxmlhelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FJJCENTU
    wrote on last edited by
    #1

    I am studyng Web pages which include some different languages, and one image which let to change from English to German and so on, and the new page appears automaticly in the chosen language, and thinking about how to get it I find two possible ways: 1) keep all the texts in different xml files and generate the page with the xml file associated to the language. 2) Creat a different page for every language and call the one selected. This are the ways I know and which I can solve the problem, but do you know if is there any other easier way of do it. Best Regards

    A 1 Reply Last reply
    0
    • F FJJCENTU

      I am studyng Web pages which include some different languages, and one image which let to change from English to German and so on, and the new page appears automaticly in the chosen language, and thinking about how to get it I find two possible ways: 1) keep all the texts in different xml files and generate the page with the xml file associated to the language. 2) Creat a different page for every language and call the one selected. This are the ways I know and which I can solve the problem, but do you know if is there any other easier way of do it. Best Regards

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Yes, the first one is the exact thing to do. You need to use resource for all static text in your website, so that based on the culture or user you can reproduce the page. Also for database data, you need to store both, or you can use any translation tool like google translator, bing Translation api etc to dynamically translate those data when you display it on the web page. We generally dont store pages, rather we create reusable resources, which might be used in many web pages. You can read this article : http://www.beansoftware.com/asp.net-tutorials/globalisation-multilingual-cultureinfo.aspx[^] :rose:

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      Visit My Website-->**

      www.abhisheksur.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups