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. General Programming
  3. C#
  4. culture info

culture info

Scheduled Pinned Locked Moved C#
4 Posts 3 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.
  • P Offline
    P Offline
    PrakashBhaskar
    wrote on last edited by
    #1

    Hi, I want to convert the string which is in english to some other language like danish, italy... Thanks Warm Regards Prakash-B

    S C 2 Replies Last reply
    0
    • P PrakashBhaskar

      Hi, I want to convert the string which is in english to some other language like danish, italy... Thanks Warm Regards Prakash-B

      S Offline
      S Offline
      S Akif Kamal
      wrote on last edited by
      #2

      You cannot convert the string in other languages. You just can change the format of the text including its indention. If you want to change the text, you have to store the text indifferent languages in some external file which may be a resource file and then read the text based on the current culture of the system. Akif

      1 Reply Last reply
      0
      • P PrakashBhaskar

        Hi, I want to convert the string which is in english to some other language like danish, italy... Thanks Warm Regards Prakash-B

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        PrakashBhaskar wrote:

        I want to convert the string which is in english to some other language like danish, italy

        Then you need to hire a translator, or get a friend who can speak those languages to help. CultureInfo knows nothing about these languages except that they exists. It is used to select the correct language resource, however, a human still has to define what the resources are for each language in which they are to be available. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

        P 1 Reply Last reply
        0
        • C Colin Angus Mackay

          PrakashBhaskar wrote:

          I want to convert the string which is in english to some other language like danish, italy

          Then you need to hire a translator, or get a friend who can speak those languages to help. CultureInfo knows nothing about these languages except that they exists. It is used to select the correct language resource, however, a human still has to define what the resources are for each language in which they are to be available. ColinMackay.net "Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

          P Offline
          P Offline
          PrakashBhaskar
          wrote on last edited by
          #4

          Hi, Thanks for your information. Thanks Warm Regards Prakash-B

          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