... | ... | @@ -102,13 +102,10 @@ In order to apply translations to plugins, Gajim’s [Plugins Translations](http |
|
|
|
|
|
### How to compile
|
|
|
|
|
|
Gajim offers a script to compile the translations. For this to work, a symlink to the plugins repository is needed.
|
|
|
Clone the gajim-plugins repository and move your edited `.po` files into the folder `gajim-plugins/po`. Afterwards execute
|
|
|
|
|
|
cd gajim-repository/scripts/dev
|
|
|
ln -s gajim-plugins-repository ./community_plugins
|
|
|
cd gajim-plugins
|
|
|
./scripts/update_translations.py build
|
|
|
|
|
|
Copy the donwloaded .po files from the appropriate translation project (e.g. Gajim Plugins master for plugins master branch) to gajim-repository/scripts/dev and execute the following command for each .po file (here, de.po gets compiled to de.mo):
|
|
|
|
|
|
./plugins_translate make_mo de
|
|
|
|
|
|
After that, all .mo files can be copied to gajim-plugins-repository/plugins-translations and after restarting Gajim, translations will be available. |
|
|
\ No newline at end of file |
|
|
The compiled `.mo` files are now in `gajim-plugins/plugins-translations`.
|
|
|
Move the `plugins-translations` folder to your Gajim plugins folder and restart Gajim. |
|
|
\ No newline at end of file |