Page 1 of 1

[Solved] Cyrillic on-screen keyboard request - Peace !

Posted: Wed Apr 16, 2014 4:49 pm
by Reket
Hi!
Guys are such request if it in general is feasible.
Cyrillic would like to see in xbmc in keyboard layout, by video search in youtube and other appendices with Russian-speaking konteny, it would be extremely useful not for one me! :)
--------------------------------------------
And still a request, not critical but I think it easily to correct button "back"
Image
Regards Alexander 8-)

Re: Cyrillic keyboard layout request - Peace !

Posted: Wed Apr 16, 2014 11:58 pm
by Dan Dar3
@Reket
I can work with you on a Cyrillic keyboard layout for XBMC4Xbox, but I will need your help and feedback.
I will update this post with a keyboard layout file, you have to test it and tell me what is missing or what is incorrect - which key you press and what comes out. We will eventually finish it it off.

Ok, to start small, select and copy the code in the box below (see SELECT ALL link) and then paste into a Notepad and upload through FTP on your XBMC4Xbox as:

Q:\language\Russian\keyboardmap.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Configuration file to map an English keyboard layout to a Russian keyboard layout.

  Keyboard layouts:
  http://en.wikipedia.org/wiki/Keyboard_layout#Russian_.D0.99.D0.A6.D0.A3.D0.9A.D0.95.D0.9D

  Forum thread:
  http://www.xbmc4xbox.org.uk/forum/viewtopic.php?f=9&t=2668
