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

Reply via email to