ddnet icon indicating copy to clipboard operation
ddnet copied to clipboard

Give context information for translation

Open Chairn opened this issue 4 years ago • 4 comments

It would be nice to have more context information to help translater in doing better translation as sometimes you have no idea where it's supposed to appear for what reason, so you can't even test your translation :(

I have no idea of how it could be implemented though.

Chairn avatar May 31 '21 18:05 Chairn

If you don't know where it appears, you probably shouldn't translate it. Even for things that look "obvious". This can lead to botched translations, and probably won't be checked because "someone already translated them".

heinrich5991 avatar May 31 '21 18:05 heinrich5991

We have context information for translations already, see for example:

[Demo browser]
Play
== Abspielen

vs

[Start menu]
Play
== Spielen

So you can go through the code if you want and add some more context to the existing translations like this: Localize("Play", "Start menu")

def- avatar May 31 '21 21:05 def-

I guess we should have one for every line.

Chairn avatar Jun 01 '21 18:06 Chairn

If you don't know where it appears, you probably shouldn't translate it. Even for things that look "obvious". This can lead to botched translations, and probably won't be checked because "someone already translated them".

True. As an example: previous Ukrainian translation had "No" translated as "None", so when you had the "Are you sure?" window, you had two choices: "Yes" and "None"

andyca111100 avatar Jun 05 '24 21:06 andyca111100