Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
Addressfield is a great module but it does not support well french address (in my case).
The order of the field are not correct and with a french version of drupal, the label are not translated (they are still in english).
I'm not a coder so that will be hard for me to patch it ;'(. I can just help by giving the correct order of the field (and their translations):
- Address 1 (Adresse)
- Address 2 (Complément d'Adresse)
And on the same line:
Postal Code (Code Postal) | City (Ville) | Country (Pays)
Comments
Comment #1
j0rd CreditAttribution: j0rd commentedThis is a duplicate of
#1829900: [meta] Address Field 2.x needs pluggable administrative areas and an actual API
If you think so to, please close your ticket.
Comment #2
Jarode CreditAttribution: Jarode commentedI'm agree with Hurukan in the fact that adressfield module could make a little better support of french addresses.
Administrative areas are not supported in french adresses. In french it's frequent to write it at the end of the letter (on a new line) when sending it.
I'm not agree with that format. When posting a letter from "France(sender) to France(recipient)", local postal services always assumes the country is "France". That's why in France nobody write "France" on a letter when sending a letter to a "france located recipient".
However like I just said above the format could be better:
In France it's frequent to write the Adminstrative area OR the Sub administrative area (sometime the first sometimes the second, it's not clearly defined), OR both but this later case is less frequent...
Moreover when sending a letter to an organisation, business company or a person..., we must write the name at the beginning of the letter.
Thank you indeed for this great module and your work ! :)
Comment #3
rszrama CreditAttribution: rszrama commentedComment #4
uzlov CreditAttribution: uzlov commentedhttps://drupal.org/sandbox/uzlov/2130897
Addressfield France with db of cities and postal codes
Comment #5
bojanz CreditAttribution: bojanz commentedThis module can't define administrative areas or subadministrative areas for France because according to UPU, they are not used for addressing.
A possible solution can be to write a custom plugin, like uzlov has done.
http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/fr...
Comment #6
rcodina CreditAttribution: rcodina commentedAnother custom module to add administrative areas to French addresses:
https://github.com/rogercodina/addressfield_administrative_areas_fr
Comment #7
M.Daoudi CreditAttribution: M.Daoudi as a volunteer and commentedHere is a new module for addresses in France.
https://www.drupal.org/project/addressfield_fr