diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php
index 79756907..deedb3dd 100755
--- a/public_html/lang/generate_lang_file.php
+++ b/public_html/lang/generate_lang_file.php
@@ -227,6 +227,55 @@ function find_and_parse_template_file($dir) {
find_and_parse_template_file(LS_TEMPLATES_DIR);
find_and_parse_template_file(LS_LOCAL_DIR.LS_TEMPLATES_DIR);
+/*
+ * Manage addons files
+ */
+
+function parse_addon_file($file) {
+ foreach(file($file) as $line) {
+ $offset=0;
+ while ($pos = strpos($line,'_(',$offset)) {
+ $quote='';
+ $res='';
+ for ($i=$pos+2;$i