i wanted to translate the text on my “display text” action using the po format. i placed my scene in the pot generator, choosing this tscn in specific since it has the text whithin the display text action.
however upon loading it in po edit, it appears empty for some reason.
I think the empty POT is expected, nothing is wrong on your end. Godot’s POT generator only knows how to pull strings from standard sources like the text property on Label or Button nodes, or tr() calls in scripts. The text inside a Display Text action is stored in AGMaker’s Visual Script data, which the generator doesn’t know how to read, so it finds nothing to extract.
AGMaker does have its own translation hooks on that action. If you check Text Source on the Display Text action you’ll see a Transkey option next to Direct, which references a translation key instead of the typed text.
Since you have Auto Translate enabled, I’d try adding entries manually in Poedit where the source string exactly matches the text typed into the action, load that translation in your project, and see if it swaps at runtime.
ok it was a little confusing at first but i manage it to make it work in my cutscene. it should say “meanwhile” and it was successfully translated to “mientras tanto” i suppose it will automatically translate depending on the players pc settings. for example, my pc is in spanish and it showed me the ES thing… am i correct?
Yes, you’re correct. By default Godot reads the player’s system language and automatically picks the matching translation, which is why your PC being set to Spanish showed the Spanish text. If a player’s language doesn’t have a translation, the game simply shows the original text you typed into the action, so missing languages won’t break anything.
Also there’s a project setting called internationalization/locale/test that forces the game to run in a specific language regardless of your PC settings, so you can preview each language without changing your system. You may need the Advanced Settings toggle turned on in Project Settings to see it.
And if you ever want an in game language selector instead of following the PC settings, that should be possible with a custom action. If you ever get to that point feel free to ask here or the discord and I’m me or someone else will gladly make one for you.