最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

tags - `<!--:en-->` Language notation in the post content

programmeradmin1浏览0评论

Can someone tell mich which plugin usually handles the following notations, used to translate posts?

<!--:en-->english text<!--:-->

<!--:es-->spanish text<!--:-->

Any way to get the posts translated using these tags is appreciated.

Can someone tell mich which plugin usually handles the following notations, used to translate posts?

<!--:en-->english text<!--:-->

<!--:es-->spanish text<!--:-->

Any way to get the posts translated using these tags is appreciated.

Share Improve this question asked Sep 9, 2019 at 20:56 Daniel W.Daniel W. 1551 gold badge1 silver badge6 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

This is the notation of the (pretty old) Plugin qtranslate. It was abandoned way back and replaced by mqtranslate and later qtranslate-x, which at this point are also abandoned. You can however convert your content to be used with wp multilang, which works with gutenberg, by replacing the <!--:lang--> tags with kinda shortcodes [:lang]. So for the english text you would use [:en]English Text[:].

It would be even better if you would put all languages within a post into the same language "shortcodes" instead of "opening" one language, closing it, and "opening" the next language. Like this:

[:en]English Text[:es]Spanish Text[:]

发布评论

评论列表(0)

  1. 暂无评论