{"id":26036,"date":"2023-04-12T10:19:49","date_gmt":"2023-04-21T03:16:01","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/"},"modified":"2025-08-11T18:16:01","modified_gmt":"2025-08-11T10:16:01","slug":"%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/","title":{"rendered":"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell"},"content":{"rendered":"<p>\u7531\u4e8eDebian 10\uff08buster\uff09\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u65e0\u6cd5\u901a\u8fc7apt\u5b89\u88c5translate-shell\uff0c\u5e76\u4e14\u5373\u4f7f\u641c\u7d22\u4e5f\u5f88\u96be\u627e\u5230\u76f8\u5173\u4fe1\u606f\uff0c\u6240\u4ee5\u6211\u51b3\u5b9a\u5728\u6b64\u53d1\u5e03\u3002\u987a\u4fbf\u63d0\u4e00\u4e0b\uff0ctranslate-shell\u662f\u4e00\u4e2a\u8c03\u7528\u8c37\u6b4c\u7ffb\u8bd1\u7684\u547d\u4ee4\u3002<\/p>\n<p>\u8981\u5728apt\u4e2d\u5b89\u88c5translate-shell\uff0c\u9700\u8981\u4e8b\u5148\u6dfb\u52a0contrib\u5b58\u50a8\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code># echo \"deb http:\/\/ftp.de.debian.org\/debian buster main contrib\" &gt; \/etc\/apt\/sources.list.d\/contrib.list\r\n# apt update\r\n# apt install translate-shell\r\n<\/code><\/pre>\n<p>\u53c2\u8003\u8fd9\u4e2a\u94fe\u63a5\uff1ahttps:\/\/packages.debian.org\/buster\/all\/translate-shell\/download\u3002<\/p>\n<p>\u4f7f\u7528\u8fd9\u4e2a\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u7ec8\u7aef\u4e0a\u8fdb\u884c\u7ffb\u8bd1\uff0c\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<pre class=\"post-pre\"><code>$ trans -b en:ja \"hello world!\"\r\n\u3053\u3093\u306b\u3061\u306f\u4e16\u754c\uff01\r\n<\/code><\/pre>\n<h4>2020\u5e7410\u670821\u65e5\u9644\u8a00<\/h4>\n<p>\u5982\u679c\u5728\u53ef\u4ee5\u901a\u8fc7\u9ed8\u8ba4\u5b89\u88c5\u7684\u5176\u4ed6Linux\u53d1\u884c\u7248\u4e0a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef\uff0c\u5219\u5e94\u8be5\u8003\u8651\u5347\u7ea7\u7248\u672c\u3002<\/p>\n<pre class=\"post-pre\"><code>[ERROR] Null response.\r\n[ERROR] Oops! Something went wrong and I can't translate it for you :(\r\n<\/code><\/pre>\n<p>\u5b9e\u9645\u4e0a\u662f\u8fdb\u884c\u7248\u672c\u68c0\u67e5\uff0c\u4e0b\u8f7d\u6700\u65b0\u7248\u5e76\u66f4\u65b0\u73b0\u6709\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo trans -U\r\nCurrent version:        0.9.2.1\r\nNew version available:  0.9.6.12\r\nDownload from:  http:\/\/www.soimort.org\/translate-shell\/trans\r\n$ sudo wget http:\/\/www.soimort.org\/translate-shell\/trans\r\n$ sudo chmod +x trans\r\n$ sudo mv trans `which trans`\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u4e8eDebian 10\uff08buster\uff09\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u65e0\u6cd5\u901a\u8fc7apt\u5b89\u88c5translate-shell\uff0c\u5e76\u4e14\u5373\u4f7f\u641c\u7d22 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-26036","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian-10-buster-\u4e0a\u5b89\u88c5translate-shell\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian-10-buster-\u4e0a\u5b89\u88c5translate-shell\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-21T03:16:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T10:16:01+00:00\" \/>\n<meta name=\"author\" content=\"\u5b87, \u534e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5b87, \u534e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/\",\"name\":\"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-04-21T03:16:01+00:00\",\"dateModified\":\"2025-08-11T10:16:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\"},\"description\":\"\u5173\u4e8e\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458\",\"name\":\"\u5b87, \u534e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g\",\"caption\":\"\u5b87, \u534e\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian-10-buster-\u4e0a\u5b89\u88c5translate-shell\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell","og_description":"\u5173\u4e8e\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728debian-10-buster-\u4e0a\u5b89\u88c5translate-shell\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-04-21T03:16:01+00:00","article_modified_time":"2025-08-11T10:16:01+00:00","author":"\u5b87, \u534e","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u5b87, \u534e","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/","name":"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-04-21T03:16:01+00:00","dateModified":"2025-08-11T10:16:01+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458"},"description":"\u5173\u4e8e\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728Debian 10 (buster) \u4e0a\u5b89\u88c5translate-shell"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/513018e4e121d3add1b7c5de8be21458","name":"\u5b87, \u534e","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/63cd45cbc05a35fc4ff7637a163c83c4962ef58d27472726c3a3e0c9c5194f0f?s=96&d=mm&r=g","caption":"\u5b87, \u534e"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yuhua\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8debian-10-buster-%e4%b8%8a%e5%ae%89%e8%a3%85translate-shell%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/26036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=26036"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/26036\/revisions"}],"predecessor-version":[{"id":88197,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/26036\/revisions\/88197"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=26036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=26036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=26036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}