Problem installing language

Problem installing language

by Ana Cristina Sousa -
Number of replies: 8
Hi,

When i try to install a new language, i gt the error:

Cannot save md5 file.

Where is this file supposed to be saved ?

Thanks in advance.

Ana Sousa.
Average of ratings: -
In reply to Ana Cristina Sousa

Re: Problem installing language

by koen roggemans -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Translators
It should be saved in your moodledata/lang/XX_utf8 folder. If this is not possible, your folder might be not writable by the webserver. Please check the permissions on your moodledata folder.
In reply to koen roggemans

Re: Problem installing language

by Ana Cristina Sousa -
Hi,

Thank you for your answer.
The web server has permissions to write on that directory, but the problem persists.

Is it possible to manually install the language ?
If so, how ?

Thanks in advance.

Ana Sousa.
In reply to Ana Cristina Sousa

Re: Problem installing language

by mirek b -
hello

i have the same problem, but i partialy solved it this way: because, it seems, that the problem is in the execution of external unzip application and i have no access to execute applications from php code, this error occurs. so -  go to the configuration->variable settings and remove the path to external zip application.

then (maybe this will work for you, but i had a problem) edit the file in moodledata/cache/language and add line with your language in the form:
sk_utf8 Slovak (sk)

it seems, that the first string (sk_utf8) means the directory name in the directory moodledata/lang, when the language is stored.

now it should work. should work... ;)
In reply to mirek b

Re: Problem installing language

by Tarry Singh -
Just unzip the files and copy them to lang. what I don't understand is why the external gunzip settings don't work? Removing them does help.
In reply to Ana Cristina Sousa

Ang: Problem installing language

by C. Tolder -
Made it work this way :

Make sure, the following path's is complete in "Server - System path" settings :

- Path to Zip : /usr/bin/zip
- Path to Unzip : /usr/bin/unzip

The term "path" in Moodle apparently covers both "path" and program file.


Regards
In reply to C. Tolder

Re: Ang: Problem installing language

by Richard Enison -

CT,

I don't see any ambiguity in the use of the word "path" here. Program files have pathnames just like any other file or folder. They tell us (and other programs) where they are located.

Anyway, I'm glad you got it to work. smile

RLE

In reply to Ana Cristina Sousa

回复: Problem installing language

by spepsila chow -
If you under linux
chmod your language package and chmod the file *.md5 in your language package.
eg:
chmod 777 moodledata/lang/*_utf8
chmod 777 moodledata/lang/*_utf8 /*_utf8.md5
In reply to spepsila chow

Re: 回复: Problem installing language

by Paolo Oprandi -
I think the problem is that some no utf8 text may have entered one of your lang files

Paolo