I did some testing and collected the strings that appear in English. I should file these on GitHub, but I wanted to ask first if you want them all in one issue or split up.
General Keywords that need adding to the xgettext script:
flare-game/mods/fantasycore/powers/powers.txt
requires_flags
Individual text entities missing from the indiviual .po files, but present in the .pot:
flare-game/mods/fantasycore/powers/powers.txt
description=Fire a spray of burning embers at close range. Effective against armored enemies.
description=Electrocute an enemy from a distance; +50% crit chance against movement-impaired enemies.
Individual text entities missing from the .pot:
flare-game/mods/fantasycore/items/items.txt
name=Seven-league boots
Entity translated in the .po, but translation not appearing in the game:
flare-engine/src/MenuPowers.cpp:531
tip.addText(msg->get("\nNext Level:"));
flare-game/mods/fantasycore/engine/hero_options.txt
all hero names
flare-game/tiled/averguard/averguard_temple.tmx
flare-game/tiled/averguard/goblin_warren.tmx
all flavour texts in the Averguard books
P.S: It would also be good if sound files were localizable for NPCs. I'd be happy to record something for my language.
Regarding the requires_flags I am unsure why you'd want to translate them. Is it possible to see these texts as a user?
Originally these are designed to not be shown to the user, but only be kept for the internal state
Yes, they are displayed in the powers menu, but I might not have identified the place in the source code correctly. See my screenshot. This happens with ranged weapon, mental weapon etc.
flare_untranslatable_requir.png 401.7 Kb [0 download(s)]
I submitted a fix for two of the issues here: https://github.com/clintbellanger/flare-engine/pull/910
As for the others:
@GunChleoc
Thanks for the screenshot. I can definitely see that problem, so I'll attempt to fix it.
UPDATE: It looks like we need to add this line to xgettext.py for use in fantasycore:
extract('../engine/equip_flags.txt')
We have it in the engine repo's default mod xgettext.py, but we don't have equip flags in default mod.
Thanks for taking care of this :)
The strange thing about the Averguard texts is that the translations are present in alpha_demo's po file, but do not get picked up by the game. This is really weird.