Hi, Why not use which is proposed in example plugin ?
Regards Julien Le 04/12/2012 11:21, David DURIEUX a écrit :
Hello, for plugins dev want to extract only gettext strings with the plugin context, you can use the script I have modified from GLPI repository. Like for exemple string like: echo __('hello!', 'pluginname'); So in the extract_template.sh script, replace "soft='fusioninventory'" by "soft='pluginname'" and the script will extract the "hello!" string get it here: http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/repository/revisions/master/changes/fusioninventory/tools/extract_template.sh David Durieux ++ _______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev
_______________________________________________ Glpi-dev mailing list Glpi-dev@gna.org https://mail.gna.org/listinfo/glpi-dev