game.write_file and locale ?

Place to get help with not working mods / modding interface.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

game.write_file and locale ?

Post by binbinhfr »

Hi,

is there a way to write localised strings with game.write_file ?
For example, I'd like to generate (from control.lua) a list of all items in the game (including moded items) with their corresponding local name...
My mods on the Factorio Mod Portal :geek:
Rseding91
Factorio Staff
Factorio Staff
Posts: 15950
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: game.write_file and locale ?

Post by Rseding91 »

No there's currently no way to write localized strings using game.write_file.
If you want to get ahold of me I'm almost always on Discord.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1525
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Re: game.write_file and locale ?

Post by binbinhfr »

Rseding91 wrote:No there's currently no way to write localized strings using game.write_file.
that's clear and direct ! ;)
My mods on the Factorio Mod Portal :geek:
Post Reply

Return to “Modding help”