Implementing a transliteration feature on a php-based discussionboard

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vadim Zima

    Implementing a transliteration feature on a php-based discussionboard

    How would you approach this task?
    I have a phpBB forum on my site. The majority of participants are Russians
    living in the US, who don't know Russian keyboard layout.
    Is it possible to provide them with some sort of a button, in the posting
    edit window to convert latin characters into cyrillic characters?
    TIA for any ideas and/or links.

    --
    Vadim Zima
    Certified Russian Translator/Conference Interpreter


    --


  • Dmitry Ruban

    #2
    Re: Implementing a transliteration feature on a php-based discussionboard

    Vadim,

    Take a look at http://www.yandex.ru/keyboard_qwerty.html
    That is what you're looking for.

    Dima



    "Vadim Zima" <vad@zima.net > wrote in message
    news:BBD5DCC3.3 732%vad@zima.ne t...[color=blue]
    > How would you approach this task?
    > I have a phpBB forum on my site. The majority of participants are Russians
    > living in the US, who don't know Russian keyboard layout.
    > Is it possible to provide them with some sort of a button, in the posting
    > edit window to convert latin characters into cyrillic characters?
    > TIA for any ideas and/or links.
    >
    > --
    > Vadim Zima
    > Certified Russian Translator/Conference Interpreter
    > http://zima.net
    >
    > --
    >
    >[/color]


    Comment

    • zimanet

      #3
      Re: Implementing a transliteration feature on a php-baseddiscussion board

      On 11/11/03 4:41 AM, in article boqlcd$1sig$1@g avrilo.mtu.ru, "Dmitry Ruban"
      <dima@region35. ru> wrote:
      [color=blue]
      > Vadim,
      >
      > Take a look at http://www.yandex.ru/keyboard_qwerty.html
      > That is what you're looking for.
      >
      > Dima
      >
      > How would you approach this task?[color=green]
      >> I have a phpBB forum on my site. The majority of participants are Russians
      >> living in the US, who don't know Russian keyboard layout.
      >> Is it possible to provide them with some sort of a button, in the posting
      >> edit window to convert latin characters into cyrillic characters?
      >> TIA for any ideas and/or links.[/color][/color]
      Thank you Dima, but this is NOT what I need.
      This is a cute emulator of the STANDARD Russian keyboard. Why bother? You
      can add and use built-in keyboards in any Windows version.

      I want to provide my forum with a feature (in any convenient form) allowing
      forum members to write "zdorovo, parnishka" and see " çäîðîâî, ïàðíèøêà".
      See the difference?
      Vadim

      Please don’t use the address above — it’s a spam trap. If you want to write
      to me you can do it via any of my sites below.
      --
      Vadim Zima
      Certified Russian Translator/Conference Interpreter
      Work & Fun - http://zima.net
      Forum – http://www.zima.net/phpBB2/index.php
      Personal pages – http://homepage.mac.com/zimanet





      Comment

      • Nikolai Chuvakhin

        #4
        Re: Implementing a transliteration feature on a php-based discussionboard

        zimanet <mudaki@zima.ne t> wrote in message
        news:<BBD652D2. 374D%mudaki@zim a.net>...[color=blue]
        >
        > I want to provide my forum with a feature (in any convenient form)
        > allowing forum members to write "zdorovo, parnishka" and see
        > "çäîðîâî, ïàðíèøêà".[/color]

        Unfortunately, this is not a trivial problem. There is more than one
        way to spell a transliterated word back into Russian. Consider "schuka"
        vs. "schyot" -- "sch" is a transliteration of a single letter in the
        former, but of two letters in the latter...

        Cheers,
        NC

        Comment

        • Paul Gorodyansky

          #5
          Re: Implementing a transliteration feature on a php-based discussion board

          Hi,

          Vadim Zima <vad@zima.net > wrote in message news:<BBD5DCC3. 3732%vad@zima.n et>...[color=blue]
          > How would you approach this task?
          > I have a phpBB forum on my site. The majority of participants are Russians
          > living in the US, who don't know Russian keyboard layout.
          > Is it possible to provide them with some sort of a button, in the posting
          > edit window to convert latin characters into cyrillic characters?
          > TIA for any ideas and/or links.[/color]

          Sure and you even don't need to use PHP - JavaScript is enough
          (PHP would be an overkill making a trip to the server to convert the
          letter).

          There are couple dozens JavaScript programs that do what you want,
          but mine is the latest one :) and thus IMHO better, because I tried
          to avoid common problems/inconveniences I saw on older sites.
          My code is under GPL, so you can copy/modify/use it - just
          show that I am the original author :)

          Here it is - "Russian Virtual Keyboard" that can be used
          say in an Internet-cafe:


          One thing to add - I too live in the US so I need to let you
          know (and you probably need to let know your users) that
          nowadays - unlike say 1998 - it's *very* simple to type
          in Russian if it's _your own_ computer - it takes 5 minutes
          to activate MS Windows keyboard tools and then type in Russian
          directly in any application without going to a Web page such
          as mine for a conversion from latin to Cyrillic.

          I do know that some people just do not know that it's so
          simple nowadays and this is why they use some 3rd party
          tools (as mine) even on their own computer...

          MS Windows keyboard tools setup is desribed in the
          "Russian Keyboard: standard and phonetic" section
          of my site.

          --
          Regards,
          Paul Gorodyansky
          "Cyrillic (Russian): instructions for Windows and Internet":

          Comment

          • zimanet

            #6
            Re: Implementing a transliteration feature on a php-baseddiscussion board

            On 11/11/03 9:51 PM, in article
            36b165a.0311112 151.b83dd29@pos ting.google.com, "Paul Gorodyansky"
            <paulgor@compus erve.com> wrote:
            [color=blue]
            > Sure and you even don't need to use PHP - JavaScript is enough
            > (PHP would be an overkill making a trip to the server to convert the
            > letter).[/color]
            If it works, why not? JavaScript, as you know, is not perfect for a
            multi-platform, multi-browser environment.. IE 5.2 for Mac did not worked on
            your virtual keyboard, you know. Neither did Safari. Mozilla 1.4.1 for Mac
            worked beautifully![color=blue]
            > There are couple dozens JavaScript programs that do what you want,
            > but mine is the latest one :) and thus IMHO better, because I tried
            > to avoid common problems/inconveniences I saw on older sites.
            > My code is under GPL, so you can copy/modify/use it - just
            > show that I am the original author :)[/color]
            If I decide to use it - the credit will be given to you, naturally.
            Yours is certainly the most polished, but you ARE A RUSSIAN FONTS&CODINGS
            PATRIARCH AND CHIEF AUTHORITY after all! I remember using your advice in my
            baby web days - ten something years ago
            ;-)
            [color=blue]
            > it takes 5 minutes to activate MS Windows keyboard tools and then type in[/color]
            Russian directly in any application without going to a Web page such[color=blue]
            > as mine for a conversion from latin to Cyrillic.[/color]
            Most people are horrified to do anything beyond pushing Power button.
            I doubt anyone of my forum's regulars will follow your instructions on
            adding a phonetic klava to their machines. Too much pain in their gentle ass
            :)

            But thanks anyway,
            Vadim

            Comment

            • Filth

              #7
              Re: Implementing a transliteration feature on a php-baseddiscussion board

              > > Sure and you even don't need to use PHP - JavaScript is enough[color=blue][color=green]
              > > (PHP would be an overkill making a trip to the server to convert the
              > > letter).[/color]
              > If it works, why not? JavaScript, as you know, is not perfect for a
              > multi-platform, multi-browser environment[/color]

              the problem with that being it would create a hell of alot of traffic and
              also how would a person on dial up feel about having to do this spending
              ages typing a message


              Comment

              • zimanet

                #8
                Re: Implementing a transliteration feature on aphp-baseddiscussion board

                On 11/12/03 11:26 PM, in article
                5mGsb.1742$nJ3. 1672@news-binary.blueyond er.co.uk, "Filth"
                <filth@blueyond er.co.uk> wrote:
                [color=blue][color=green][color=darkred]
                >>> Sure and you even don't need to use PHP - JavaScript is enough
                >>> (PHP would be an overkill making a trip to the server to convert the
                >>> letter).[/color]
                >> If it works, why not? JavaScript, as you know, is not perfect for a
                >> multi-platform, multi-browser environment[/color]
                >
                > the problem with that being it would create a hell of alot of traffic and
                > also how would a person on dial up feel about having to do this spending
                > ages typing a message
                >[/color]
                That's a VERY valid point! I remember how frustrating it was to post to my
                own forum from a GPRS connection when I was in Russia last summer...
                I am very ignorant of how php works, bear with me


                Don't reply to the above address - its sole purpose is to trap SPAM!
                --
                Vadim Zima
                Certified Russian Translator/Conference Interpreter
                Work & Fun: http://zima.net Forum: http://www.zima.net/phpBB2/index.php
                Personal pages: http://homepage.mac.com/zimanet

                Comment

                • Paul Gorodyansky

                  #9
                  Re: Implementing a transliteration feature on a php-based discussion board

                  Hello!

                  zimanet <mudaki@zima.ne t> wrote in message news:<BBD86899. 3830%mudaki@zim a.net>...[color=blue]
                  > On 11/11/03 9:51 PM, in article
                  > 36b165a.0311112 151.b83dd29@pos ting.google.com, "Paul Gorodyansky"
                  > <paulgor@compus erve.com> wrote:
                  >[color=green]
                  > > Sure and you even don't need to use PHP - JavaScript is enough
                  > > (PHP would be an overkill making a trip to the server to convert the
                  > > letter).[/color]
                  > If it works, why not?[/color]

                  True :) Probably will be slower (trip to server and back), but
                  with modern technology not much slower, I guess...
                  [color=blue]
                  > JavaScript, as you know, is not perfect for a
                  > multi-platform, multi-browser environment..
                  > IE 5.2 for Mac did not worked on your virtual keyboard, you know.[/color]

                  Interesting... Did it allow to _read_ Cyrillic on any
                  Windows-1251 page? For example on mine?
                  [color=blue]
                  > Neither did Safari.[/color]

                  Don't know what Safari is but would like to ask same question -
                  did it allow to _read_ Windows-1251 text?
                  [color=blue]
                  > Mozilla 1.4.1 for Mac worked beautifully![/color]

                  Good to know!
                  [color=blue]
                  > ...[color=green]
                  > > it takes 5 minutes to activate MS Windows keyboard tools and then
                  > > type in Russian directly in any application without going to a Web
                  > > page such as mine for a conversion from latin to Cyrillic.[/color]
                  >
                  > Most people are horrified to do anything beyond pushing Power button.[/color]

                  Right. But not _users of any non-Western alphabet_ - they do know
                  and they are aware that they *must* do some tune-up to use their
                  language... Russian or Greek or Polish - usually users do know that.
                  [color=blue]
                  > I doubt anyone of my forum's regulars will follow your instructions on
                  > adding a phonetic klava to their machines. Too much pain in their gentle ass
                  > :)[/color]

                  So do you mean that they use Russian only on your forum and not
                  in say MS Word or e-mail? Then, sure, they will not do anything...
                  But most people who use Russian (even non-native speakers) do use
                  Russian in editors, e-mail, etc. so they are willing to tune-up -
                  and I am telling them that it will NOT touch/change any deep-system
                  settings on their computer, that it's safe for non-computer
                  professionals - see for example the list of countries and some
                  responses here, on my "Visitors" page:

                  [color=blue]
                  >
                  > But thanks anyway,
                  > Vadim[/color]

                  You welcome. :)

                  --
                  Regards,
                  Paul Gorodyansky
                  "Cyrillic (Russian): instructions for Windows and Internet":

                  Comment

                  • zimanet

                    #10
                    Re: Implementing a transliteration feature on a php-baseddiscussion board

                    On 11/17/03 12:48 PM, in article
                    36b165a.0311171 248.2a91c265@po sting.google.co m, "Paul Gorodyansky"
                    <paulgor@compus erve.com> wrote:[color=blue][color=green]
                    >> JavaScript, as you know, is not perfect for a
                    >> multi-platform, multi-browser environment..
                    >> IE 5.2 for Mac did not worked on your virtual keyboard, you know.[/color]
                    >
                    > Interesting... Did it allow to _read_ Cyrillic on any
                    > Windows-1251 page? For example on mine?[/color]

                    Perfect Cyrillic in nearly all cases. Some tweaking of settings needed.[color=blue][color=green]
                    >> Neither did Safari.[/color]
                    >
                    > Don't know what Safari is but would like to ask same question -
                    > did it allow to _read_ Windows-1251 text?[/color]
                    Safari - MacOS X browser. Full Cyrillic support.


                    Don't reply to the above address - its sole purpose is to trap SPAM!
                    --
                    Vadim Zima
                    Certified Russian Translator/Conference Interpreter
                    Work & Fun: http://zima.net Forum: http://www.zima.net/phpBB2/index.php
                    Personal pages: http://homepage.mac.com/zimanet



                    Comment

                    • zimanet

                      #11
                      Re: Implementing a transliteration feature on a php-baseddiscussion board

                      On 11/17/03 12:48 PM, in article
                      36b165a.0311171 248.2a91c265@po sting.google.co m, "Paul Gorodyansky"
                      <paulgor@compus erve.com> wrote:
                      [color=blue]
                      > Hello!
                      >
                      > zimanet <mudaki@zima.ne t> wrote in message
                      > news:<BBD86899. 3830%mudaki@zim a.net>...[color=green]
                      >> On 11/11/03 9:51 PM, in article
                      >> 36b165a.0311112 151.b83dd29@pos ting.google.com, "Paul Gorodyansky"
                      >> <paulgor@compus erve.com> wrote:
                      >>[color=darkred]
                      >>> Sure and you even don't need to use PHP - JavaScript is enough
                      >>> (PHP would be an overkill making a trip to the server to convert the
                      >>> letter).[/color][/color][/color]
                      One month later, mission accomplished. Oleg Zhuravlev, a talanted young man
                      from SPb wrote a script that works in EVERY BROWSER on both Windows and
                      Macintosh!
                      You can check it on my site.


                      Please don¹t reply to the address above ‹ it¹s a spam trap. If you want to
                      send me a message you can do it via any of my sites below.
                      --
                      Vadim Zima, Certified Russian/Ukrainian Translator/Conference Interpreter
                      Work & Fun: http://zima.net Forum: http://www.zima.net/phpBB2/index.php
                      Personal pages: http://homepage.mac.com/zimanet

                      Comment

                      Working...