0 votes

I have a CSV file exported from a Google Sheets document that contains the localized strings. However, I just can't get Godot to load the resource.

It gives me the error "Failed loading resource: res://i18n/i18n.csv. Make sure resources have been imported by opening the project in the editor at least once."

I've saved the file encoded as UTF-8 without byte order mark, but Godot doesn't accept it. I've also deleted it and re-added it from the Localization tab in Project Settings, but it doesn't work either; TranslationServer.get_loaded_locales() returns an empty Array.

What's going on?

For reference, here is the file in question.

Godot version 3.2.3.stable.official
in Engine by (75 points)
edited by

1 Answer

+1 vote
Best answer

Whenever the Editor sees a .csv, it will attempt to create corresponding .translation files, one per language found in the .csv. (If none is generated, check that your .csv is valid).

Once you have your .translation, you add those in the localization tab (.csv is listed as accepted in the file chooser dialog, but selecting one does not seem to do anything).

by (2,442 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.