Bugs to be translated

A bug occurred in the translation system that the title attribute of the “RSS feed link tag” was not included in the target. As shown below, the title was still displayed in Japanese even after switching to the English page.

<link rel="alternate" type="application/rss+xml" title="サイト名 » フィード" href="https://example.com/en/feed/" />

The next time a filter is applied as a countermeasure, the word “feed” is translated into English in a Japanese environment.

<link rel="alternate" type="application/rss+xml" title="サイト名 » Feed" href="https://example.com/feed/" />

Therefore, individual functions were applied to the “Feed” in the filter to fine-tune them.

<link rel="alternate" type="application/rss+xml" title="Site Name » Feed" href="https://example.com/en/feed/" />

I thought the problem was solved, but at the same time the mysterious phenomenon of “one-byte spaces being jammed” occurred. This problem was solved by plugging in the special character “half-width space” because the plugin had retained the value.

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.

Leave a comment on the article