--Brian
have a look at this thread:
http://moodle.org/mod/forum/discuss.php?d=16445
and also here:
https://sourceforge.net/project/showfiles.php?group_id=30935
Dan
From what I can tell, you and Martin are against splitting out languages. But it seems like there was some valid rationale presented for doing so, despite the reservations to the contrary. It's always easy to take the extreme position that it's difficult to draw the line between what should be included in a "Moodle Lite" version as a means to argue away the need for languages in a separate download, but we <i>are</i> talking about a 63M portion of Moodle, which is a good chunk of HD real estate. I'm not aware of any other "optional" part of Moodle that is of such a size.
At any rate, there was mention of a "nolang" Moodle option. How is this downloaded and updated via CVS? Is there a separate CVS module for the nolang version? And do I get points deducted for asking such a stupid question?
--Brian
Hello!
I would just like to throw in my vote for the possibility of having "no language" CVS Moodle packages for the dev and stable versions.
I only keep the "en" and "es" language files.
Martin D in one of the links you noted, indicated the possibility of "no language" packages with the ability to automatically update language packs from the "admin" page.
I tried to obtain Moodle using Tortoise for the first time the other day and it took forever, primarily because of the language packs.
Hope this is still a "To Do" for future Moodles.
WP1
I've not decided about moving the languages out of CVS tree yet. I most likely will not do it, because they are so convenient there for larger users (I maintain 60-odd sites myself all with different languages). You don't have to update the lang direcory if you don't want to, just update the other directories.
Moving languages out would be a mess. Instead, if you are developing or running from a CVS checkout, and want to speed up "cvs update", "cvs diff" and friends, write a little script or alias with:
cvs update admin auth backup blocks calendar config-dist.php \
course doc enrol error file.php files filter help.php \
index.php install.php lib login mod pix rss theme user \
userpix version.php
On my laptop, this is called "moodleupdate", see:
$ cat ~/bin/moodleupdate
#!/bin/bash -x
cvs update admin auth backup blocks calendar config-dist.php \
course doc enrol error file.php files filter help.php \
index.php install.php lib login mod pix rss theme user \
userpix version.php
Hi Martin L!
- What do you mean by "write a little script or alias"?
- Where do you put it?
- How can I use it with Putty and Tortoise?
WP1
With tortoise, just select all folders but lang, and do the "update" thing. Easy.
The scripts are for people using command-line cvs, and are the equivalent to selecting all but lang when you update.
Hi Martin L!
This is really good information. I am going to try it using TortoiseCVS today.
- How can I do this with SSH?
- Is there a way to write a script to get just the language files I want to be updated?
- Via SSH?
- Via TortoiseCVS?
WP1
Easiest way using TortoiseCVS is the one Martin L suggested. I open the Moodle root directory in Explorer and hit CTRL-A (select all)
Then I CTRL-click on the lang directory to deselect it. Then select "update" in the menu that shows when you rightclick one of the directories. Afterwards you can visit the lang directory and use the same trick to only update the languages you need.
mmmm ... Now that I see all of the steps written out... this looks more tedious than it is. I will try to write a simple .bat file which does all this.
The script that can be used for ssh is the one Martin L provided (meant for commandline CVS)
Here is some explanation about how to write a script and execute it on a linux machine. Just replace the commands inside the sample scripts with the commands Martin L provided (starting from the line with #!/bin/bash)
Hope this helps.
Hello Everyone!
I have continued my questions regarding this process by creating a new thread. I hope I can use the information (with the help of all of you) to create a tutorial about the process.
Limiting "lang" files using Putty & TortoiseCVS: The making of a tutorial.
http://moodle.org/mod/forum/discuss.php?d=24922
WP1