• Nigel McNie's avatar
    Re-implemented algorithm for determining searchpath for language packs. · bfd2ceb0
    Nigel McNie authored
    Now the following locations are searched:
    
    * docroot - the english language pack lives here
    * directories in $dataroot/langpacks matching *.utf8
    * anything on langpacksearchpaths
    
    This makes $dataroot/langpacks the preferred place to install language packs, and makes langpacksearchpaths unnecessary for most people.
    
    The upshot of all this is that it'll be much easier to install language packs - just download to $dataroot/langpacks and decompress :)
    
    Thanks to discussion with David Mudrak, Nicolas Martignoni, I?aki Arenaza and others on the forums - http://mahara.org/interaction/forum/topic.php?id=120
    bfd2ceb0
mahara.php 62.8 KB