-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Localization remaps don't work for themes in exported project #97263
Comments
Exported game output this into terminal:
Seems that this 2 resources doesn't get included in exported build? |
I'm having this same issue and error message, but on a custom resource, unrelated to themes, and only in Web exports. |
I am facing the same issue, I think it's related to #84791 For example, my file I will see if I can test this, my project uses mono, it's much harder to compile, but I will try if (!FileAccess::exists(new_path + ".import") && !FileAccess::exists(new_path + ".remap") && !FileAccess::exists(new_path)) {
WARN_PRINT(vformat("Translation remap '%s' does not exist. Falling back to '%s'.", new_path, p_path));
new_path = p_path;
} |
I can confirm that the inclusion of ".remap" in file exists solves the problem |
Created the PR #103838 |
Tested versions
4.3 stable
System information
Godot v4.3.stable - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M2 Pro - Apple M2 Pro (10 Threads)
Issue description
I attempted to use localization remaps to switch between different themes(.tres files) to suit various languages and apply different font styles. Everything worked fine during testing in the editor, but after exporting, the remap didn’t function as expected — the label’s font and size didn’t change.
Maybe related to this one: Changing the locale breaks remapped fonts
Steps to reproduce
Minimal reproduction project (MRP)
Archive.zip
The text was updated successfully, but these errors were encountered: