Comment 8 for bug 986068

Revision history for this message
David Planella (dpm) wrote : Re: [Bug 986068] Re: Yes/No/Cancel messages appear untranslated

Al 20/04/12 21:50, En/na Rodney Dawes ha escrit:
> David, I see no such mo files on my system. FWIW, I am using sq_AL as my
> locale, and there are no core qt translations for it either, it would
> seem. I don't think there's anything we can do in U1 to make this
> "work." All our strings should be translated. It's just the Qt core ones
> which aren't in some locales.
>

Sure, I fully understand that this is not a bug in U1, I'm just trying
to understand how the translations are actually loaded, as it was my
understanding that they were not loaded from the .qm files in
libqtcore4, but rather from the .mo files in qt4-x11, shipped in the
language packs, or at least the translations seem to be there:

$ msgunfmt /usr/share/locale-langpack/ca/LC_MESSAGES/kdeqt.mo | grep -C2 Yes

msgctxt "QDialogButtonBox"
msgid "&Yes"
msgstr "&Sí"

--

msgctxt "QDialogButtonBox"
msgid "Yes to &All"
msgstr "Sí &a tot"

--

msgctxt "QShortcut"
msgid "Yes"
msgstr "Sí"

--

msgctxt "QSql"
msgid "Yes"
msgstr "Sí"