-
-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Describe the project you are working on
I'm working on a 2D combat game that supports dialogue in multiple languages.
Describe the problem or limitation you are having in your project
I am using a CSV file to define all of the dialogue in my game so that I can define it in multiple languages and have godot import them as separate translations. I also embed some extra information in this CSV file so that I can attach actions to certain lines of dialogue, etc.
If I import the file in "CSV Translation" mode then the CSV file itself is excluded from the export. If I import in "Keep File" mode then the translations are not generated automatically. For ease of use I need the translations generated and the CSV file included in the export.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Add an additional import option for CSV files "CSV Translation & Keep File", or make these independent check boxes. This would allow me to automatically generate translations while still having access to the CSV in the released game.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
When you highlight a CSV file and click the "Import As" drop down, you will see an additional option to generate translations and keep the file in the export.
If this enhancement will not be used often, can it be worked around with a few lines of script?
I've been able to workaround this by creating a hard link of the CSV file on my filesystem and importing the bas efile and the symlink with different import modes. This is not a very intuitive solution.
Is there a reason why this should be core and not an add-on in the asset library?
Importing files is a core part of the godot user experience.