I was trying to install new language, but when I go {administration->Site Settings->Languages->Install Local->chose one from available locals-> save}, I can only see a moving circle shows the loading status. Then I just stuck on this page. What should I do to resolve this?
Do I need to download the language pack even it shows on the Available Locals list? If the answer is yes, where is the pack. I checked PKP web site but still cannot find it.
If you copy and paste the error log output here we can try to help out. I can’t say for certain which part would be the most helpful, but if you’re able to see the log errors that correspond to the time at which you are trying to install a new locale, that might be the most helpful.
Thanks for sharing your error message logs. I’m not sure what the issue might be but this may help to troubleshoot this issue further. I’ll see if some of my colleagues can help assist with this.
I checked the code and thought the problem. I tested to enter a mix of English and Chinese characters in metadata (title, abstract etc). Clicking a “save” button will not save any of the Chinese characters.
I had a similar case in a difference system. If the code, or the database is not set as “uff-8”, then characters not in “en_us” will not be saved.
Here is what the database setting now.
mysql> SHOW VARIABLES LIKE ‘char%’; SHOW VARIABLES LIKE ‘collation%’;
±-------------------------±---------------------------+
| Variable_name | Value |
±-------------------------±---------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
±-------------------------±---------------------------+
Here are the questions:
The MySQL language setting by default is “en_us”. Shall it be “utf-8” for multiple languages ?
PHP by default is set as “utf-8”, but “locale” is en_US. Will this be a problem ?