The following config snippet allow for groupnames to have a suffix of a colon followed by a 2 letter lowercase country code. This is what we key internationalisation off.

$GroupPattern = '[[:upper:]\\d][-\\w]*(?:[-\\w]+)*(?::\\w{2})?';
$NamePattern=$GroupPattern;
$MakePageNamePatterns = array(
    "/'/" => '',                           # strip single-quotes
    "/[^-:[:alnum:]]+/" => ' ',            # convert non-alnums to spaces
    "/((^|[^-\\w])\\w)/e"
      => "strtoupper('$1')",               # initial caps after spaces
    "/(:.*)/e" => "strtolower('$1')",      # country suffixes should be lowercase
    "/ /" => ''                            # strip spaces
);

Website/I18n (last edited 2007-01-21 19:55:25 by bbrazil)

gNewSense is a project developed by volunteers all over the world and it's supported by the Free Software Foundation.

The content in this Web site can be used as follows:

All documentation is available under the terms of the GFDL with no invariant sections. (note on the license)

Artwork is Free Cultural Work and is available under the terms of the cc-by-sa license.