Page 1 of 1
Coding in translations
Posted: 15 July 2021, 10:04
by Gwork
Hi,
Sometimes strings in the source-text should not be translated because they're used to replace with other stuff when displayed on screen.
The obvious one is $ followed with a string between curvy brackets {xx}.
But I wonder how this is for other markings I find: e.g. between square brackets [xx], between double underscores __xx__ and in html-like constructions: what should I keep as the original and what should I translate?
Regards,
Hans
Re: Coding in translations
Posted: 17 July 2021, 12:08
by Gwork
My findings on this subject:
<string> you should keep the string. it will be replaced with a picture
__string__ you should translate, it will become an italic string
But of course - sometimes strings refer to untranslated text in images - so it remains depending on the game situation.
Re: Coding in translations
Posted: 17 July 2021, 13:28
by Tisaac
Gwork wrote: ↑15 July 2021, 10:04
Hi,
Sometimes strings in the source-text should not be translated because they're used to replace with other stuff when displayed on screen.
The obvious one is $ followed with a string between curvy brackets {xx}.
But I wonder how this is for other markings I find: e.g. between square brackets [xx], between double underscores __xx__ and in html-like constructions: what should I keep as the original and what should I translate?
Regards,
Hans
That's quite game dependant. In this case (Agricola), the only thing you should not translate are stuff inside <>, which the translation system should prevent you to do in theory.
The square bracket just means "use dominican font for this part of text"
Re: Coding in translations
Posted: 21 October 2021, 10:32
by ufm
Tisaac wrote: ↑17 July 2021, 13:28
Gwork wrote: ↑15 July 2021, 10:04
Hi,
Sometimes strings in the source-text should not be translated because they're used to replace with other stuff when displayed on screen.
The obvious one is $ followed with a string between curvy brackets {xx}.
But I wonder how this is for other markings I find: e.g. between square brackets [xx], between double underscores __xx__ and in html-like constructions: what should I keep as the original and what should I translate?
Regards,
Hans
That's quite game dependant. In this case (Agricola), the only thing you should not translate are stuff inside <>, which the translation system should prevent you to do in theory.
The square bracket just means "use dominican font for this part of text"
Honestly, Keyflower translation was a mess.