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. .NET (Core and Framework)
  4. Resource File

Resource File

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpasp-netdatabasetutoriallearning
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.
  • F Offline
    F Offline
    farogh haider
    wrote on last edited by
    #1

    Dear All, How to change different languages for dynamic value not static, values come from database in asp.net 3.5

    Farogh Haider Web developer

    N Y B 3 Replies Last reply
    0
    • F farogh haider

      Dear All, How to change different languages for dynamic value not static, values come from database in asp.net 3.5

      Farogh Haider Web developer

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Please clarify your question


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • F farogh haider

        Dear All, How to change different languages for dynamic value not static, values come from database in asp.net 3.5

        Farogh Haider Web developer

        Y Offline
        Y Offline
        Yusuf
        wrote on last edited by
        #3

        Does this article help?

        Yusuf May I help you?

        1 Reply Last reply
        0
        • F farogh haider

          Dear All, How to change different languages for dynamic value not static, values come from database in asp.net 3.5

          Farogh Haider Web developer

          B Offline
          B Offline
          Bernhard Hiller
          wrote on last edited by
          #4

          I guess you want to load the texts shown on your pages from a database. Normally, localization uses resource files, and then things are handled by the resource manager. Hence, you will have to implement lots of things on your own. First, determine the language desired by the user (e.g. accepted languages in the header of the web request, or implied by a selection on your web site) - do not forget a fallback if that language is not available in your database. Set CurrentUICulture to the appropriate value - that will do a lot of formatting for you. For all the elements on your page, load the texts from the database by querying each one. Then set the element's text to that value.

          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