-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Translations that start with an _
or -
generate a file named <translation>..translation
#83573
Comments
Confirmed. The problem is that when godot meets unrecognized locale, it just use an empty as it's name and this will produce a |
Locale code should have specific format, see - https://docs.godotengine.org/en/stable/classes/class_os.html#class-os-method-get-locale |
Godot version
4.1.1 stable
System information
Linux Pop!_OS 22.04 LTS
Issue description
When you create a CSV file to import for translation, if you have a locale that begins with an underscore or a hyphen, it will be semi-ignored, with all columns that have a hyphen or underscore being shoved into one translation file with the name ..translation.
Ideally this would be imported properly, or better yet work like godotengine/godot-proposals#8183.
Steps to reproduce
Create a translation CSV and add a locale column that starts with an
_
or a-
. Import it, and a translation file with no locale will be imported.Minimal reproduction project
trtest.zip
The text was updated successfully, but these errors were encountered: