Page 1 of 1

Translation priority

Posted: Wed Jan 25, 2017 8:44 am
by sore68
Hi

I have come to the problem of translation.
To explain the situation :
---
entity name = "a"
Original mod locale : "a" = a
My locale mod : "a" = alpha

In game output : "a" = a
---

I have changed the translation, but the changes do not apply.
Is there a way to adjust the translation priority??

Re: Translation priority

Posted: Wed Jan 25, 2017 10:35 pm
by DaveMcW
Make "Original mod" an optional dependency in info.json. Your mod will load last and overwrite it.

Code: Select all

{
  "name": "my-mod",
  "version": "0.1.0",
  "title": "My Mod",
  "author": "sore68",
  "description": "My mod",
  "dependencies": ["base >= 0.14", "? original-mod"],
  "factorio_version": "0.14",
}

Re: Translation priority

Posted: Thu Jan 26, 2017 4:08 am
by sore68
DaveMcW wrote:Make "Original mod" an optional dependency in info.json. Your mod will load last and overwrite it.

Oh!! Thank you! :D
It works properly!