Allow for mods to use RESX files to contain text in multiple languages

enenra shared this feedback 3 years ago
Submitted

As per discussion with Inflex and other modders / modding advisors on Discord, I'm posting this request here.


Background

Most mods currently place their text directly within SBC files or code in the development language. The game itself however uses RESX files to store text strings, allowing for translations of those strings to be used in place of the default one, depending on what language the game is set to. The only way to do this with mods is to include a script to force RESX files contained in mods to be loaded. And this, of course, invalidates those mods for publishing on mod.io for XBoX.


Request

  • Implement automatic loading of any RESX file contained within mods in the correct folder.
  • Allow mods to include multiple RESX files with translations for one language each.
  • A means to reference those languages from code.


Note

There is a bug with text coloring from RESX: Color will be correctly applied in the description on screen when holding a block or tool:

unknown

But will not be colored when hovering over the block or tool in the G-menu:

unknown

Replies (1)

photo
2

/991580cb68fa271c4c346f384421593c

we also need a way to escape [] and {}

the above was

{GAMEPAD:AXIS_MOTION} from [[MAD] More Conveyors]

photo
1

on further investigation, it seems [[ works but we get some undesirable effects when using

[[[MAD]] More Conveyors]
on rendering with colour the first [ renders white

photo
Leave a Comment
 
Attach a file