Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 825 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 825 Bytes

Installation Client

Installation de grunt et gettext

https://angular-gettext.rocketeer.be/dev-guide/install/

  • Install bower if not installed on your computer npm install -g bower

  • Install angular-gettext bower install --save angular-gettext Move angular-gettext folder from bower_components to app/bower_components

  • Install grunt npm install -g grunt-cli

  • Install uglify npm install grunt-contrib-uglify

  • Install grunt-angular-gettext npm install grunt-angular-gettext --save-dev

Utilisatin de gettext

  • Extract strings grunt nggettext_extract

  • In poedit, open en.po file (in LOG210-client/po)

  • Catalogue > Mettre à jour depuis un fichier POT, selectionnez template.pot (in LOG210-client/po)

  • Translate your text then save

  • Compile strings (after translating in Poedit) grunt nggettext_compile