{"id":2142,"date":"2012-08-08T14:14:00","date_gmt":"2012-08-08T05:14:00","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=2142"},"modified":"2013-01-30T17:04:30","modified_gmt":"2013-01-30T08:04:30","slug":"javascript-api-for-officemicrosoft-translator-api%e3%82%92%e5%88%a9%e7%94%a8%e3%81%97%e3%81%a6%e9%81%b8%e6%8a%9e%e6%96%87%e5%ad%97%e5%88%97%e3%82%92%e7%bf%bb%e8%a8%b3%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=2142","title":{"rendered":"[Office\u7528\u30a2\u30d7\u30ea]Microsoft Translator API\u3092\u5229\u7528\u3057\u3066\u9078\u629e\u6587\u5b57\u5217\u3092\u7ffb\u8a33\u3059\u308b\u3002"},"content":{"rendered":"<p><span style=\"color: #ff0000; font-weight: bold;\">2012\/11\/2 \u8ffd\u8a18\uff1a<\/span><br \/>\nPHP\u3067OAuth\u8a8d\u8a3c\u3092\u884c\u3046\u300c<a href=\"\/\/www.ka-net.org\/blog\/?p=2433\" title=\"[JavaScript API for Office]Microsoft Translator API\u3092\u5229\u7528\u3057\u3066\u9078\u629e\u6587\u5b57\u5217\u3092\u7ffb\u8a33\u3059\u308b(\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u5bfe\u5fdc)\u3002\" target=\"_blank\">[JavaScript API for Office]Microsoft Translator API\u3092\u5229\u7528\u3057\u3066\u9078\u629e\u6587\u5b57\u5217\u3092\u7ffb\u8a33\u3059\u308b(\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u5bfe\u5fdc)\u3002<\/a>\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u3053\u306e\u60c5\u5831\u306fOffice 2013 \u30ab\u30b9\u30bf\u30de\u30fc \u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u5143\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u88fd\u54c1\u7248\u3067\u306f\u5909\u66f4\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p>\u4eca\u56de\u306f<strong>Microsoft Translator API<\/strong>\u3092\u5229\u7528\u3057\u3066\u9078\u629e\u6587\u5b57\u5217\u3092\u7ffb\u8a33\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f<a href=\"https:\/\/datamarket.azure.com\/dataset\/1899a118-d202-492c-aa16-ba21c33c06cb\" title=\"Windows Azure Marketplace\" target=\"_blank\">Windows Azure Marketplace<\/a>\u3067Microsoft Translator\u306e\u5229\u7528\u767b\u9332\u3092\u3057\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID(<span style=\"color: #ff0000; font-weight: bold;\">client_id<\/span>)\u3068\u9867\u5ba2\u306e\u79d8\u5bc6(<span style=\"color: #ff0000; font-weight: bold;\">client_secret<\/span>)\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u8a73\u3057\u3044\u53d6\u5f97\u624b\u9806\u306f\u300c<a href=\"http:\/\/kentablog.cluscore.com\/2012\/05\/microsoft-translator-api-windows-azure.html\" title=\"Windows Azure Marketplace \u306e Microsoft Translator API \u3092\u4f7f\u3063\u3066\u307f\u308b\" target=\"_blank\">Windows Azure Marketplace \u306e Microsoft Translator API \u3092\u4f7f\u3063\u3066\u307f\u308b<\/a>\u300d\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n        &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot;&gt;\r\n        &lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.7.2\/jquery.min.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script src=&quot;https:\/\/az88874.vo.msecnd.net\/api\/1.0\/office.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script&gt;\r\n            var target;\r\n            Office.initialize = function (reason) {\r\n                $(document).ready(function () {\r\n                    Office.context.document.addHandlerAsync(Office.EventType.DocumentSelectionChanged, document_SelectionChange);\r\n                });\r\n            }\r\n            function document_SelectionChange(eventArgs) {\r\n                if ($(&quot;#action&quot;).attr(&quot;checked&quot;)) {\r\n                    eventArgs.document.getSelectedDataAsync(Office.CoercionType.Text, function(asyncResult) {\r\n                        if (asyncResult.status != Office.AsyncResultStatus.Failed) {\r\n                            target = asyncResult.value;\r\n                            execTranslate();\r\n                        }\r\n                    });\r\n                }\r\n            }\r\n            \r\n            $(function(){\r\n                $(&quot;#result&quot;).click(\r\n                    function() {\r\n                        this.focus();\r\n                        this.select();\r\n                        clipboardData.setData(&quot;text&quot;, this.value);\r\n                    }\r\n                );\r\n                \r\n                $(&quot;#fromLng&quot;).change(function() {\r\n                    if ($(&quot;#action&quot;).attr(&quot;checked&quot;)) {\r\n                        execTranslate();\r\n                    }\r\n                });\r\n                \r\n                $(&quot;#toLng&quot;).change(function() {\r\n                    if ($(&quot;#action&quot;).attr(&quot;checked&quot;)) {\r\n                        execTranslate();\r\n                    }\r\n                });\r\n            });\r\n            \r\n            function execTranslate() {\r\n                if (target) {\r\n                    fncTranslate($(&quot;#fromLng&quot;).val(), $(&quot;#toLng&quot;).val(), target);\r\n                }\r\n            }\r\n            \r\n            function fncTranslate(fromLng, toLng, str) {\r\n                \/\/********** \u8981\u5909\u66f4 **********\r\n                var client_id = &quot;(\u53d6\u5f97\u3057\u305fclient_id\u3092\u3053\u3053\u306b\u8a18\u8ff0\u3057\u307e\u3059)&quot;; \/\/\u30af\u30e9\u30a4\u30a2\u30f3\u30c8ID\r\n                var client_secret = &quot;(\u53d6\u5f97\u3057\u305fclient_secret\u3092\u3053\u3053\u306b\u8a18\u8ff0\u3057\u307e\u3059)&quot;; \/\/\u9867\u5ba2\u306e\u79d8\u5bc6\r\n                \/\/****************************\r\n                \r\n                var scope = &quot;http:\/\/api.microsofttranslator.com&quot;;\r\n                var grant_type = &quot;client_credentials&quot;;\r\n                \r\n                var x = $.ajaxSettings.xhr();\r\n                x.open(&quot;POST&quot;,&quot;https:\/\/datamarket.accesscontrol.windows.net\/v2\/OAuth2-13&quot;,true);\r\n                x.setRequestHeader(&quot;Content-Type&quot;,&quot;application\/x-www-form-urlencoded&quot;);\r\n                x.send(&quot;client_id=&quot; + encodeURIComponent(client_id) + &quot;&amp;client_secret=&quot; + encodeURIComponent(client_secret) + &quot;&amp;scope=&quot; + scope + &quot;&amp;grant_type=&quot; + grant_type);\r\n                x.onreadystatechange = function() {\r\n                    if (x.readyState == 4 &amp;&amp; x.status == 200) {\r\n                        var js = eval(&quot;(&quot; + x.responseText + &quot;)&quot;);\r\n                        var ah = &quot;Bearer &quot; + js.access_token;\r\n                        $.ajax({\r\n                            type: &quot;GET&quot;,\r\n                            url: &quot;http:\/\/api.microsofttranslator.com\/V2\/Ajax.svc\/Translate&quot;,\r\n                            dataType: &quot;jsonp&quot;,\r\n                            data: {\r\n                                appId: ah,\r\n                                text: str,\r\n                                from: fromLng,\r\n                                to: toLng\r\n                            },\r\n                            jsonp: &quot;oncomplete&quot;,\r\n                            success: function(data, dataType){\r\n                                $(&quot;#result&quot;).val(data);\r\n                            },\r\n                            error: function() {\r\n                                $(&quot;#result&quot;).val(&quot;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002&quot;);\r\n                            }\r\n                        });\r\n                    } else {\r\n                        $(&quot;#result&quot;).val(&quot;\u305f\u3060\u3044\u307e\u51e6\u7406\u4e2d\u3067\u3059\u3002&quot;);\r\n                    }\r\n                }\r\n            }\r\n        &lt;\/script&gt;\r\n        &lt;style&gt;\r\n            body {\r\n                font-family:Arial,sans-serif;\r\n                font-size:0.9em;\r\n            }\r\n            select,textarea {width:100%}\r\n        &lt;\/style&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;input id=&quot;action&quot; type=&quot;checkbox&quot; title=&quot;\u30c1\u30a7\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306e\u307f\u7ffb\u8a33\u304c\u884c\u308f\u308c\u307e\u3059\u3002&quot;&gt;\u52d5\u4f5c\r\n        &lt;table&gt;\r\n            &lt;tr&gt;\r\n                &lt;td&gt;\u7ffb\u8a33\u5143\u8a00\u8a9e:&lt;\/td&gt;\r\n                &lt;td&gt;\r\n                    &lt;select id=&quot;fromLng&quot; title=&quot;\u7ffb\u8a33\u5143\u8a00\u8a9e&quot;&gt;\r\n                        &lt;option value=&quot;&quot; selected&gt;\u81ea\u52d5\u691c\u51fa&lt;\/option&gt;\r\n                        &lt;option value=&quot;ar&quot;&gt;\u30a2\u30e9\u30d3\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;bg&quot;&gt;\u30d6\u30eb\u30ac\u30ea\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ca&quot;&gt;\u30ab\u30bf\u30ed\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;zh-CHS&quot;&gt;\u7c21\u4f53\u5b57\u4e2d\u56fd\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;zh-CHT&quot;&gt;\u7e41\u4f53\u5b57\u4e2d\u56fd\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;cs&quot;&gt;\u30c1\u30a7\u30b3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;da&quot;&gt;\u30c7\u30f3\u30de\u30fc\u30af\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;nl&quot;&gt;\u30aa\u30e9\u30f3\u30c0\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;en&quot;&gt;\u82f1\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;et&quot;&gt;\u30a8\u30b9\u30c8\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;fi&quot;&gt;\u30d5\u30a3\u30f3\u30e9\u30f3\u30c9\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;fr&quot;&gt;\u30d5\u30e9\u30f3\u30b9\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;de&quot;&gt;\u30c9\u30a4\u30c4\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;el&quot;&gt;\u30ae\u30ea\u30b7\u30e3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ht&quot;&gt;\u30cf\u30a4\u30c1\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;he&quot;&gt;\u30d8\u30d6\u30e9\u30a4\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;hi&quot;&gt;\u30d2\u30f3\u30c7\u30a3\u30fc\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;mww&quot;&gt;Hmong Daw&lt;\/option&gt;\r\n                        &lt;option value=&quot;hu&quot;&gt;\u30cf\u30f3\u30ac\u30ea\u30fc\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;id&quot;&gt;\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;it&quot;&gt;\u30a4\u30bf\u30ea\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ja&quot;&gt;\u65e5\u672c\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ko&quot;&gt;\u97d3\u56fd\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;lv&quot;&gt;\u30e9\u30c8\u30d3\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;lt&quot;&gt;\u30ea\u30c8\u30a2\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;no&quot;&gt;\u30ce\u30eb\u30a6\u30a7\u30fc\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;fa&quot;&gt;\u30da\u30eb\u30b7\u30e3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;pl&quot;&gt;\u30dd\u30fc\u30e9\u30f3\u30c9\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;pt&quot;&gt;\u30dd\u30eb\u30c8\u30ac\u30eb\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ro&quot;&gt;\u30eb\u30fc\u30de\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ru&quot;&gt;\u30ed\u30b7\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;sk&quot;&gt;\u30b9\u30ed\u30d0\u30ad\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;sl&quot;&gt;\u30b9\u30ed\u30d9\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;es&quot;&gt;\u30b9\u30da\u30a4\u30f3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;sv&quot;&gt;\u30b9\u30a6\u30a7\u30fc\u30c7\u30f3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;th&quot;&gt;\u30bf\u30a4\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;tr&quot;&gt;\u30c8\u30eb\u30b3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;uk&quot;&gt;\u30a6\u30af\u30e9\u30a4\u30ca\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;vi&quot;&gt;\u30d9\u30c8\u30ca\u30e0\u8a9e&lt;\/option&gt;\r\n                    &lt;\/select&gt;\r\n                &lt;\/td&gt;\r\n            &lt;\/tr&gt;\r\n            &lt;tr&gt;\r\n                &lt;td&gt;\u7ffb\u8a33\u5148\u8a00\u8a9e:&lt;\/td&gt;\r\n                &lt;td&gt;\r\n                    &lt;select id=&quot;toLng&quot; title=&quot;\u7ffb\u8a33\u5148\u8a00\u8a9e&quot;&gt;\r\n                        &lt;option value=&quot;ar&quot;&gt;\u30a2\u30e9\u30d3\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;bg&quot;&gt;\u30d6\u30eb\u30ac\u30ea\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ca&quot;&gt;\u30ab\u30bf\u30ed\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;zh-CHS&quot;&gt;\u7c21\u4f53\u5b57\u4e2d\u56fd\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;zh-CHT&quot;&gt;\u7e41\u4f53\u5b57\u4e2d\u56fd\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;cs&quot;&gt;\u30c1\u30a7\u30b3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;da&quot;&gt;\u30c7\u30f3\u30de\u30fc\u30af\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;nl&quot;&gt;\u30aa\u30e9\u30f3\u30c0\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;en&quot; selected&gt;\u82f1\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;et&quot;&gt;\u30a8\u30b9\u30c8\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;fi&quot;&gt;\u30d5\u30a3\u30f3\u30e9\u30f3\u30c9\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;fr&quot;&gt;\u30d5\u30e9\u30f3\u30b9\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;de&quot;&gt;\u30c9\u30a4\u30c4\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;el&quot;&gt;\u30ae\u30ea\u30b7\u30e3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ht&quot;&gt;\u30cf\u30a4\u30c1\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;he&quot;&gt;\u30d8\u30d6\u30e9\u30a4\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;hi&quot;&gt;\u30d2\u30f3\u30c7\u30a3\u30fc\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;mww&quot;&gt;Hmong Daw&lt;\/option&gt;\r\n                        &lt;option value=&quot;hu&quot;&gt;\u30cf\u30f3\u30ac\u30ea\u30fc\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;id&quot;&gt;\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;it&quot;&gt;\u30a4\u30bf\u30ea\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ja&quot;&gt;\u65e5\u672c\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ko&quot;&gt;\u97d3\u56fd\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;lv&quot;&gt;\u30e9\u30c8\u30d3\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;lt&quot;&gt;\u30ea\u30c8\u30a2\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;no&quot;&gt;\u30ce\u30eb\u30a6\u30a7\u30fc\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;fa&quot;&gt;\u30da\u30eb\u30b7\u30e3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;pl&quot;&gt;\u30dd\u30fc\u30e9\u30f3\u30c9\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;pt&quot;&gt;\u30dd\u30eb\u30c8\u30ac\u30eb\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ro&quot;&gt;\u30eb\u30fc\u30de\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;ru&quot;&gt;\u30ed\u30b7\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;sk&quot;&gt;\u30b9\u30ed\u30d0\u30ad\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;sl&quot;&gt;\u30b9\u30ed\u30d9\u30cb\u30a2\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;es&quot;&gt;\u30b9\u30da\u30a4\u30f3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;sv&quot;&gt;\u30b9\u30a6\u30a7\u30fc\u30c7\u30f3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;th&quot;&gt;\u30bf\u30a4\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;tr&quot;&gt;\u30c8\u30eb\u30b3\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;uk&quot;&gt;\u30a6\u30af\u30e9\u30a4\u30ca\u8a9e&lt;\/option&gt;\r\n                        &lt;option value=&quot;vi&quot;&gt;\u30d9\u30c8\u30ca\u30e0\u8a9e&lt;\/option&gt;\r\n                    &lt;\/select&gt;\r\n                &lt;\/td&gt;\r\n            &lt;\/tr&gt;\r\n        &lt;\/table&gt;\r\n        &lt;textarea id=&quot;result&quot; title=&quot;\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5185\u5bb9\u3092\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002&quot; rows=&quot;15&quot;&gt;\u3053\u3053\u306b\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002&lt;\/textarea&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u305f\u30a2\u30d7\u30ea\u3092\u633f\u5165\u3059\u308b\u3068\u3001\u300c<span style=\"color: #ff0000; font-weight: bold;\">\u52d5\u4f5c<\/span>\u300d\u306b\u30c1\u30a7\u30c3\u30af\u304c\u5165\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u81ea\u52d5\u7684\u306b\u9078\u629e\u6587\u5b57\u5217\u306e\u7ffb\u8a33\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_21_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_21_01-300x195.jpg\" alt=\"\" title=\"Office2013_21_01\" width=\"300\" height=\"195\" class=\"alignnone size-medium wp-image-2143\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_21_01-300x195.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_21_01-290x188.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_21_01-150x97.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_21_01.jpg 964w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u6587\u5b57\u5217\u3092\u9078\u629e\u3059\u308b\u3060\u3051\u3067\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u7ffb\u8a33\u3067\u304d\u308b\u306e\u3067\u3001\u4f7f\u3044\u52dd\u624b\u306f\u306a\u304b\u306a\u304b\u826f\u3044\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30fbTranslate Method<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ff512406\" title=\"Translate Method\" target=\"_blank\">http:\/\/msdn.microsoft.com\/en-us\/library\/ff512406<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"2012\/11\/2 \u8ffd\u8a18\uff1a PHP\u3067OAuth\u8a8d\u8a3c\u3092\u884c\u3046\u300c[JavaScript API for Office]Microsoft Translator API\u3092\u5229\u7528\u3057\u3066\u9078\u629e\u6587\u5b57\u5217\u3092\u7ffb\u8a33\u3059\u308b(\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u5bfe\u5fdc)\u3002\u300d\u3092\u8ffd [&hellip;]","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[130,4,79],"tags":[74,77],"class_list":["post-2142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2013","tag-office-2013","tag-apps-for-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-yy","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2142"}],"version-history":[{"count":6,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2142\/revisions"}],"predecessor-version":[{"id":2664,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2142\/revisions\/2664"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}