Support province name translation

mongolito404 - July 14, 2009 - 13:39
Project:Location
Version:6.x-3.1-rc1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:location translation
Description

Currently, the location module use language independent provinces names. For instance, the name for the Belgian province with code WBR will always be ""Brabant Wallon", regardless of the language set for the site or by the user. But this is its French name and it has a different name in English ("Walloon Brabant") and in Dutch ("Waals-Brabant").

A solution may be to cache province names by language in location_get_provinces and to return translated names in location_province_list_$country (see attached patch).

AttachmentSize
location.patch2.59 KB

#1

mongolito404 - July 14, 2009 - 14:48
Version:6.x-3.0» 6.x-3.1-rc1

#2

YesCT - July 15, 2009 - 08:36

tagging.

#3

Summit - November 5, 2009 - 10:07

Subscribing, will this patch be getting in?
Thanks a lot in advance for considering.
Greetings, Martijn

 
 

Drupal is a registered trademark of Dries Buytaert.