Translation Rules - xavier150/MMVS GitHub Wiki

Please first read: Translator Page

Editing Rules

There are several rules to follow when editing and translating localizable texts.

Translating Text

  • Do not translate variable names. Variables are text contained between {} and <>.
    Example: The player <player>{PlayerName}</> found {OrbNumbers} <data>orb(s)</>.
    Incorrect translation: Le joueur <joueur>{JoueurNom}</> a trouvé {NombreOrb} <donnée>orb(s)</>.
    Correct translation: Le joueur <player>{PlayerName}</> a trouvé {OrbNumbers} <data>orb(s)</>.

  • You can change the order of variables if the context requires it.
    The {CarColor} {CarType} is a good car. -> La {CarType} {CarColor} est une bonne voiture.

  • Do not include ideology or politics. Use the official language of your country.

Plural Forms

Plural forms allow you to use different text based on a numeric variable given to your text format.
Plural forms may be cardinal (such as "There is 1 cat" or "There are 4 cats"), or ordinal (such as "You finished 1st!" or "You finished 2nd!").
Plural forms are specified as key-value pairs, and support any of the following keywords (as defined for your culture by the CLDR data): zero, one, two, few, many, other. Values are optionally quoted strings that can also contain format markers.

More info here: Unreal doc (Plural Forms)

  • Cardinal Format Example:
    There {NumCats}|plural(one=is,other=are) {NumCats} {NumCats}|plural(one=cat,other=cats)

  • Ordinal Format Example:
    You came {Place}{Place}|ordinal(one=st,two=nd,few=rd,other=th)!

Gender Forms

Gender forms allow you to use different text based on an ETextGender value given to your text format, such as "Le guerrier est fort" or "La guerrière est forte".
Gender forms are specified as a list of values in the order: [masculine, feminine, neuter], where neuter is optional.
Values are optionally quoted strings that may also contain format markers.

More info here: Unreal doc (Gender Forms)

  • Format Example: {Gender}|gender(Le,La) {Gender}|gender(guerrier,guerrière) est {Gender}|gender(fort,forte)

Unreal Engine localization docs

If you need some tech info, you can ask me in the dev server or see the Unreal Engine documentation: Unreal Engine localization docs

⚠️ **GitHub.com Fallback** ⚠️