[umbrello] [Bug 402520] No gui translations available from binary factory

Ralf Habacker bugzilla_noreply at kde.org
Mon Mar 8 20:50:46 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=402520

--- Comment #5 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Ralf Habacker from comment #4)
> (In reply to Hannah von Reth from comment #3)
> > Yes. Stable blueprint targets should always provide tarballs and thus
> > translations.

For unstable (or staging=master) builds on binary factory, a similar solution
as on obs can be used by using an auxiliary script to support translations, as
is done with
https://build.opensuse.org/package/view_file/windows:mingw:win32:snapshots/mingw32-kmymoney5/manage-translations?expand=1
(in the %prep step).

It can work in two modes: 
1. it can use a publicly available tarball from the latest version of the
associated app, or it can build a translation repository (on the fly or as a
predefined tarball added to the build receipt).

In either case, the script extracts the translations (app messages and
documents) and applies them to the latest source code pulled from a Git
repository.
Subsequently, the CMake build system is adapted so that ki18n generates the
(binary) files required for the translations.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list