[Localization] Adding Translations For New language To Qt6

Oswald Buddenhagen oswald.buddenhagen at gmx.de
Sun Dec 22 17:14:55 CET 2024


On Sun, Dec 22, 2024 at 02:50:20PM +0000, Kizito Birabwa via Localization wrote:
>If I put 'ts-untranslated' as in the instructions for Qt5, ninja again
>does not recognise the target:
>
>ninja: error: unknown target 'ts-untranslated'
>
that seems like a bug. please file a report against qt, component build
system.

>For Qt5 I ended up having to get templates from the link to
>https://l10n-files.qt.io/l10n-files/, that was about seven months ago.
>This time the link just presents me with a blank page.
>
yeah, it's broken. the issues that prevented me from fixing it were
fixed meanwhile, so i should give it another try ...

for the time being, you can use the german translation as a template, as
it's being kept up to date (the one for 6.9 is pending on gerrit, but
you seem to want to target 6.7 anyway). use `lupdate foo_qt6_de.ts -xts
foo_qt5_lg.ts -ts foo_qt6_lg.ts` to transplant your qt5 translations
into it (at least i think this command should work ...).


More information about the Localization mailing list