language.def

Language=English
Author=Crate

language=German
fonts=DE
author=Community


http://grimcalc.com/build/wDYdLr

==================================================================================

If you want to make use of gender support, you need to edit tagItemNameOrder (it's the first tag in
"tags_items.txt") to use 'a' instead of 's' for the genderized parameters, and specify the index of
the parameter which contains the item gender to use for the item.

for example (genderized prefix/quality/style/suffix, with gender chosen by name)

tagItemNameOrder={%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}

Gender codes would then be given to each tag representing an item name. The code present in the name
is then used to pick from the genders supplied in other tags.

for example, a masculine singular object would be defined as follows:

tagSword=[ms]Sword

and a genderized suffix would be defined:

tagSuffixPower=[ms]Power[fs]etc[ns]etc

Recognized gender codes are:

[ms] Masculine Singular
[fs] Feminine Singular
[ns] Neuter Singular
[mp] Masculine Plural
[fp] Feminine Plural
[np] Neuter Plural

Reorder All Item Names

If you want to change the order in which item names are built for all items (from prefix/quality/style/name/suffix
to some other order), you can change the parameter indexes around in tagItemNameOrder.

for example, name/quality/style/prefix/suffix (all items)

tagItemNameOrder={%_s3}{%_s1}{%_s2}{%_s0}{%_s4}

Recapitalize Item Names

If you want to recapitalize the item name string after it is created you can prepend '$' to tagItemNameOrder.
The string will be changed so that only the first letter is capitalized.

tagItemNameOrder=${%_s0}{%_s1}{%_s2}{%_s3}{%_s4}

"Godly Plate of the Whale" would become "Godly plate of the whale".

--------------------------------------------------

Order:

s#} or a#} with # being 0 to 4, 0 = prefix, 1 = quality, 2 = style, 3 = name, 4 = suffix
shown in the order the numbers appear in

01234 = prefix, quality, style, name, suffix
31204 = name, quality, style, prefix, suffix

Gender:
s#} means no gender, in this case there is no number in front of the s, the full tag is {%_s#}
a#} means a gender, in this case the number of the field determining the gender is
    before the a, e.g. 3a0}, the full tag is (%_#a#})

There is no translation for which the field determining the gender is not name, i.e. 3,
so the only thing to worry about is the sequence and the capitalization (string starts with $)

==================================================================================

tags_items.txt

#prefix/quality/style/name/suffix concatenation

English    : tagItemNameOrder={%_s0}{%_s1}{%_s2}{%_s3}{%_s4}

Chinese    : tagItemNameOrder={%_s4}{%_s0}{%_s1}{%_s2}{%_s3}
Czech      : tagItemNameOrder=${%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Dutch      : tagItemNameOrder=${%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
French     : tagItemNameOrder={%_s3}{%_3a1}{%_3a0}{%_3a2}{%_3a4}
German     : tagItemNameOrder={%_3a0}{%_3a1}{%_3a2}{%_s3}{%_s4}
Greek      : tagItemNameOrder={%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Italian    : tagItemNameOrder={%_s3}{%_3a1}{%_3a2}{%_3a0}{%_s4}
Japanese   : tagItemNameOrder={%_s0}{%_s1}{%_s2}{%_s3}{%_s4}
Korean     : tagItemNameOrder={%_s0}{%_s1}{%_s2}{%_s3}{%_s4}
Portuguese : tagItemNameOrder={%_s3}{%_3a1}{%_3a2}{%_3a0}{%_s4}
Russian    : tagItemNameOrder=${%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Spanish    : tagItemNameOrder=${%_s3}{%_3a1}{%_3a2}{%_3a0}{%_3a4}

-----------------------------------------------------------------

English    : tagItemNameOrder={%_s0}{%_s1}{%_s2}{%_s3}{%_s4}
Japanese   : tagItemNameOrder={%_s0}{%_s1}{%_s2}{%_s3}{%_s4}
Korean     : tagItemNameOrder={%_s0}{%_s1}{%_s2}{%_s3}{%_s4}

Czech      : tagItemNameOrder=${%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Dutch      : tagItemNameOrder=${%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Russian    : tagItemNameOrder=${%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}
Greek      : tagItemNameOrder={%_3a0}{%_3a1}{%_3a2}{%_s3}{%_3a4}

German     : tagItemNameOrder={%_3a0}{%_3a1}{%_3a2}{%_s3}{%_s4}

French     : tagItemNameOrder={%_s3}{%_3a1}{%_3a0}{%_3a2}{%_3a4}

Spanish    : tagItemNameOrder=${%_s3}{%_3a1}{%_3a2}{%_3a0}{%_3a4}

Italian    : tagItemNameOrder={%_s3}{%_3a1}{%_3a2}{%_3a0}{%_s4}
Portuguese : tagItemNameOrder={%_s3}{%_3a1}{%_3a2}{%_3a0}{%_s4}

Chinese    : tagItemNameOrder={%_s4}{%_s0}{%_s1}{%_s2}{%_s3}

