Short Description: Modx language files checking toolNew features added with the release 1.1:
Version: 1.1
Description
First parse the language file to detect any PHP parsing errors
Checks the labels of one or several language files regarding the english file reference.
Installer ou manager could be selected.
For each language provides the list of labels in double, not translated and the list of useless labels.
Works on local environment without MODx. To use simply place this file to the root of your local MODx environment
and call it by: http://localhost/checkLanguageFiles.php
Short Description: Modx language files checking tool
Version: 1.2
Description
- First parse the language file to detect any PHP parsing errors
- Select the language reference: english, francais-utf8, japanese-utf8 ....
- Checks the labels of one or several language files regarding the selected file reference Installer, manager or snippet language files could be checked
- Choose the reference language (usually english) and the array of language labels (usually _lang)
- For each language provides the list of labels in double, not translated and the list of useless labels
- Works on local environment without MODx. To use simply place this file to the root of your local MODx environment and call it by: http://localhost/checkLanguageFiles.php
If I rename file, it will not work. (fallbacks to full file name)Ok I will change this. [EDIT: Done]
Checking francais-utf8 Language file analysed: C:/www/MODx-1.0.3/install/lang/francais-utf8.inc.php English reference file used: C:/www/MODx-1.0.3/install/lang/english.inc.php Labels in double ? ... No. Great! Same number of labels ? ... Total number of labels are different! - english labels:181 - new language file:172 Are reference labels all translated ? ... These labels have not been translated: - no - recommend_setting_change_title - recommend_setting_change_validate_referer_confirmation - recommend_setting_change_validate_referer_description - system_configuration - system_configuration_validate_referer_description - tvs - validate_referer_title - yes Useless labels ? ... Ok
Checking francais-utf8 Language file analysed: C:/www/MODx-1.0.3/manager/includes/lang/francais-utf8.inc.php English reference file used: C:/www/MODx-1.0.3/manager/includes/lang/english.inc.php Labels in double ? ... No. Great! Same number of labels ? ... Total number of labels are different! - english labels:1050 - new language file:1047 Are reference labels all translated ? ... These labels have not been translated: - configcheck_php_gdzip - configcheck_php_gdzip_msg - default Useless labels ? ... Ok