1

I have got 30 HTML pages written in Czech and I need to translate them easily and cheaply into English and German.

So I'm looking for a tool where I put HTML content, it translates the texts with Google translate (or other service) and outputs the same HTML structure but with translated texts. So no tags or classes stripped whatsoever.

Is there such a service/tool/way? I can do it manually page by page, I don't need an API. I tried Google Translation Toolkit, but it strips HTML5 tags such as <article>. It works better in a common translate.google.com service, but it puts the bubbles with original texts in the HTML. The website runs Wordpress, but I don't think there's a such tool specially for Wordpress.

4

2 回答 2

0

ViliuL 的回答效果很好。按以下顺序查找和替换:

find: </
replace: </0
find: <
replace: <0

翻译

find: 0
replace: ""
find <" "/" "
replace </
于 2015-03-07T11:22:22.157 回答
0

快速而廉价的技巧: <footer>将被翻译,但是<0footer>- 不是。所以无论你使用什么标签,<0whatever>都不会被翻译。

于 2013-10-30T12:31:32.950 回答