As this will nearly double the total size of the language packs it's time to start moving the languages out of the main CVS tree, before 1.6.
Here is the current plan:
- All the languages except "en" will be moved into a new CVS module: cvs:/lang parallel to the main Moodle module cvs:/moodle
- In Moodle, all non-en language packs will become part of your moodledata directory, in dataroot/lang. Note that 1.5 already supports language packs in this location.
- The language configuration page will be extended to allow you to download and update these dataroot language packs directly from download.moodle.org. For those that don't have fopen($url) capability in their PHP there will be an alternate web form that leads you through downloading the files from moodle.org to your desktop, and then uploading via the web into dataroot.
- We'll also add support for xx_local language packs, which will be the preferred way of implementing local language tweaks. If xx_local packs are found, Moodle will use those in preference to xx (but xx will still be what appears in the menus etc)
cvs -z3 -d:pserver:email@example.com:/cvsroot/moodle co lang
The downside is that you will need to issue two CVS update statements now to upgrade a site via CVS. The upside is that there will only be one copy of the language packs and we won't have any more issues about HEAD vs STABLE. Translators will now be able to run a STABLE moodle and use it to translate the HEAD language packs.