xgettext picks up comments from the source

Caolán McNamara caolanm at redhat.com
Mon Nov 27 21:46:06 UTC 2017

In case you're unaware of it, when extracting translation strings from
our source we are using xgettext --add-comments which is "place all
comment blocks preceding keyword lines in output [po] file". And these
appear in pootle (just double checked that).


// To translators: This is the a paper size

So, to help translators out you can stick a comment above the line in
the .hrc (there is similar functionality in glade for the .ui files

More information about the LibreOffice mailing list