I have a CSV file containing a certain number of keys associated to a dialog in game:
TUTO_1,First line in English, First line in french
TUTO_2,Second line in English, Second line in french
Right now I load the dialog as follows in my code:
var dialog = [
If later I add TUTO_3 in the file I would like to fill this list aromatically. So I was wondering is it possible to get all possible keys from a CSV translation file so I can iterate over them ?
I'm thinking of something like this:
var dialog = 
for key in tr.get_keys():
Any suggestions on how to proceed ?