XUnity.AutoTranslator icon indicating copy to clipboard operation
XUnity.AutoTranslator copied to clipboard

suggestion on how to improve translation quality

Open avril-gh opened this issue 4 years ago • 3 comments

There are some language pairs for which machine translation is very good, (eg. japanese -> english, which looks not bad) while for other language pairs, translation might be bad or just horrible. (eg. japanese -> polish, which is almost incomprehensible)

The suggestion is to

  • optionally allow two-pass translation - with intermediate language, like for example japanese -> english -> polish

where jp->en and then en->pl pairs produce much better result in grammar and quality than straight jp->pl

optional intermediate language could be configured / enabled in AutoTranslatorConfig.ini by adding IntermediateLanguage key like this

[General]
Language=pl
IntermediateLanguage=en
FromLanguage=ja

where, If IntermediateLanguage key is not present or is empty then translator should do 1 pass translate, FromLanguage -> Language if its present and have not empty value, translator should do 2 pass translate FromLanguage -> IntermediateLanguage ->Language

i believe this might increase translation quality for some languages which does not translate well directly.

avril-gh avatar Dec 01 '20 05:12 avril-gh

Greetings,

Certainly an interesting idea and not something I've thought about in the past.

Would require some breaking changes to some public APIs within this plugin, though.

Will consider this going forward.

gravydevsupreme avatar Dec 05 '20 15:12 gravydevsupreme

Good afternoon. Has your offer been accepted or is it still at discretion?

Loli-Kyn avatar May 09 '21 09:05 Loli-Kyn

I thinking the translator is getting better.

What i did was.

Change the language=en to language=pl

Add IntermediateLanguage=en into General in _AutoGeneratedTranslations.txt

Add ^"(.+)"$=「$1」 into the _AutoGeneratedTranslations.txt

Add _SplitterPatterns.en.txt into the translation folder.

Add _SplitterPatterns.en.txt into the translation config.

Add ^"(.+)"$=「$1」 into the _SplitterPatterns.txt

ghost avatar Dec 17 '21 14:12 ghost