Hi
I found a small issue in the translation files. It is reflected in all languages. See picture.
I found a small issue in the translation files. It is reflected in all languages. See picture.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
<!-- EN:
<li>questName->monument decree</li>
-->
<Decree_BuildMonument.questNameRules.rulesStrings>
<li>questName->Nařízení výstavby monumentu</li>
</Decree_BuildMonument.questNameRules.rulesStrings>
<!-- EN:
<li>questName->[defToProduce_label] production decree</li>
-->
<Decree_ProduceItem.questNameRules.rulesStrings>
<li>questName->Nařízení výroby ([defToProduce_label])</li>
</Decree_ProduceItem.questNameRules.rulesStrings>
...
<GlitterworldSurgeon15>
<!-- EN: glitterworld surgeon -->
<title>chirurg ze třpytosvěta</title>
<titleFemale>chirurgyně ze třpytosvěta</titleFemale>
...
Quote from: ison on September 04, 2018, 08:06:39 AM
Our system can easily tell the gender of a pawn, but it can't tell the gender of any other object. This means that if you want to use a gender conditional expression on, for example, items, then you need to provide some lookup tables by creating the following files in your language folder:
WordInfo/Gender/Male.txt
WordInfo/Gender/Female.txt
WordInfo/Gender/Neuter.txt
and add one word per line to each file, e.g.: (Male.txt)sword
computer
keyboard
then if an object whose label is "sword" is passed, its _gender will be male.
This makes it possible to do this:{THING_label} is {THING_gender ? beautiful1 : beautiful2}
where "beautiful" is different based on the THING's gender (which happens in some languages).
květina //flower
baterie //battery
židle //chair
...
dveře //doors
nůžky //scissors
kalhoty //pants
...
A = Male
B = Female
C = Neuter
D = Plurale tantum/Classic Plural
"A {1_label} has been short-circuited in the rain and started a fire."
{1_label} {1_gender ? způsobil : způsobila : způsobilo : způsobily } kvůli dešti zkrat a {1_gender ? začal : začala : začalo : začaly } hořet.
"{0} has died because of cold."
{0} kvůli chladu {0_gender ? uhynul : uhynula : uhynulo : uhynuly }.
original template:
[INITIATOR_nameDef] asked [RECIPIENT_nameDef] to join.
translated:
[INITIATOR_nameDef] se {INITIATOR_gender ? zeptal : zeptala} [RECIPIENT_nameDef], zda se nechce připojit.
Items_Resource_Stuff_Leather.xml
ResearchProjects_1.xml
ResearchProjects_2_Electricity.xml
ResearchProjects_3_Microelectronics.xml
ResearchProjects_4_MultiAnalyzer.xml
lots of customized strings
and some original strings
and much more
Quote from: ison on July 22, 2018, 08:42:56 AM
I'm not sure if adding more customisable words would be the best approach here. Some languages have many pronouns, so remembering all their names could be difficult.
Quote from: ison on July 22, 2018, 08:42:56 AM
Perhaps something like this would be good:
[PAWN_nameDef] [PAWN_gender ? był : była]
Or, if the language has 3 genders (male, female, neuter) then:
[PAWN_nameDef] [PAWN_gender ? był : była : było]
Quote
[PAWN_gender1] = -/-a/-o (for example - word "was": byl/byla/bylo or word "could" "mohl/mohla/mohlo" etc)
[PAWN_gender2] = -ý/-á/-é (for example - word "hungry": hladový/hladová/hladové etc)
[PAWN_genderx] = male/female/neuter
Quote
[PAWN_nameDef] was hungry. = Kate was hungry.
[PAWN_nameDef] byl[PAWN_gender1] hladov[PAWN_gender2]. = Kate byla hladová.
Quote
[PAWN_possessive] -> its/his/her
[PAWN_pronoun] -> it/him/her
[PAWN_objective] -> he/she/it
Quote
[PAWN_customword] -> x/y/z
Quote
George was -> George byl -> [PAWN_nameDef] byl[PAWN_customword]
Kate was -> Kate byla -> [PAWN_nameDef] byl[PAWN_customword]