Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock Wiki Translate Cairo-Dock
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Information : The version displayed on this page is not the latest available.
History View code

Glx-Dock / Cairo-Dock

Home

History

Language

de Deutsch

en English

fr Français

Support Us

Flattr this

Cairo-Dockon

Translate Cairo-Dock

Install the SVN version
To translate Cairo-Dock you will need to install the SVN version.

Or you could post a new thread on forum asking to be sent the files to be translated. In this case you would not be able to test the translation.

The files to translate
Translation files (.pot) can be found in folders named "po".

If SVN version has been installed with Mav's script, these folders can be found at
/opt/cairo-dock_svn/cairo-dock/po

and (for plug-ins) at
/opt/cairo-dock_svn/plugins/*/po/


To begin, make a copy of a translation file saving it in the format xx.pot, where xx is the code for your language, e.g. es.po (Spanish), it.po (Italian), etc.

Translation
You need to translate sentences between "" next to msgstr. => PLEASE RESPECT SYNTAX

For example:
msgid "My english text"
msgstr "Your translation"


Be very careful with sentences that have C-style parameters inside them, e.g. "%s" or "%d". Make sure you keep these symbols intact, though you may need to move them around in the sentence.

Also try to make your sentences fit the size of the config panels.




Poedit is a very convenient app for translating .po files. Install it with Synaptic; it will help you a lot!



Testing
To test, you have to
  1. add your language in all LINGUAS files (in cairo-dock/po/ and in the po folder for each plug-in),
  2. compile (or use Mav's script : From SVN) and
  3. restart Cairo-Dock


Sending us your translation
Post a new thread on forum with all your po files.

To generate a zip file you can use these commands:
cd /opt/cairo-dock_svn/ # or wherever you have installed the SVN version
zip cairo-dock/po/XX.po # change XX to your language code
zip plug-ins/*/po/XX.po # change XX to your language code


Thanks !


Glx-Dock / Cairo-Dock Wiki Translate Cairo-Dock Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.