View Single Post
Old 02-02-2023, 01:38 PM   #149
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,956
Karma: 6361444
Join Date: Nov 2009
Device: many
Sigil had no trouble with it but that translation program unfortunately translates any style tags in head which really messes things up as it tries to translate css.

Given this translator is a python program that uses bs4, it could be made to skip over all style and script tags in head, preventing this error quite easily.

That python program does use Google Translate as its engine. It may just need a few tweaks.

The real question is if these minor nits can be fixed: would it create a good starting point?

I tried with German but my German is so bad I could not tell how "poor" the translated text was.

Unfortunately I do not know another language well enough to really gauge things.

Last edited by KevinH; 02-02-2023 at 02:34 PM.
KevinH is online now   Reply With Quote