I’m trying to generate a .pot file for my application, but apparently xgettext is ignoring all .ui files in potfiles.in and only reading desktop.in and metainfo.xml.in. The command I’m using is:
It doesn’t seem to be a file path error, xgettext doesn’t give any error, it just doesn’t extract anything from the .ui. If I try to use it directly on a .ui instead of using potfiles, it doesn’t generate any output.
I’m running the command in the VScode terminal, I also tried running it in the OS terminal, but in this case, besides it not working either, I get the following message:
xgettext: warning: ITS ruleset file "/usr/share/gettext-0.22.5/its/gtkbuilder.its" was used; it may not be in sync with upstream
The source code, it’s a very little and simple app.
@rafaelmardojai I have translatable="true", that is the way workbench put it. I don’t think it has anything to do with meson, this command is not executed by meson, it is executed manually by me.
Okay, the problem was the “true”, I ended up changing just one label to translatable="yes" and the file was read normally. Thank you very much everyone.
Ps: I would never have thought that the workbench was generating the wrong format.