Open stephanbogner opened 1 month ago
This is how the contexts are handled https://docs.godotengine.org/en/latest/tutorials/i18n/localization_using_gettext.html#manual-creation
It is not based on multiple files, this should be made more clear as it's not explicitly stated
Ah! So that means contexts doesn‘t apply to CSV?
Doesn't seem like it supports it, instead you should use gettext (as hinted in the import page), should maybe be more clearly indicated elsewhere like it is with plurals in the first page
Thanks for the explanations @AThousandShips. If I find the time and once I understand localization in Godot better I'll try to make a PR regarding this. I now also tried gettext, but it's overkill for our project, so I'll dive deeper in the CSV aspect :)
Your Godot version:
Godot v4.2.2.stable - macOS 14.5.0 - Vulkan (Forward+) - integrated Apple M2 Pro - Apple M2 Pro (10 Threads)
Issue description:
characters.csv:
translations.csv:
tr("hero", "characters")
=Spider Man
tr("hero", "translations")
=Hero
Spider Man
URL to the documentation page (if already existing):