nndda / Theatre

:performing_arts: Yet another Godot (linear) dialogue addon. Written in human-readable plain text. Compatible with Godot 4.3.
https://nndda.github.io/Theatre/
MIT License
28 stars 2 forks source link

Use CSV as alternatives for dialogue with multiple languages #15

Closed nndda closed 3 months ago

nndda commented 6 months ago

Right now, the Dialogue resources use filename to identify its locale:

intro.txt
intro.en.txt
intro.ja.txt

But it might not scale well when there's lots of resources. Maybe its better to use CSV files:

en id ja sp
Hello! Halo! こんにちは! Hola!

Theres FileAccess.get_csv_line(). But I don't know if this is a good approach.

Edit: The CSV file need to be re-imported as Keep File (No import)