Russia
|
As I see, many users have a lot of problems with strange UCHome errors and faults because of mistakes in language files.
For ensure that your language pack is ok, I have prepared a simple Language Pack Verifier script.
How to use:
1) Upload the file _check_lang.php into your UCHome root.
2) Visit the URL:
your_site.tld/your_folder/_check_lang.php
3) You will see a usage prompt, like this:- Check for UCHome 2.0 Language Pack Integrity
- Set the language for check!
- Example:
- /uchome2/_check_lang.php?lang=en
Copy the Code 4) Add the "lang" parameter in your URL and press Enter.
5) If all the language files are correct, you will see a screen like this:- Check for UCHome 2.0 Language Pack Integrity
- CHECK LANGUAGE started.
- Directory: language/en/
- Checking filelang_admincp.php
- Checking filelang_cp.php
- Checking filelang_cpmessage.php
- Checking filelang_exif.php
- Checking filelang_install.php
- Checking filelang_showmessage.php
- Checking filelang_source.php
- Checking filelang_source2.php
- Checking filelang_template.php
- Checking filelang_title.php
- ------------------------
- CHECK LANGUAGE finished.
Copy the Code If you see Warning or Error message like this:- Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/Blog/htdocs/uchome2/language/en/lang_admincp.php on line 25
Copy the Code so, you have a problem at line 25 in the file lang_admincp.php.
You must verify the file and eliminate the problem.
Repeat this procedure for each language pack until no errors will be detected.
Enjoy
|
This post contains more resources
You have to Login for download or view attachment(s). No Account? Register
x
|