{"id":6517,"date":"2021-02-08T08:24:22","date_gmt":"2021-02-08T08:24:22","guid":{"rendered":"https:\/\/sbfactory.ru\/cd\/?p=6517"},"modified":"2021-02-10T11:33:26","modified_gmt":"2021-02-10T11:33:26","slug":"%d0%b0%d0%b2%d1%82%d0%be%d0%bc%d0%b0%d1%82%d0%b8%d1%87%d0%b5%d1%81%d0%ba%d0%b8%d0%b9-%d0%bf%d0%b5%d1%80%d0%b5%d0%b2%d0%be%d0%b4-%d1%82%d0%b5%d0%ba%d1%81%d1%82%d0%b0-%d0%bf%d1%80%d0%b8-%d0%bf%d0%b0-2","status":"publish","type":"post","link":"https:\/\/sbfactory.ru\/cd\/?p=6517","title":{"rendered":"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0442\u0435\u043a\u0441\u0442\u0430 \u043f\u0440\u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0435 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0430 Google \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a"},"content":{"rendered":"<p><!--more-->\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a <strong>Google \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0443 (Google Cloud Translation)<\/strong> \u043c\u043e\u0436\u043d\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0440\u0438 \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430.<\/p>\n<p>\u0417\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0443 <strong>Google \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430<\/strong> \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0430\u043a\u0440\u043e\u0441\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 PHP_SCRIPT. \u0414\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u043a\u0440\u043e\u0441 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c POST \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u043b\u044e\u0431\u044b\u043c URL \u0441 \u043b\u044e\u0431\u044b\u043c\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.<br \/>\n<BR><br \/>\n\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c <strong>Api key \u0434\u043b\u044f Google \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430<\/strong> (Google Cloud Translation)<\/p>\n<p><a href=\"https:\/\/cloud.google.com\/translate\/docs\/basic\/quickstart\" rel=\"noopener nofollow\" target=\"_blank\"><img src=\"http:\/\/sbfactory.ru\/cd\/wp-content\/uploads\/2012\/02\/arrow_small.png\" alt=\"\" \/> \u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 Google Cloud Translation (\u0442\u0430\u043c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c Api key \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430)<\/a><\/p>\n<p>\u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u044b\u0447\u043d\u044b\u0439 POST \u0437\u0430\u043f\u0440\u043e\u0441.<\/p>\n<p><img loading=\"lazy\" src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/uploads\/2021\/02\/2021-02-08_10-50-20.png\" alt=\"\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u0442\u0435\u043a\u0441\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 Google Cloud Translation\" width=\"1103\" height=\"632\" class=\"aligncenter size-full wp-image-6520\" srcset=\"https:\/\/sbfactory.ru\/cd\/wp-content\/uploads\/2021\/02\/2021-02-08_10-50-20.png 1103w, https:\/\/sbfactory.ru\/cd\/wp-content\/uploads\/2021\/02\/2021-02-08_10-50-20-300x172.png 300w, https:\/\/sbfactory.ru\/cd\/wp-content\/uploads\/2021\/02\/2021-02-08_10-50-20-1024x587.png 1024w, https:\/\/sbfactory.ru\/cd\/wp-content\/uploads\/2021\/02\/2021-02-08_10-50-20-768x440.png 768w\" sizes=\"(max-width: 1103px) 100vw, 1103px\" \/><\/p>\n<p>\u0422\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong>q<\/strong>. \u041d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 (\u0441 \u043a\u0430\u043a\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u0438 \u043d\u0430 \u043a\u0430\u043a\u043e\u0439 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: en ru) \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 <strong>source<\/strong> \u0438 <strong>target<\/strong>. \u041f\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0443 <strong>format<\/strong> \u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043d\u0435 \u043d\u0430\u0448\u0435\u043b, \u043d\u043e \u043f\u043e\u043b\u0430\u0433\u0430\u044e, \u0447\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c <strong>text<\/strong> \u0438\u043b\u0438 <strong>html<\/strong>.<\/p>\n<p>Api key \u0434\u043b\u044f <strong>Google \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430 (Google Cloud Translation)<\/strong> \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 URL \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 key<\/p>\n<pre lang=\"HTML\" Line=\"1\">https:\/\/translation.googleapis.com\/language\/translate\/v2?key=API_KEY<\/pre>\n<p>\u0418\u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c POST \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a <strong>\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0443 Google<\/strong> \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u043d\u0443\u0436\u043d\u043e \u0432 \u0448\u0430\u0431\u043b\u043e\u043d \u0432\u044b\u0432\u043e\u0434\u0430 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a\u0443\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e<\/p>\n<pre lang=\"HTML\" Line=\"1\"><PHP_SCRIPT=https:\/\/translation.googleapis.com\/language\/translate\/v2?key=API_KEY[UTF-8]>\r\n<HEADERS><\/HEADERS>\r\n<REPLACE>\r\n{skip}\"translatedText\": \"|\r\n\"{skip}|\r\n\\r\\n|{br2}\r\n\\u003c|<\r\n\\u003e|>\r\n\\\"|\"<\/REPLACE>\r\n{\r\n  \"q\": \"[FIRST_REPLACE(\"|\\\")]\u0422\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430[\/FIRST_REPLACE]\",\r\n  \"source\": \"en\",\r\n  \"target\": \"ru\",\r\n  \"format\": \"text\"\r\n}\r\n<\/PHP_SCRIPT><\/pre>\n<p>\u0413\u0434\u0435 \u0432\u043c\u0435\u0441\u0442\u043e <strong>API_KEY<\/strong> \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0441\u0432\u043e\u0439 \u043a\u043b\u044e\u0447 Api Google \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430.<\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e <strong>\u0422\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430<\/strong> \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u043c\u0430\u043a\u0440\u043e\u0441 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u0442 \u0438\u0437 HTML WEB \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043d\u0443\u0436\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442.<br \/>\n<BR><br \/>\n<strong>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e<\/strong><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u044c \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442 (\u0431\u043e\u043b\u0435\u0435 1000 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432) \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0442\u044c \u043d\u0430 \u0447\u0430\u0441\u0442\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0430\u043a\u0440\u043e\u0441\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 <strong><a href=\"http:\/\/sbfactory.ru\/cd\/?p=6531\" rel=\"noopener\" target=\"_blank\">[SLICE_STRING]<\/a><\/strong>.<\/p>\n<p><Pre Lang=\"HTML\" Line=\"1\">[SLICE_STRING]\n<p>{ADDTOSTART}<PHP_SCRIPT=https:\/\/translation.googleapis.com\/language\/translate\/v2?key=\u0412\u0410\u0428 API \u041a\u041b\u042e\u0427[UTF-8]><br \/>\n<HEADERS><\/HEADERS><br \/>\n<REPLACE><br \/>\n{skip}&#8221;translatedText&#8221;: &#8220;|<br \/>\n&#8220;{skip}|<br \/>\n\\r\\n|{br2}<br \/>\n\\u003c|<\n\\u003e|><br \/>\n\\&#8221;|&#8221;<\/REPLACE><br \/>\n{<br \/>\n  &#8220;q&#8221;: &#8220;{\/ADDTOSTART}<\/p>\n<p>{ADDTOEND}&#8221;,<br \/>\n  &#8220;source&#8221;: &#8220;en&#8221;,<br \/>\n  &#8220;target&#8221;: &#8220;ru&#8221;,<br \/>\n  &#8220;format&#8221;: &#8220;text&#8221;<br \/>\n}<br \/>\n<\/PHP_SCRIPT>{\/ADDTOEND}<\/p>\n<p>{COUNT}1000{\/COUNT}<\/p>\n<p>{METHOD}Word{\/METHOD}<\/p>\n[FIRST_REPLACE(&#8220;|\\&#8221;)]\n<p>\u0422\u0415\u041a\u0421\u0422 \u0414\u041b\u042f \u041f\u0415\u0420\u0415\u0412\u041e\u0414\u0410<\/p>\n[\/FIRST_REPLACE][\/SLICE_STRING]\n<BR><br \/>\n<span id=\"post-ratings-6517\" class=\"post-ratings\" data-nonce=\"14a5e8c7a7\"><img id=\"rating_6517_1\" src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"1 Star\" title=\"1 Star\" onmouseover=\"current_rating(6517, 1, '1 Star');\" onmouseout=\"ratings_off(3.9, 4, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_6517_2\" src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"2 Stars\" title=\"2 Stars\" onmouseover=\"current_rating(6517, 2, '2 Stars');\" onmouseout=\"ratings_off(3.9, 4, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_6517_3\" src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"3 Stars\" title=\"3 Stars\" onmouseover=\"current_rating(6517, 3, '3 Stars');\" onmouseout=\"ratings_off(3.9, 4, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_6517_4\" src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_half.gif\" alt=\"4 Stars\" title=\"4 Stars\" onmouseover=\"current_rating(6517, 4, '4 Stars');\" onmouseout=\"ratings_off(3.9, 4, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_6517_5\" src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_off.gif\" alt=\"5 Stars\" title=\"5 Stars\" onmouseover=\"current_rating(6517, 5, '5 Stars');\" onmouseout=\"ratings_off(3.9, 4, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/> (\u043e\u0446\u0435\u043d\u043e\u043a: <strong>15<\/strong>, \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0430\u043b\u043b: <strong>3.87<\/strong>)<\/span><span id=\"post-ratings-6517-loading\" class=\"post-ratings-loading\"><img src=\"https:\/\/sbfactory.ru\/cd\/wp-content\/plugins\/wp-postratings\/images\/loading.gif\" width=\"16\" height=\"16\" class=\"post-ratings-image\" \/>Loading...<\/span>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[219,248,296],"_links":{"self":[{"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=\/wp\/v2\/posts\/6517"}],"collection":[{"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6517"}],"version-history":[{"count":11,"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=\/wp\/v2\/posts\/6517\/revisions"}],"predecessor-version":[{"id":6536,"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=\/wp\/v2\/posts\/6517\/revisions\/6536"}],"wp:attachment":[{"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sbfactory.ru\/cd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}