Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

subget translator

webnull edited this page Aug 29, 2012 · 2 revisions

Tool for Subget translators

The main target of this translation tool is to provide automatic compiling and running tests. It provides automatic compilation of changes in translations using msgfmt and launching application with in selected language.

To use Subget's Translator you need to run subget-translator.py as root (/usr/bin/subget-translator after instalation) with specified language (-s or --set argument). To get list of supported languages use subget-translator --list

After subget-translator is running it will be watching translation .po file, and if any change will be made it should run msgfmt to apply changes to binary translation and run Subget (requires --run argument). Subget can be launched as other user using su (--user, -u)

Examples of usage:

sudo subget-translator -s dk --run -u webnull # edit Danish translation, run Subget as webnull user sudo subget-translator -s pl --run -u webnull --editor=geany # edit Polish translation, run Subget as webnull user and run geany text editor

Clone this wiki locally