mikehaertl / localeurls

Automatic locale/language management for URLs
10 stars 3 forks source link

Implement mapping feature for URL name -> language name #2

Closed mikehaertl closed 11 years ago

mikehaertl commented 11 years ago

It could be useful to map URL values to languages, e.g. english in URL is mapped en. Or also en to en_gb. We could configure it like this:

<?php
'languages' => array(
    'de',
    'en' => 'en_gb',
    'fr',
),
mikehaertl commented 11 years ago

Implemented in 1.1.3.