{"id":435,"date":"2025-02-26T05:25:00","date_gmt":"2025-02-25T20:25:00","guid":{"rendered":"https:\/\/touhyo.com\/blog\/?p=435"},"modified":"2025-03-03T23:12:02","modified_gmt":"2025-03-03T14:12:02","slug":"bugs-to-be-translated","status":"publish","type":"post","link":"https:\/\/touhyo.com\/blog\/en\/bugs-to-be-translated\/","title":{"rendered":"Bugs to be translated"},"content":{"rendered":"\n<p>A bug occurred in the translation system that the title attribute of the \u201cRSS feed link tag\u201d was not included in the target. As shown below, the title was still displayed in Japanese even after switching to the English page.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#F8F8F2;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki monokai\" style=\"background-color: #272822\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F8F8F2\">&lt;<\/span><span style=\"color: #F92672\">link<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">rel<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;alternate&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">type<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;application\/rss+xml&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">title<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;\u30b5\u30a4\u30c8\u540d \u00bb \u30d5\u30a3\u30fc\u30c9&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">href<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;https:\/\/example.com\/en\/feed\/&quot;<\/span><span style=\"color: #F8F8F2\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>The next time a filter is applied as a countermeasure, the word \u201cfeed\u201d is translated into English in a Japanese environment.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#F8F8F2;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki monokai\" style=\"background-color: #272822\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F8F8F2\">&lt;<\/span><span style=\"color: #F92672\">link<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">rel<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;alternate&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">type<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;application\/rss+xml&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">title<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;\u30b5\u30a4\u30c8\u540d \u00bb Feed&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">href<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;https:\/\/example.com\/feed\/&quot;<\/span><span style=\"color: #F8F8F2\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Therefore, individual functions were applied to the \u201cFeed\u201d in the filter to fine-tune them.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#F8F8F2;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><pre class=\"shiki monokai\" style=\"background-color: #272822\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F8F8F2\">&lt;<\/span><span style=\"color: #F92672\">link<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">rel<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;alternate&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">type<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;application\/rss+xml&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">title<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;Site Name \u00bb Feed&quot;<\/span><span style=\"color: #F8F8F2\"> <\/span><span style=\"color: #A6E22E\">href<\/span><span style=\"color: #F92672\">=<\/span><span style=\"color: #E6DB74\">&quot;https:\/\/example.com\/en\/feed\/&quot;<\/span><span style=\"color: #F8F8F2\"> \/&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>I thought the problem was solved, but at the same time the mysterious phenomenon of \u201cone-byte spaces being jammed\u201d occurred. This problem was solved by plugging in the special character \u201chalf-width space\u201d because the plugin had retained the value.<\/p>\n\n\n\n<p>If you pursue the details, you will not be able to finish it quickly. But I recommend you to make it carefully because this kind of accumulation is very important. Please be careful not to miss anything.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A bug occurred in the translation system that the title attribute of the \u201cRSS feed link tag\u201d was not included in the target. As shown below, the title was still displayed in Japanese even after switching to the English page. The next time a filter is applied as a countermeasure, the word \u201cfeed\u201d is translated [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/touhyo.com\/blog\/?p=432","footnotes":""},"categories":[1],"tags":[],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-memo","en-US"],"_links":{"self":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":5,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"predecessor-version":[{"id":498,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/posts\/435\/revisions\/498"}],"wp:attachment":[{"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/touhyo.com\/blog\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}