User Tools

Site Tools


operating_systems:linux:debian:pootle_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
operating_systems:linux:debian:pootle_installation [2014/04/03 13:02] – [How to use this ?] czuberoperating_systems:linux:debian:pootle_installation [2014/09/17 15:16] – [How to do with de prod server ?] sbolay
Line 86: Line 86:
    xgettext -f temp.txt -o /opt/translate.bolay.co/pootle/po/templates/my_project.pot    xgettext -f temp.txt -o /opt/translate.bolay.co/pootle/po/templates/my_project.pot
    rm temp.txt    rm temp.txt
 +   msgmerge -U def.po ref.pot
  
 Create the *.po files Create the *.po files
Line 127: Line 128:
    git commit -m "my_message"    git commit -m "my_message"
    git push origin master    git push origin master
-And the site is translated ! :-D+And the testing site is translated ! :-D
  
 ===== How to do with de prod server ? ===== ===== How to do with de prod server ? =====
  
 On your mac : On your mac :
-   git clone git@server1.bolay.co:my_project-locales.git my_project-locales+   git clone git@server1.myserver.com:my_project-locales.git my_project-locales
    cd my_project-locales/    cd my_project-locales/
-   git remote add prod git@server3.bolay.co:my_project-locales.git+   git remote add prod git@server3.myserver.com:my_project-locales.git
    git pull origin master    git pull origin master
    git push prod master    git push prod master