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. how to Know the language of the writing that had been made

how to Know the language of the writing that had been made

Scheduled Pinned Locked Moved C#
tutorial
7 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.
  • A Offline
    A Offline
    Ahmed Khallaf
    wrote on last edited by
    #1

    how to Know the language of the writing that had been made thanks

    L A 2 Replies Last reply
    0
    • A Ahmed Khallaf

      how to Know the language of the writing that had been made thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Pardon?! Please explain in details :^)

      1 Reply Last reply
      0
      • A Ahmed Khallaf

        how to Know the language of the writing that had been made thanks

        A Offline
        A Offline
        Ahmed Khallaf
        wrote on last edited by
        #3

        iam Designing a program in C# and i want to know if the user of the program entered the data in english language or arabic for example, so how can i check for that ?

        L 1 Reply Last reply
        0
        • A Ahmed Khallaf

          iam Designing a program in C# and i want to know if the user of the program entered the data in english language or arabic for example, so how can i check for that ?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          English won't contain arabic characters, so you could check which unicode range they fall in.. Won't help to distinguish many west european languages from eachother though, perhaps spellcheck would help (the language in which there would be the lowest number of errors would be most likely)

          P 1 Reply Last reply
          0
          • L Lost User

            English won't contain arabic characters, so you could check which unicode range they fall in.. Won't help to distinguish many west european languages from eachother though, perhaps spellcheck would help (the language in which there would be the lowest number of errors would be most likely)

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            harold aptroot wrote:

            the language in which there would be the lowest number of errors would be most likely

            Not necessarily. Look at the number of spelling errors in a lot of the posts here that are supposed to be in English.

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            L 1 Reply Last reply
            0
            • P Pete OHanlon

              harold aptroot wrote:

              the language in which there would be the lowest number of errors would be most likely

              Not necessarily. Look at the number of spelling errors in a lot of the posts here that are supposed to be in English.

              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

              My blog | My articles | MoXAML PowerToys | Onyx

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              That's why I say "is most likely" instead of "is" :) But if you're making so many spelling errors.. well.. I would be surprised if it's even possible to detect the language..

              A 1 Reply Last reply
              0
              • L Lost User

                That's why I say "is most likely" instead of "is" :) But if you're making so many spelling errors.. well.. I would be surprised if it's even possible to detect the language..

                A Offline
                A Offline
                Ahmed Khallaf
                wrote on last edited by
                #7

                Many thanks

                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