Cannot use localized resx files in exported game #43277
Open
Description
Godot version: 3.2.3.stable.mono
OS/device including version: Windows 10 2004 (also tested in Ubuntu VM)
Issue description:
When I use .resx
file and its localized counterpart, I am getting the right string (ResourceManager
respects CultureInfo.CurrentCulture
) when running the game from Godot Editor, but string fallbacks to the default (unlocalized one) when running exported project.
Probably relevant: mono/mono#19928
Mentioned workaround doesn't work in exported project since all assemblies seem to be packed into .pck
file.
Steps to reproduce:
- Create Mono project
- Add
resx
file - Add localized
resx
file - Export project with default Windows or Linux template
Minimal reproduction project: