operating_systems:linux:debian:pootle_installation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
operating_systems:linux:debian:pootle_installation [2014/03/21 08:47] – czuber | operating_systems:linux:debian:pootle_installation [2014/09/17 15:16] – [How to do with de prod server ?] sbolay | ||
---|---|---|---|
Line 34: | Line 34: | ||
... | ... | ||
| | ||
- | ====== Create a git repertory ====== | + | ====== Create a git repertory |
=== Create the git repertory === | === Create the git repertory === | ||
Line 56: | Line 56: | ||
rm -rf / | rm -rf / | ||
- | |||
git clone / | git clone / | ||
Line 64: | Line 63: | ||
then | then | ||
mkdir " | mkdir " | ||
- | |||
mv " | mv " | ||
- | |||
msgfmt -o " | msgfmt -o " | ||
- | |||
mv " | mv " | ||
fi | fi | ||
Line 90: | Line 86: | ||
| | ||
rm temp.txt | rm temp.txt | ||
+ | | ||
Create the *.po files | Create the *.po files | ||
Line 104: | Line 101: | ||
Then go on http:// | Then go on http:// | ||
+ | |||
Login | Login | ||
+ | |||
Administration -> project | Administration -> project | ||
+ | |||
Add a project (the project' | Add a project (the project' | ||
- | Go on Project-> | + | Go on Project -> my_project-> |
Choose the languages (fr_FR, de_DE, templates) | Choose the languages (fr_FR, de_DE, templates) | ||
Line 116: | Line 117: | ||
Go on the site (http:// | Go on the site (http:// | ||
+ | |||
Translate what you want | Translate what you want | ||
+ | Click on " | ||
+ | |||
+ | Now push : | ||
+ | |||
+ | cd / | ||
+ | git add . | ||
+ | git commit -m " | ||
+ | git push origin master | ||
+ | And the testing site is translated ! :-D | ||
+ | |||
+ | ===== How to do with de prod server ? ===== | ||
+ | |||
+ | On your mac : | ||
+ | git clone git@server1.myserver.com: | ||
+ | cd my_project-locales/ | ||
+ | git remote add prod git@server3.myserver.com: | ||
+ | git pull origin master | ||
+ | git push prod master |