Translation files

the file that I downloaded *.po has the source in the translation and so I cannot pre-translate with poedit and it is much more work, can someone leave the Catalan field blank?

I’ve downloaded the Catalan .po file from and I was able to edit it in poedit without any issues.

That said, we maintain translations in .ts file format, which have slightly different capabilities and limitations compared to .po files, so it might lead to complications that the translations are converted to/from .po file. Instead, you can use Qt linguist to edit .ts files directly if you want to use a desktop application for translation. However, in the long term it would be probably better to use Weblate’s web UI to avoid/manage conflicting changes and make sure all metadata is preserved.

I have no problem opening it with poedit; but I can’t pre-translate it because it’s already pre-translated (the Catalan strings are in English). I usually pre-translate it, and immediately upload it and continue with weblate.

poedit seems to be able to recognize untranslated strings (untranslated string is orange, translated is black):

Are you sure you need to clear out the msgstr values? If yes, then you can do it with search and replace in a text editor that supports regex replacement, such as Visual Studio Code:

Have you tried Weblate’s automatic suggestions? I’ve found that the suggestions are generally good quality. For example:

For me the main challenge is not to translate English to another language, but finding the correct word in English that accurately captures the meaning of it in Slicer. Kind of translating “Slicer English” to “common English”, then that common English term can be translated to any language much more easily. For example, we first “translate” scene to workspace, because better reflects the actual meaning in Slicer, and then workspace can be easily translated to other languages. We have been also struggling with basic words, such as volume or labelmap because in Slicer they have a special meaning.

Do you find that poedit can translate translating trivial terms (such as “toggle visibility”) so much better than Weblate automatic translations, or poedit can provide significant help with the difficult translations so that it is worth purchasing the software for it?

I’d rather have msgstr="" and be able to pre-translate it, but I’ll settle for auto-suggestions. Thanks,

1 Like

I have been able to use Visual Studio Code and I am very happy!!

Thank you

1 Like