A collection of .po files with translations for .desktop files in openSUSE
and the tools to maintain them.
The whole process has three parts, two smaller ones that are maintained as packages in OBS, and a big one that connects everything, here in this repository.
-
update-desktop-files: All
.desktopfiles are collected from packages in OBS during the build process by thebrp-trim-desktop.shscript. During this process the translations are stripped from the.desktopfiles and placed in a standard location, in slightly compressed form, to make them easy to collect through the OBS API for further processing. -
desktop-file-translations: The
.pofiles in the GitHub repository are regularly updated by running the tools under51-xml/download_data.shor newer51-xml/download_data_from_download-o-o.shand51-xml/generate_and_merge_pos.shscripts and then committing the results. The first script fetches the compressed.desktopfiles from the OBS API, and the second turns them into.pofiles, and merges the results into the already existing.pofiles in the repository. See 51-xml/README.md for details. -
desktop-translations: This package contains a
_servicefile referring to thedesktop-file-translationsGitHub repository, and uses the script50-tools/build-entries-po.shto turn the.pofiles from the repository intoentries.pofiles that can be installed with openSUSE.
The .po files in this repository need to be updated in regular intervals, this
process can be automated with the files in 51-xml/. Read the file README.md:
contained within for instructions.