Search code examples
sortingpoeditlanguage-translation

Translation Tool needed: Sort by msgctxt


I am looking for a translation software tool that allows columns to be sorted by the msgctxt value.

Here's a screenshot of my poedit .pot file: The msgctxt has been imported, but it is not a sortable value.

poedit screenshot

This is the generated code:

msgctxt "imlang_ext"
msgid "To participate in this challenge please register below."
msgstr "Um am Fotowettbewerb teilnehmen zu können ist es notwendig, daß Sie sich registrieren. "

msgctxt "imlang_msg"
msgid "An error has occured. Please try again later."
msgstr "Ein Fehler ist aufgetreten. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut."

I want to allow translators to quickly get to the strings that vary from client to client (msgctxt: imlang_ext) and leave system messages alone (msgctxt: imlang_msg).

Which software can sort .pot files by msgctxt?


Solution

  • Eazy Po can sort messages by different attributes including sorting by message context.

    Click the small icon button at the top left corner of the table, or from the main menu; select File -> View then Columns. A small box will appear listing the following columns:

    Reference, Context, Line Number and Text Length.

    Select Context and then press OK, additional columns titled “Msg Context” will be added to the main table list. By clicking on the Context column title; the table will be sorted on Message context in ascending order, clicking the same column title again will sort the table on the same column in descending order.

    Adding a sortable column in Eazy Po