Page 1 of 1
How to combine simple text with localized text
Posted: Sat Mar 03, 2018 8:14 pm
by WIZ4
I want to unify the text with the localized text, how do I do this?
For example, this work:

- Screenshot_5.png (101.06 KiB) Viewed 1303 times
This not work:

- Screenshot_5.png (112.63 KiB) Viewed 1303 times
Desired behavior:
"Игроки text"
How can I do it?
Re: How to combine simple text with localized text
Posted: Sat Mar 03, 2018 8:21 pm
by DaveMcW
ru.cfg
Code: Select all
[gui]
Players="Игроки"
PlayersText="Игроки __1__"
Lua
Code: Select all
/c game.player.print{"gui.PlayersText", text}
More examples:
http://lua-api.factorio.com/latest/Conc ... isedString
Re: How to combine simple text with localized text
Posted: Sat Mar 03, 2018 10:00 pm
by WIZ4