[1.1.0][5d33] Selection of localisation string decided by content of the string D:

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

tom_jones

Lt. General
46 Badges
Dec 20, 2013
1.619
2.640
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Hearts of Iron IV: Colonel
  • Shadowrun: Hong Kong
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV
  • Europa Universalis IV: Third Rome
edit: to clarify, this behavior is exhibited when .yml files are placed in 'localisation' folder. The files which are put in 'localisation/replace' sub-folder seem to overwrite content of strings without issue. (edit 2: scratch that, if more than one file placed in 'replace' sub-folder tries to replace the same string, the game exhibits this behavior as well)

tl;dr: if more than one localization entry is assigned to a string (e.g. if a mod tries to replace default text) the game appears to decide whether to replace the first entry based on which of the strings comes first in alphabetical order.

I wish I was making this shit up. It's like.. there must be some actual code which does it vs a simple re-assignment so dear gods, why o_O

Proof:

Code:
GER_nav_bomber_equipment_1:0 "Heinkel He 59"
GER_nav_bomber_equipment_1_short:0 "He 59"

upload_2016-8-18_13-51-21.png

effect: nope. the game sticks with the vanilla entry.

Code:
GER_nav_bomber_equipment_1:0 "A Heinkel He 59"
GER_nav_bomber_equipment_1_short:0 "A He 59"

upload_2016-8-18_13-51-51.png

effect: yup. you can have your custom string, as long as you go for AAAAAAAAAAA cheap classified ads tricks.

let's see, is it case-sensitive?
Code:
GER_nav_bomber_equipment_1:0 "a Heinkel He 59"
GER_nav_bomber_equipment_1_short:0 "a He 59"

upload_2016-8-18_13-52-21.png

effect: yup (in ASCII table and more sophisticated derivatives lowercase 'a' comes after capital 'D')

I guess this explains the other issue I've reported a bit back...
 
Last edited:
  • 2
Reactions:
Upvote 0