-->
<keyboard_layout>

  <char2char>
    <entry inchar="q" outchar="й" />
    <entry inchar="Q" outchar="Й" />
    <entry inchar="w" outchar="ц" />
    <entry inchar="W" outchar="Ц" />
    <entry inchar="e" outchar="у" />
    <entry inchar="E" outchar="У" />
    <entry inchar="r" outchar="к" />
    <entry inchar="R" outchar="К" />
    <entry inchar="t" outchar="e" />
    <entry inchar="T" outchar="Е" />
    <entry inchar="y" outchar="н" />
    <entry inchar="Y" outchar="Н" />
    <entry inchar="u" outchar="г" />
    <entry inchar="U" outchar="Г" />
    <entry inchar="i" outchar="ш" />
    <entry inchar="I" outchar="Ш" />
    <entry inchar="o" outchar="щ" />
    <entry inchar="O" outchar="Щ" />
    <entry inchar="p" outchar="з" />
    <entry inchar="P" outchar="З" />
    <entry inchar="[" outchar="х" />
    <entry inchar="{" outchar="Х" />
    <entry inchar="}" outchar="ъ" />
    <entry inchar="}" outchar="Ъ" />
    <entry inchar="a" outchar="ф" />
    <entry inchar="A" outchar="Ф" />
    <entry inchar="s" outchar="ы" />
    <entry inchar="S" outchar="Ы" />
    <entry inchar="d" outchar="в" />
    <entry inchar="D" outchar="В" />
    <entry inchar="f" outchar="а" />
    <entry inchar="F" outchar="А" />
    <entry inchar="g" outchar="п" />
    <entry inchar="G" outchar="П" />
    <entry inchar="h" outchar="р" />
    <entry inchar="H" outchar="Р" />
    <entry inchar="j" outchar="о" />
    <entry inchar="J" outchar="О" />
    <entry inchar="k" outchar="л" />
    <entry inchar="K" outchar="Л" />
    <entry inchar="l" outchar="д" />
    <entry inchar="L" outchar="Д" />
    <entry inchar=";" outchar="ж" />
    <entry inchar=":" outchar="Ж" />
    <entry inchar="'" outchar="э" />
    <entry inchar=""" outchar="Э" />
    <entry inchar="z" outchar="я" />
    <entry inchar="Z" outchar="Я" />
    <entry inchar="x" outchar="ч" />
    <entry inchar="X" outchar="Ч" />
    <entry inchar="c" outchar="c" />
    <entry inchar="C" outchar="C" />
    <entry inchar="v" outchar="м" />
    <entry inchar="V" outchar="М" />
    <entry inchar="b" outchar="и" />
    <entry inchar="B" outchar="И" />
    <entry inchar="n" outchar="т" />
    <entry inchar="N" outchar="Т" />
    <entry inchar="m" outchar="ь" />
    <entry inchar="M" outchar="Ь" />
    <entry inchar="," outchar="б" />
    <entry inchar="<" outchar="Б" />
    <entry inchar="." outchar="ю" />
    <entry inchar=">" outchar="Ю" />
  </char2char>

</keyboard_layout>
Restart XBMC4Xbox (either through Shutdown > Restart or if you have HTTP server enabled, the easier way is):
[url]http://xbox_ip_address/xbmcCmds/xbmcHttp?command=ExecBuiltIn(RestartApp)[/url]

Re: Cyrillic keyboard layout request - Peace !

Posted: Thu Apr 17, 2014 1:27 am
by Dan Dar3
On your second problem, download this file on your PC, edit to add this line below and save back.

Q:\language\Russian\strings.xml

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
  <string id="20181">Backspace</string>
   ...
If you have a good translation for "Backspace" in Russian, let me know and I will create a ticket for it.

Re: Cyrillic keyboard layout request - Peace !

Posted: Thu Apr 17, 2014 6:59 am
by Reket
thanks for a prompt reply and help beginning :)
today there will be free time I will deal with this issue, and I will let you know that turned out

Re: Cyrillic keyboard layout request - Peace !

Posted: Thu Apr 17, 2014 8:22 am
by Reket
@DanDar

yo!

I did some work :)

I dealt with the Backspace key, all turned out perfectly. I think it you shouldn't replace with the Russian name, harmoniously fits into "backsace/enter button" style, in Russian it is simply a little wrong, as though to tell if literally to transfer "return, letters. "gap back" funny: )
http://6.firepic.org/6/images/2014-04/1 ... fts0sx.jpg

And here with an apportion not that didn't leave,
I made everything in accuracy according to your description.
All remained still isn't changed, I tried to change in the manager file names, in the appendix searching.
Still I tried to switch by "Character set" to "Cyrillic (windows/iso)" there is nothing positive.

http://6.firepic.org/6/images/2014-04/1 ... t9vtbs.jpg
http://6.firepic.org/6/images/2014-04/1 ... 2lwtbk.jpg
http://6.firepic.org/6/images/2014-04/1 ... 2w05ua.jpg

At me costs still unleashx 0.37 rus, there eng/rus apportion perfectly works. Can spot there something for xmbc4xbox?

Re: Cyrillic on-screen keyboard request

Posted: Fri Apr 18, 2014 11:27 am
by Dan Dar3
Right, I see, you want the on-screen keyboard (thought you wanted the USB keyboard). I don't know whether it is possible, let me try something here locally and come back to you.

Re: Cyrillic on-screen keyboard request - Peace !

Posted: Thu May 29, 2014 7:53 am
by Reket
Hi!
In general there was free time, modernized the xbox :)
I replaced a cooler with more silent, I added on 3/4 port from the controler (usb port, and indication of work of hdd and a network)
replaced thermopaste with CPU and GPU chip.

I have a wireless mouse and the Rapoo e1050 keyboard to the computer.
The mouse doesn't work in xbmc, and the keyboard yes!
I made again according to your instruction and I added other letters.
Just I tried to look in the youtube addon on video Cyrillics, everything works perfectly!
Thanks the problem basically is solved 8-)

Re: [Solved] Cyrillic on-screen keyboard request - Peace !

Posted: Thu May 29, 2014 2:02 pm
by Dan Dar3
@Reket
That's great stuff, well done man! Now, can you create a Redmine ticket (see Development tab at the top) where you mention the problem and attach your file, this way Buzz will include it into the next builds so other Russian users will have it as well. Oh also mention this thread, might be useful if later someone wants to comment on it further. Otherwise upload it somewhere or send it to me and I'll do it.

PS: Yeah I don't know much about using mice, see this wiki page below.
http://www.xbmc4xbox.org.uk/wiki/Xbox_U ... se_Support

Re: [Solved] Cyrillic on-screen keyboard request - Peace !

Posted: Sun Jun 01, 2014 1:33 pm
by Reket
Dan Dar3 wrote:@Reket
That's great stuff, well done man! Now, can you create a Redmine ticket (see Development tab at the top) where you mention the problem and attach your file, this way Buzz will include it into the next builds so other Russian users will have it as well. Oh also mention this thread, might be useful if later someone wants to comment on it further. Otherwise upload it somewhere or send it to me and I'll do it.

PS: Yeah I don't know much about using mice, see this wiki page below.
http://www.xbmc4xbox.org.uk/wiki/Xbox_U ... se_Support

It will be better for you to make it :) I will be grateful.

but there is nevertheless a problem, it is the share of the Russian capital letter "Э" a symbol ("), placing in quotes it naturally doesn't work. I think you will be able to correct it, I don't know syntax etc.

File : http://dropmefiles.com/mJbkp

Re: [Solved] Cyrillic on-screen keyboard request - Peace !

Posted: Mon Jun 02, 2014 1:27 pm
by Dan Dar3
Ok, you didn't know about XML "character entities" - some characters are not allowed in XML node values or attributes as they are actually used to construct the XML itself, like " or < or >. So they need to be escaped using these character entities - so " as a value should be " If you would try to view your XML into a web browser it would tell you is not a valid XML and where the problem is.
http://en.wikipedia.org/wiki/List_of_XM ... ies_in_XML

I've updated my first post, can you try that and let me know how it worked and I'll create a Redmine ticket so it gets into the sources, thanks.

Re: [Solved] Cyrillic on-screen keyboard request - Peace !

Posted: Mon Jun 02, 2014 7:00 pm
by Reket
Dan Dar3 wrote:Ok, you didn't know about XML "character entities" - some characters are not allowed in XML node values or attributes as they are actually used to construct the XML itself, like " or < or >. So they need to be escaped using these character entities - so " as a value should be " If you would try to view your XML into a web browser it would tell you is not a valid XML and where the problem is.
http://en.wikipedia.org/wiki/List_of_XM ... ies_in_XML

I've updated my first post, can you try that and let me know how it worked and I'll create a Redmine ticket so it gets into the sources, thanks.

Hi @DanDar3

Just I checked, works excellently :)
Many thanks for the help! You helped me, to understand all this ;)

Re: [Solved] Cyrillic on-screen keyboard request - Peace !

Posted: Tue Jun 03, 2014 12:40 am
by Dan Dar3
Redmine ticket:

Russian keyboard layout (external)
http://redmine.exotica.org.uk/issues/309