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 revisionBoth sides next revision
operating_systems:linux:debian:pootle_installation [2014/03/21 10:07] czuberoperating_systems:linux:debian:pootle_installation [2014/03/21 10:48] – [Create a git repertory for the locales] czuber
Line 56: Line 56:
  
 rm -rf /srv/http/locales/"$app" rm -rf /srv/http/locales/"$app"
- 
 git clone /srv/git/"$app"-locales.git /srv/http/locales/"$app" git clone /srv/git/"$app"-locales.git /srv/http/locales/"$app"
  
Line 64: Line 63:
         then         then
                 mkdir "$dir/LC_MESSAGES"                 mkdir "$dir/LC_MESSAGES"
- 
                 mv "$dir/$app.po" "$dir/LC_MESSAGES/$app.po"                 mv "$dir/$app.po" "$dir/LC_MESSAGES/$app.po"
- 
  msgfmt -o "$dir/LC_MESSAGES/$app.mo" "$dir/LC_MESSAGES/$app.po"  msgfmt -o "$dir/LC_MESSAGES/$app.mo" "$dir/LC_MESSAGES/$app.po"
- 
                 mv "$dir" "$dir.UTF-8"                 mv "$dir" "$dir.UTF-8"
         fi         fi
Line 111: Line 107:
 Add a project (the project's name must be the same as the repertory) Add a project (the project's name must be the same as the repertory)
  
-Go on Project->my_project->Administrer+Go on Project -> my_project->Administrer
  
 Choose the languages (fr_FR, de_DE, templates) Choose the languages (fr_FR, de_DE, templates)