Skip to content

openSUSE/desktop-file-translations

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
af
 
 
ar
 
 
az
 
 
be
 
 
bg
 
 
bn
 
 
br
 
 
bs
 
 
ca
 
 
cs
 
 
cy
 
 
da
 
 
de
 
 
el
 
 
 
 
eo
 
 
es
 
 
et
 
 
eu
 
 
fa
 
 
fi
 
 
fr
 
 
fy
 
 
ga
 
 
gl
 
 
gu
 
 
he
 
 
hi
 
 
hr
 
 
hu
 
 
id
 
 
ie
 
 
is
 
 
it
 
 
ja
 
 
ka
 
 
kab
 
 
km
 
 
ko
 
 
ku
 
 
lo
 
 
lt
 
 
lv
 
 
mk
 
 
mn
 
 
mr
 
 
ms
 
 
mt
 
 
nb
 
 
nds
 
 
nl
 
 
nn
 
 
nso
 
 
pa
 
 
pl
 
 
pt
 
 
 
 
ro
 
 
ru
 
 
rw
 
 
se
 
 
si
 
 
sk
 
 
sl
 
 
sr
 
 
 
 
sv
 
 
ta
 
 
tg
 
 
th
 
 
tr
 
 
tt
 
 
tzm
 
 
uk
 
 
uz
 
 
ven
 
 
vi
 
 
wa
 
 
xh
 
 
 
 
 
 
zu
 
 
 
 

Desktop File Translations

A collection of .po files with translations for .desktop files in openSUSE and the tools to maintain them.

Workflow

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.

  1. update-desktop-files: All .desktop files are collected from packages in OBS during the build process by the brp-trim-desktop.sh script. During this process the translations are stripped from the .desktop files and placed in a standard location, in slightly compressed form, to make them easy to collect through the OBS API for further processing.

  2. desktop-file-translations: The .po files in the GitHub repository are regularly updated by running the tools under 51-xml/download_data.sh and 51-xml/generate_and_merge_pos.sh scripts and then committing the results. The first script fetches the compressed .desktop files from the OBS API, and the second turns them into .po files, and merges the results into the already existing .po files in the repository. See 51-xml/README.md for details.

  3. desktop-translations: This package contains a _service file referring to the desktop-file-translations GitHub repository, and uses the script 50-tools/build-entries-po.sh to turn the .po files from the repository into entries.po files that can be installed with openSUSE.

Updating the .po files automatically

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.

About

Weblate driven translations for .desktop files (and similiar)

Resources

Stars

Watchers

Forks

Packages

No packages published