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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. multilingual support

multilingual support

Scheduled Pinned Locked Moved C#
toolsxmlquestion
4 Posts 4 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.
  • M Offline
    M Offline
    Marc Soleda
    wrote on last edited by
    #1

    Hi all, I'd like to know how you make your application to support localizationand if you prefer to work with resources files and its namespace or you prefer to work with external xml files and tools (like gettext, ...). Why have you chosen your way? Thanks in advance, Marc Soleda

    ... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits

    N A S 3 Replies Last reply
    0
    • M Marc Soleda

      Hi all, I'd like to know how you make your application to support localizationand if you prefer to work with resources files and its namespace or you prefer to work with external xml files and tools (like gettext, ...). Why have you chosen your way? Thanks in advance, Marc Soleda

      ... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Marc Soleda wrote:

      if you prefer to work with resources files

      Yes.

      Marc Soleda wrote:

      Why have you chosen your way?

      1- It's more generic. 2- Mthods and classes are built-in. 3- Has a lot of documentaion. You'll know easily when you screw up 4- Most important => It takes less to code and maintain.

      Regards:rose:

      1 Reply Last reply
      0
      • M Marc Soleda

        Hi all, I'd like to know how you make your application to support localizationand if you prefer to work with resources files and its namespace or you prefer to work with external xml files and tools (like gettext, ...). Why have you chosen your way? Thanks in advance, Marc Soleda

        ... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits

        A Offline
        A Offline
        Alper Camel
        wrote on last edited by
        #3

        Hi, you can also, enable islocalizable property, then simply select language, then type necassary text, save it, vs will create a localize res. you can also see it in the debug folder as a dll.. Cheers.

        http://mp3-album.blogspot.com

        1 Reply Last reply
        0
        • M Marc Soleda

          Hi all, I'd like to know how you make your application to support localizationand if you prefer to work with resources files and its namespace or you prefer to work with external xml files and tools (like gettext, ...). Why have you chosen your way? Thanks in advance, Marc Soleda

          ... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits

          S Offline
          S Offline
          subrata jana
          wrote on last edited by
          #4

          hi In my case i have diferent user with diffrentent language preference. So as per user's login language id is comming from db. Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("langID"); Then i am having a .resx file for common messages. And for each .aspx page i have .aspx.[langID].resx file. And some code to get data from this .resx file like System.Resources.ResourceManager temp = new System.Resources.ResourceManager("namespace address", typeof(Resources).Assembly); This way we donot need a thridparty tool and maintenace is quit easy.

          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