Closed (cannot reproduce)
Project:
IP to Locale
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2011 at 10:01 UTC
Updated:
16 Feb 2011 at 10:14 UTC
My Drupal language prefixes are not just 2 letter codes, but things like "en-EA, fr-CA, and others".
This limitation is not needed and breaks things:
Each custom IP 2 Locale map must be in the format 'cc,lc' (ISO 3166 2-character Country Code to Drupal Language Code) eg.
'ie,en' (Ireland to English)
'us,en' (United States to English)
The following mappings are invalid:
I'll patch locally.
Comments
Comment #1
Gabriel R. commentedSorry, I think this was caused by a line break at the end.