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 changeIME mode

How to changeIME mode

Scheduled Pinned Locked Moved C#
questiondesigntutorial
6 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.
  • I Offline
    I Offline
    iprasad007
    wrote on last edited by
    #1

    Hi, Currently I am working on a multilingual application. 1. I willing provide a Button on UI which will toggle IME mode, say from English to Japanese. How can do that ? 2. How can I detect if systems IME mode is changed by user ? 3. As well as above I want to transliterate the inputed text to english. Can I do it ? Regards Prasad

    E O 2 Replies Last reply
    0
    • I iprasad007

      Hi, Currently I am working on a multilingual application. 1. I willing provide a Button on UI which will toggle IME mode, say from English to Japanese. How can do that ? 2. How can I detect if systems IME mode is changed by user ? 3. As well as above I want to transliterate the inputed text to english. Can I do it ? Regards Prasad

      E Offline
      E Offline
      Eduard Keilholz
      wrote on last edited by
      #2

      Erhm, there are several ways to 'translate' your application. I'm also currently working on a project which must be able to support multiple languages. I choose to create a new set of controls to support multiple languages. Therefore created an interface containing translation methods, and make all controls (for example buttons and labels) member of this interface. Then as soon as the user changes the interface language, set the CultureInfo object to the new language, and call the translate method on every control member of the interface ;) However, VS.NET contains full support for multi-language apps (using resources) you should consider some options, and find 'the best solution' for you ;)

      .: I love it when a plan comes together :. http://www.zonderpunt.nl

      I 1 Reply Last reply
      0
      • I iprasad007

        Hi, Currently I am working on a multilingual application. 1. I willing provide a Button on UI which will toggle IME mode, say from English to Japanese. How can do that ? 2. How can I detect if systems IME mode is changed by user ? 3. As well as above I want to transliterate the inputed text to english. Can I do it ? Regards Prasad

        O Offline
        O Offline
        originSH
        wrote on last edited by
        #3

        iprasad007 wrote:

        1. I willing provide a Button on UI which will toggle IME mode, say from English to Japanese. How can do that ?

        All text in the UI is set using the control.Text property on each control. To change the text change that value. Heres a search for how to use satallite assemblies to achive this. http://www.google.co.uk/search?hl=en&q=c%23+localisation+satallite+assemblies&meta=[^]

        iprasad007 wrote:

        2. How can I detect if systems IME mode is changed by user ?

        Not sure. You might be able to find out more about this whilst researching localisation.

        iprasad007 wrote:

        3. As well as above I want to transliterate the inputed text to english. Can I do it ?

        It's possible theres some software out there that will do it badly. If you want decent results you'd have to get a human to do it. Heres some computer translated text. I've no idea if it's mangled or not since I don't read japanese but it should give you an idea of the quality. English: This is an example of some computer translated text. It's probably not very good. Japanese: これはコンピュータによって翻訳されるテキストの例である。それは非常によくないおそらく。

        I 1 Reply Last reply
        0
        • E Eduard Keilholz

          Erhm, there are several ways to 'translate' your application. I'm also currently working on a project which must be able to support multiple languages. I choose to create a new set of controls to support multiple languages. Therefore created an interface containing translation methods, and make all controls (for example buttons and labels) member of this interface. Then as soon as the user changes the interface language, set the CultureInfo object to the new language, and call the translate method on every control member of the interface ;) However, VS.NET contains full support for multi-language apps (using resources) you should consider some options, and find 'the best solution' for you ;)

          .: I love it when a plan comes together :. http://www.zonderpunt.nl

          I Offline
          I Offline
          iprasad007
          wrote on last edited by
          #4

          Thanx Allot Eduard, I am developing framework for mentioned project now, and I have done with the display part using resource files (i.e. to display label and button text dynamically from resource files). That works fine, problem is with data entry controls like TextBoxes, where IME comes into picture. I wanted to know how can I change IME mode (say from English to Japanese or any Asian language) programatically ? Awaiting ur reply. Prasad

          1 Reply Last reply
          0
          • O originSH

            iprasad007 wrote:

            1. I willing provide a Button on UI which will toggle IME mode, say from English to Japanese. How can do that ?

            All text in the UI is set using the control.Text property on each control. To change the text change that value. Heres a search for how to use satallite assemblies to achive this. http://www.google.co.uk/search?hl=en&q=c%23+localisation+satallite+assemblies&meta=[^]

            iprasad007 wrote:

            2. How can I detect if systems IME mode is changed by user ?

            Not sure. You might be able to find out more about this whilst researching localisation.

            iprasad007 wrote:

            3. As well as above I want to transliterate the inputed text to english. Can I do it ?

            It's possible theres some software out there that will do it badly. If you want decent results you'd have to get a human to do it. Heres some computer translated text. I've no idea if it's mangled or not since I don't read japanese but it should give you an idea of the quality. English: This is an example of some computer translated text. It's probably not very good. Japanese: これはコンピュータによって翻訳されるテキストの例である。それは非常によくないおそらく。

            I Offline
            I Offline
            iprasad007
            wrote on last edited by
            #5

            Hi originSH, It seems that u didn't got me correctly. U have told me about Text property of control, but I was talking about setting IME mode. U have told me about translation but I was asking about Transliteration. Anyways thanx for ur efforts. Regards Prasad

            O 1 Reply Last reply
            0
            • I iprasad007

              Hi originSH, It seems that u didn't got me correctly. U have told me about Text property of control, but I was talking about setting IME mode. U have told me about translation but I was asking about Transliteration. Anyways thanx for ur efforts. Regards Prasad

              O Offline
              O Offline
              originSH
              wrote on last edited by
              #6

              Yeah, sorry X( My bad.

              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