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

You can now go to our Launchpad project (here) in order to translate your favourite dock in your language ! (or to correct some sentences)

You can also download .pot and .po files there or from SVN / BZR (the old method is for the moment still possible !)


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

Or you could post a new thread on forum asking for the files to be sent to you. In that case you will not be able to test the translation.

The files to translate
Translation files (.pot) can be found in folders named "po" (cairo-dock/po/ - plug-ins/po/).

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

and (for the plug-ins) at
/opt/cairo-dock_svn/plug-ins/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!

With poedit you can do a right click on any sentences to see the reference(s)


Testing
To test, you have to
  1. add your language in all LINGUAS files (in cairo-dock/po/ and plug-ins/po/),
  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.