Ludeon Forums

Ludeon Forums

  • September 25, 2021, 02:59:13 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Overwrite translations  (Read 943 times)

Lockdown

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile
Overwrite translations
« on: September 03, 2016, 12:04:35 PM »

Is it not possible to overwrite translations with a mod? When I try, I get a "duplicate code-linked translation key" warning, and the game still uses the string from Core, not from my mod.
Logged

RawCode

  • Super Tester
  • Planetologist
  • ***
  • Posts: 1964
  • Refugee
    • View Profile
Re: Overwrite translations
« Reply #1 on: September 05, 2016, 03:52:08 AM »

provide code and log as text files.
Logged

Lockdown

  • Drifter
  • **
  • Posts: 67
  • Refugee
    • View Profile
Re: Overwrite translations
« Reply #2 on: September 05, 2016, 10:35:25 AM »

There's no code, I was trying to modify the display text of a core Alert class. I guess it doesn't work because it's out of scope.

In the end, I disabled the core alert and created a new one with its own translations.
Logged