Help Pages translated by AI

Hi @zynthianers!

The AI created a simple script that help me to translate automatically the zynthian-help pages.
I think the result is not bad, but i can only judge spanish translation. Please, check your language if available and tell me you opinion:

Currently only translated to:

  • spanish
  • german
  • portuguese

I would consider other languages when the script is more polished and generates “decent” translations for most languages.

For the curious, this is the prompt:

f"You are a professional technical translator and software localization expert with specialization in audio, MIDI and music production.\n"
f"Translate this user guide section from English into {target_language}.\n"
"STRICT RULES:\n"
"1. Maintain a formal, clear, and instructive tone appropriate for user documentation.\n"
"2. DO NOT alter or translate any HTML tags, classes, IDs, or structural attributes (href, src, etc.).\n"
"3. Translate exclusively the human-readable text contents.\n"
"4. Don't translate specialized terms related to audio, MIDI and music production nor other technical terms not commonly translated in specialized articles and news.\n"
"5. Return ONLY the translated raw HTML code. Do not wrap the output in markdown code blocks (```html)."

Perhaps some of you can give me some advice to improve results.
BTW, using gpt-6-luna.

Regards,

Hi @jofemodo, nice work.

I checked Portuguese and it’s quite acceptable. The major issue I found with the automatic translation is consistency, e.g. “chains” is kept at some sections, but often translated to “cadeias”. Furthermore, it could be helpful to include the Zynthian entities explicitly in prompt 4, imho those should not be translated throughout the help files, to avoid confusions when seeking support in Discourse - if needed/useful, a global glossary could be added.

1 Like

Hi @cfausto !

Thanks for checking. My impressions are very similar to yours.
I will add a list of terms that shouldn’t be translated, including zynthian specific terms and perhaps some other technical terms if needed.

Regards,

1 Like

German:
I’d write zynthian with a upper case Z, especially on the start of a sentence.
But generally the translation sounds very good.
I must admit, I haven’t fully controlled the whole text. After reading the first 2-3 chapters in detail and finding a good quality and no(!) errors except the lower case z in Zynthian, I started to switch to random samples. But still I haven’t found any obvious errors.

In the German translation, I didn’t notice any mixing of translations; on the contrary, I was actually impressed by the consistent decision to leave many technical terms untranslated. In my opinion, this makes the text easier to understand, though that may simply be my personal view.

Go for it. It is at least a lot better than having nothing and presumably better than a manual translation.

2 Likes

I can also say the German translation is usable. Passages I considered a little odd had already weaknesses in the English original.

1 Like

I just added a list of terms to keep untranslated. Now it feels still better.

Thanks!

2 Likes

Yep. I must apologize for my weak english :blush:
If someone wants to improve the english sources, this would help to improve translations too.
The english sources can be improved by sending PR to zynthian-help repositories.

Please, don’t send PR fixes for the translations. I would like to avoid human intervention in the translation process so we can have a semi-automated pipeline like this:

UI change → Doc change (english) => Automated Translation to N languages

If you find translation issues, we should determine if this is due to:

  • Bad/Poor english in source documentation => Fix source docs
  • Bad translation => Improve translation script

Improving the translation script consist in:

  • Improving the LLM prompt
  • Adjusting the LLM options: model, reasoning effort, etc.

The latest can be adjusted per-section. So, more complex sections can be translated by a better model (gpt-6.1-sol, for instance) or using a higher reasoning effort.

Regards,

1 Like

No worries, mine is also not better.