diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php
index a00a5136..79756907 100755
--- a/public_html/lang/generate_lang_file.php
+++ b/public_html/lang/generate_lang_file.php
@@ -60,7 +60,7 @@ if ($argc > 1) {
$data=array();
function add($msg) {
- if ($msg!='') {
+ if ($msg!='' && _($msg) == "$msg") {
global $data, $translations;
$data[$msg]=$translations[$msg];
}