This aims enabling localization of the Fedora's custom page for the Plasma Welcome Center, as well as the desktop file.
This includes a script for managing string extraction for translation, updating translation files with latest string changes, compile into binary format (used in built file) and installation.
The po files where created based on the current translations of the .desktop file, giving the proper credits to the translators.
With LINGUAS file containing enabled language codes, a POT and per-language PO files, this project can be set for translation in Fedora Weblate -- which I can set up once this is merged.
Flow:
manage_l10n.shpot# generates po/plasma-welcome-fedora.pot
manage_l10n.shupdate_po# updates all .po files in po/ based on the lang codes in the LINGUAS file
manage_l10n.shcompile# generates .mo files in po/ based on the lang codes in the LINGUAS fileDESTDIR=foomanage_l10n.shinstall# .mo and .desktop are installed into the prefix foo/
I set this script as a starting point to have translations generated and tested. Let me know if another solution is desired (I could use make instead).
This aims enabling localization of the Fedora's custom page for the Plasma Welcome Center, as well as the desktop file.
This includes a script for managing string extraction for translation, updating translation files with latest string changes, compile into binary format (used in built file) and installation.
The po files where created based on the current translations of the .desktop file, giving the proper credits to the translators.
With LINGUAS file containing enabled language codes, a POT and per-language PO files, this project can be set for translation in Fedora Weblate -- which I can set up once this is merged.
Flow:
I set this script as a starting point to have translations generated and tested. Let me know if another solution is desired (I could use
makeinstead).