Working with l10n contexts (_x etc)

When adding _x to the keywords, try it this way:

_x:1,2c

This tells the parser to watch out for _x and to take the first argument as msgid and the second argument as a comment, which will then be recognized as context by poEdit and inserted as msgctxt.

Oddly enough, my poEdit then shows me the msgid twice in the “new/old” messages window. However, in the messagelist everysthing is correct then.

Leave a Comment