Czech UTF-8 language pack glitch in Moodle 1.6

Czech UTF-8 language pack glitch in Moodle 1.6

by Will Taylor -
Number of replies: 1
Am working with a new Moodle 1.6 install;
when I attempt to intall the Czech language pack, I rec'v the following error msg:

Parse error: syntax error, unexpected T_VARIABLE in /home/wtaylor/czdata/lang/cs_utf8/langconfig.php on line 10

Slovak & several others installed fine.
I tried editing the czech langconfig.php file by borrowing code from the Slovak file, but still rec'd the same error - so am quite confused.

Can anyone lend me a hand with this?

thanks,
Will Taylor
Average of ratings: -
In reply to Will Taylor

Re: Czech UTF-8 language pack glitch in Moodle 1.6

by Eloy Lafuente (stronk7) -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Hi Will,

looking over changes to such file (cs_utf8/langconfig.php) it seems that it was changed yesterday (fixing one typo). Knowing that time to lang pack re-generation is 24hours in http://download.moodle.org/lang16, I think you could wait some hours, try to install it again, to get the latest version and, hopefully, it'll work.

Ciao smile

P.S.: If you want to fix it quickly, you can edit your /home/wtaylor/czdata/lang/cs_utf8/langconfig.php and there is one missing ";" at the end of line 9. Just change:

$string['localewin'] = 'Czech_Czech Republic.1250'

to

$string['localewin'] = 'Czech_Czech Republic.1250';

and it should work.