godot_dialogue_manager
godot_dialogue_manager copied to clipboard
Expressions do not support translations.
Expressions in {{curvy brackets}} do not evaluate if a translation CSV is used.
- Dialogue Manager version: v3.6.3
- Godot version: 4.5
Expected behavior Evaluation should work in translated text: こんにちは, {{Localization.PRONOUN.JA.HESHE}} - これが主人公への呼びかけ方です! Result: Variable is not evaluated (output is the same)
To fix that, in
resolved_godo_data.gd, line 55:
replace
elif title.begins_with("{{"):
with
elif title.find("{{") != -1:
For expressions to be resolved in translated dialogue they need to exist in the base dialogue.
What does your dialogue file look like?
I've updated the runtime to now automatically parse expressions when the base dialogue was empty.