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. CultureInfo Question

CultureInfo Question

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-net
3 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.
  • E Offline
    E Offline
    e laj
    wrote on last edited by
    #1

    I am trying to develop ASP.net page that support multiple locales. I can't predict which locale resources will be used in pages that derived from this page. I only know at runtime what is the culture to be used at that moment. In this case i have to automatically organize the layout of the page. As you know, some languages - like arabic, hebrew and farsi are written from right to left (there are even some eastern languages that traditionally written form top to bottom and right to left). However, is anyone know some simple method to determine the text orientation of CultureInfo object? CultureInfo myCulture = new CultureInfo(someculture); and what now? How can i determine the text orientation of that culture's language?

    M 1 Reply Last reply
    0
    • E e laj

      I am trying to develop ASP.net page that support multiple locales. I can't predict which locale resources will be used in pages that derived from this page. I only know at runtime what is the culture to be used at that moment. In this case i have to automatically organize the layout of the page. As you know, some languages - like arabic, hebrew and farsi are written from right to left (there are even some eastern languages that traditionally written form top to bottom and right to left). However, is anyone know some simple method to determine the text orientation of CultureInfo object? CultureInfo myCulture = new CultureInfo(someculture); and what now? How can i determine the text orientation of that culture's language?

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      e-laj wrote:

      How can i determine the text orientation of that culture's language?

      I think you have to manage this info on your own.

      E 1 Reply Last reply
      0
      • M minhpc_bk

        e-laj wrote:

        How can i determine the text orientation of that culture's language?

        I think you have to manage this info on your own.

        E Offline
        E Offline
        e laj
        wrote on last edited by
        #3

        Thanks, when i do it - i will share it!

        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