{"id":5893,"date":"2017-08-08T14:07:07","date_gmt":"2017-08-08T11:07:07","guid":{"rendered":"http:\/\/ssrlab.by\/?p=5893"},"modified":"2020-12-15T12:50:49","modified_gmt":"2020-12-15T09:50:49","slug":"kanvertar-raskladki-klaviyatury","status":"publish","type":"post","link":"https:\/\/ssrlab.by\/en\/5893","title":{"rendered":"Keyboard Layout Converter"},"content":{"rendered":"<p>Keyboard Layout Converter\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-7156\" src=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2017\/08\/KeyboardLayoutConverter_BE_1.png\" alt=\"\" width=\"1247\" height=\"646\" srcset=\"https:\/\/ssrlab.by\/wp-content\/uploads\/2017\/08\/KeyboardLayoutConverter_BE_1.png 1247w, https:\/\/ssrlab.by\/wp-content\/uploads\/2017\/08\/KeyboardLayoutConverter_BE_1-300x155.png 300w, https:\/\/ssrlab.by\/wp-content\/uploads\/2017\/08\/KeyboardLayoutConverter_BE_1-768x398.png 768w, https:\/\/ssrlab.by\/wp-content\/uploads\/2017\/08\/KeyboardLayoutConverter_BE_1-1024x530.png 1024w\" sizes=\"(max-width: 1247px) 100vw, 1247px\" \/><\/a><\/p>\n<ul>\n<li>\u043f\u043e\u043b\u0435 \u045e\u0432\u043e\u0434\u0443 \u0442\u044d\u043a\u0441\u0442\u0443, \u043d\u0430\u0431\u0440\u0430\u043d\u0430\u0433\u0430 \u0437 \u0443\u043a\u043b\u044e\u0447\u0430\u043d\u0430\u0439 \u043b\u0430\u0446\u0456\u043d\u0441\u043a\u0430\u0439 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430\u0439;<\/li>\n<li>\u043a\u043d\u043e\u043f\u043a\u0430 \u00ab\u041a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0432\u0430\u0446\u044c \u0443 \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443\u00bb, \u044f\u043a\u0430\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435 \u043f\u0435\u0440\u0430\u045e\u0442\u0432\u0430\u0440\u044d\u043d\u043d\u0435 \u0456 \u0434\u0430\u0435 \u043c\u0430\u0433\u0447\u044b\u043c\u0430\u0441\u0446\u044c \u0430\u0442\u0440\u044b\u043c\u0430\u0446\u044c \u0432\u044b\u043d\u0456\u043a\u0456.<\/li>\n<li>\u043f\u043e\u043b\u0435 \u0432\u044b\u0432\u0430\u0434\u0443, \u0434\u0437\u0435 \u0430\u0434\u043b\u044e\u0441\u0442\u0440\u043e\u045e\u0432\u0430\u0435\u0446\u0446\u0430 \u0432\u044b\u043d\u0456\u043a\u043e\u0432\u044b \u0442\u044d\u043a\u0441\u0442, \u043a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0432\u0430\u043d\u044b \u045e \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4><strong>\u041a\u0430\u0440\u044b\u0441\u0442\u0430\u043b\u044c\u043d\u0456\u0446\u043a\u0456 \u0441\u0446\u044d\u043d\u0430\u0440 \u043f\u0440\u0430\u0446\u044b \u0437 \u0441\u044d\u0440\u0432\u0456\u0441\u0430\u043c<\/strong><\/h4>\n<ol>\n<li>\u041d\u0430 \u0441\u0442\u0430\u0440\u043e\u043d\u0446\u044b \u0441\u044d\u0440\u0432\u0456\u0441\u0443 \u045e\u0432\u0435\u0441\u0446\u0456 \u045e \u043f\u043e\u043b\u0435 \u045e\u0432\u043e\u0434\u0443 \u0442\u044d\u043a\u0441\u0442, \u044f\u043a\u0456 \u043f\u0430\u0442\u0440\u0430\u0431\u0443\u0435 \u043f\u0435\u0440\u0430\u0432\u043e\u0434\u0443 \u045e \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443.<\/li>\n<li>\u041d\u0430\u0446\u0456\u0441\u043d\u0443\u0446\u044c \u043a\u043d\u043e\u043f\u043a\u0443 \u00ab\u041a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0432\u0430\u0446\u044c \u0443 \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443\u00bb.<\/li>\n<li>\u041f\u0440\u0430\u0433\u043b\u044f\u0434\u0437\u0435\u0446\u044c \u043a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0432\u0430\u043d\u044b \u0442\u044d\u043a\u0441\u0442 \u0443 \u043f\u043e\u043b\u0456 \u0432\u044b\u0432\u0430\u0434\u0443 (\u043c\u0430\u043b\u044e\u043d\u0430\u043a 1).<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h4><strong>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0430 \u043f\u0440\u0430\u0437 API<\/strong><\/h4>\n<p>\u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0443 \u0434\u0430 \u0441\u044d\u0440\u0432\u0456\u0441\u0430 \u201c\u041a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0440 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0456 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b\u201d \u043f\u0440\u0430\u0437 API, \u043d\u0435\u0430\u0431\u0445\u043e\u0434\u043d\u0430 \u0430\u0434\u043f\u0440\u0430\u0432\u0456\u0446\u044c AJAX-\u0437\u0430\u043f\u044b\u0442 \u0442\u044b\u043f\u0443 POST \u043d\u0430 \u0430\u0434\u0440\u0430\u0441 https:\/\/corpus.by\/KeyboardLayoutConverter\/api.php. \u041f\u0440\u0430\u0437 \u043c\u0430\u0441\u0456\u045e <strong><em>data<\/em> <\/strong>\u043f\u0435\u0440\u0430\u0434\u0430\u044e\u0446\u0446\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b:<\/p>\n<ul>\n<li><strong><em>text<\/em><\/strong> \u2014 \u0430\u0434\u0432\u043e\u043b\u044c\u043d\u044b \u045e\u0432\u0430\u0445\u043e\u0434\u043d\u044b \u0442\u044d\u043a\u0441\u0442.<\/li>\n<li><strong><em>inp<\/em><\/strong> \u2014 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b, \u0443 \u0430\u0434\u043f\u0430\u0432\u0435\u0434\u043d\u0430\u0441\u0446\u0456 \u0437 \u044f\u043a\u043e\u0439 \u043d\u0430\u0434\u0440\u0443\u043a\u0430\u0432\u0430\u043d\u044b \u0442\u044d\u043a\u0441\u0442:\n<ul>\n<li><em><strong>be<\/strong> <\/em>\u2014 \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b;<\/li>\n<li><em><strong>en<\/strong> <\/em>\u2014 \u0430\u043d\u0433\u043b\u0456\u0439\u0441\u043a\u0430\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b;<\/li>\n<li><em><strong>ru<\/strong> <\/em>\u2014 \u0440\u0443\u0441\u043a\u0430\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b.<\/li>\n<\/ul>\n<\/li>\n<li><strong><em>outp\u00a0<\/em><\/strong>\u2014 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b, \u0443 \u044f\u043a\u0443\u044e \u0442\u0440\u044d\u0431\u0430 \u043a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0432\u0430\u0446\u044c \u0442\u044d\u043a\u0441\u0442:\n<ul>\n<li><em><strong>be<\/strong> <\/em>\u2014 \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b;<\/li>\n<li><em><strong>en<\/strong> <\/em>\u2014 \u0430\u043d\u0433\u043b\u0456\u0439\u0441\u043a\u0430\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b;<\/li>\n<li><em><strong>ru<\/strong> <\/em>\u2014 \u0440\u0443\u0441\u043a\u0430\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0430 \u043a\u043b\u0430\u0432\u0456\u044f\u0442\u0443\u0440\u044b.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u041f\u0440\u044b\u043a\u043b\u0430\u0434 AJAX-\u0437\u0430\u043f\u044b\u0442\u0443:<\/p>\n<blockquote><p><span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">$.ajax({<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0type: &#8220;POST&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0url: &#8220;https:\/\/corpus.by\/KeyboardLayoutConverter\/api.php&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0data:{<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;text&#8221;: &#8220;Ckjdf\/&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;inp&#8221;: &#8220;en&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;outp&#8221;: &#8220;be&#8221;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0},<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0success: function(msg){ },<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0error: function() { }<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">});<\/span><\/p><\/blockquote>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u0432\u0435\u0440\u043d\u0435 JSON-\u043c\u0430\u0441\u0456\u045e \u0437 \u0443\u0432\u0430\u0445\u043e\u0434\u043d\u044b\u043c \u0442\u044d\u043a\u0441\u0442\u0430\u043c (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <em><strong>text<\/strong><\/em>)\u00a0\u0456 \u0432\u044b\u043d\u0456\u043a\u043e\u0432\u044b\u043c \u0441\u043a\u0430\u043d\u0432\u0435\u0440\u0442\u0430\u0432\u0430\u043d\u044b\u043c \u0442\u044d\u043a\u0441\u0442\u0430\u043c (\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <em><strong>result<\/strong><\/em>). \u041d\u0430\u043f\u0440\u044b\u043a\u043b\u0430\u0434, \u043f\u0430 \u0432\u044b\u0448\u044d\u0439 \u043f\u0440\u044b\u0432\u0435\u0434\u0437\u0435\u043d\u044b\u043c AJAX-\u0437\u0430\u043f\u044b\u0446\u0435 \u0431\u0443\u0434\u0437\u0435 \u0441\u0444\u0430\u0440\u043c\u0456\u0440\u0430\u0432\u0430\u043d\u044b \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u044b \u0430\u0434\u043a\u0430\u0437:<\/p>\n<blockquote><p><span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">[<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0{<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;text&#8221;: &#8220;Ckjdf\/&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;result&#8221;: &#8220;\u0421\u043b\u043e\u0432\u0430.&#8221;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0}<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">]<\/span><\/p><\/blockquote>\n<p>The <strong>\u00ab<a href=\"https:\/\/corpus.by\/KeyboardLayoutConverter\/?lang=en\">Keyboard Layout Converter<\/a>\u00bb<\/strong> service is designed to translate text written in the English-language keyboard layout into text that corresponds to the Belarusian-language keyboard layout. The service receives the text recorded in the English-language layout as an input. After processing the text, at the output the user receives the correspondence of the input text recorded by the symbols of the Belarusian-language layout.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Access to the service via the API<\/strong><\/p>\n<p>To access the service\u00a0<strong>\u00ab<a href=\"https:\/\/corpus.by\/KeyboardLayoutConverter\/?lang=en\">Keyboard Layout Converter<\/a>\u00bb<\/strong> via the API, you should send a AJAX-request (type: POST) to the address https:\/\/corpus.by\/KeyboardLayoutConverter\/api.php. With an input array <em><strong>data\u00a0<\/strong><\/em>the following parameters are passed:<\/p>\n<ul>\n<li><strong><em>text<\/em><\/strong> \u2014 arbitrary input text.<\/li>\n<li><strong><em>inp<\/em><\/strong> \u2014 keyboard layout according to which the text is printed:\n<ul>\n<li><em><strong>be<\/strong> <\/em>\u2014 Belarusian keyboard layout;<\/li>\n<li><em><strong>en<\/strong> <\/em>\u2014 English keyboard layout;<\/li>\n<li><em><strong>ru<\/strong> <\/em>\u2014 Russian keyboard layout.<\/li>\n<\/ul>\n<\/li>\n<li><strong><em>outp\u00a0<\/em><\/strong>\u2014 keyboard layout to which you want to convert the text:\n<ul>\n<li><em><strong>be<\/strong> <\/em>\u2014 Belarusian keyboard layout;<\/li>\n<li><em><strong>en<\/strong> <\/em>\u2014 English keyboard layout;<\/li>\n<li><em><strong>ru<\/strong> <\/em>\u2014 Russian keyboard layout.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Example of AJAX-request:<\/p>\n<blockquote><p><span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">$.ajax({<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0type: &#8220;POST&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0url: &#8220;https:\/\/corpus.by\/KeyboardLayoutConverter\/api.php&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0data:{<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;text&#8221;: &#8220;Ckjdf\/&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;inp&#8221;: &#8220;en&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;outp&#8221;: &#8220;be&#8221;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0},<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0success: function(msg){ },<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0error: function() { }<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">});<\/span><\/p><\/blockquote>\n<p>The server returns a JSON-array with the following parameters:<\/p>\n<ul>\n<li><em><strong>text\u00a0<\/strong><\/em>\u2014 input text.<\/li>\n<li><em><strong>result<\/strong><\/em> \u2014 resulting converted text.<\/li>\n<\/ul>\n<p>For example, the following reply will be formed on the above listed AJAX-request:<\/p>\n<blockquote><p><span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">[<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0{<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;text&#8221;: &#8220;Ckjdf\/&#8221;,<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0 \u00a0 &#8220;result&#8221;: <\/span><span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">&#8220;\u0421\u043b\u043e\u0432\u0430.&#8221;<\/span><br \/>\n<span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">\u00a0 \u00a0}<\/span><\/p>\n<p><span style=\"font-family: 'courier new', courier, monospace; font-size: 12px;\">]<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p class=\"qtranxs-available-languages-message qtranxs-available-languages-message-en\">Sorry, this entry is only available in <a href=\"https:\/\/ssrlab.by\/BY\/wp-json\/wp\/v2\/posts\/5893\" class=\"qtranxs-available-language-link qtranxs-available-language-link-BY\" title=\"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f\">\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f<\/a>. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.<\/p>\n<p>\u041f\u0435\u0440\u0430\u0432\u043e\u0434\u0437\u0456\u0446\u044c \u0442\u044d\u043a\u0441\u0442 \u0437 \u0430\u043d\u0433\u043b\u0456\u0439\u0441\u043a\u0430\u0439 \u0443 \u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443.<\/p>\n<a class = \"excerpt\" href=\"https:\/\/ssrlab.by\/en\/5893\">Read more...<\/a>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,290,292],"tags":[],"_links":{"self":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/5893"}],"collection":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/comments?post=5893"}],"version-history":[{"count":17,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/5893\/revisions"}],"predecessor-version":[{"id":7610,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/posts\/5893\/revisions\/7610"}],"wp:attachment":[{"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/media?parent=5893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/categories?post=5893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssrlab.by\/en\/wp-json\/wp\/v2\/tags?post=5893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}