Skip to content
Christian Louis Gabriel METZLER edited this page Jul 22, 2013 · 2 revisions

It's easy to translate the extension in your language !

Requirement

  • A GitHub account.
  • git.
  • seed.
  • poedit.
  • Fork the project.

Clone your fork & go into po directory

cd ~ && git clone [email protected]:YOUR_USERNAME/gnome-shell-extension-weather.git
cd ~/gnome-shell-extension-weather/po

Update the po directory

seed update.js

Edit existing languages

  • Open the locale file for your language (each locale are named with ISO 639 standard. Example for french, fr.po) with poEdit.

  • Translate the file and save.

  • Update the po directory.

  • Send changes to your fork:

      git add YOUR_LANGUAGE_IN_ISO_639.po
      git commit -m 'Update YOUR_LANGUAGE translation'
      git push
    

New language

  • Open a new poEdit project using gnome-shell-extension-weather.pot and name it YOUR_LANGUAGE_IN_ISO_639.po

  • Translate and save.

  • Update the po directory.

  • Send changes to your fork:

      git add YOUR_LANGUAGE_IN_ISO_639.po
      git commit -m 'Add YOUR_LANGUAGE translation'
      git push
    

Now Pull request !