Skip to content

Cannot use localized resx files in exported game #43277

Open
@xill47

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:

  1. Create Mono project
  2. Add resx file
  3. Add localized resx file
  4. Export project with default Windows or Linux template

Minimal reproduction project:

ResxLocalizationProblemMinimum.zip

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions