Skip to content

Resources outside of 'en' folder not working #493

Closed

Description

@peternary

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

If resources are stored in a folder other than Shared\Strings\en\ then ResourceLoader.GetString(stringName) returns an empty string. You also get an empty string if you set the current culture to something like 'de-DE', even if you have a 'de-DE' folder.

Expected behavior

Should be able to use string folders other than en\

Minimal reproduction of the problem with instructions

Rename the Strings\en folder to Strings\en-US or add strings to another culture and switch current culture to that culture. Calling ResourceLoader.GetString against that file\string will return an empty string.

Environment

Nuget Package: 

Package Version(s): 

Affected platform(s):
- [ ] iOS
- [X] Android
- [ ] WebAssembly
- [ ] Windows
- [ ] Build tasks

Visual Studio
- [X] 2017 (version: )
- [ ] 2017 Preview (version: )
- [ ] for Mac (version: )

Activity

  1. added a commit that references this issue on Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions