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 |
Jump to:
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).
| Attachment | Size |
|---|---|
| location.patch | 2.59 KB |

#1
#2
tagging.
#3
Subscribing, will this patch be getting in?
Thanks a lot in advance for considering.
Greetings, Martijn