diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php
index 0d02ab56..07e0a2d5 100755
--- a/public_html/lang/generate_lang_file.php
+++ b/public_html/lang/generate_lang_file.php
@@ -105,6 +105,13 @@ if (loadDir('../'.LS_OBJECTS_DIR)) {
}
}
}
+
+ // LSattr_html_valueWithUnit
+ if ($attr['html_type']=='valueWithUnit' && is_array($attr['html_options']['units'])) {
+ foreach($attr['html_options']['units'] as $pname) {
+ add($pname);
+ }
+ }
// Check data
if (is_array($attr['check_data'])) {