update Provinces of Algeria
-
Hi everyone,
July 5th, was 62nd Algeria’s Independence Day!?
I’d like to suggest an update to the list of? Algerian provinces (wilayas) in WooCommerce to reflect the new administrative divisions announced in 2019 and made official in 2021.
Currently, the list of provinces stops at “DZ-48” for Relizane in the?states.php
?file.
To align with the new administrative structure, we need to add the new provinces.
Here are the lines of code to insert after line 497('DZ-48' => __( 'Relizane', 'woocommerce' ),):
'DZ-49' => __( 'Timimoun', 'woocommerce' ),
'DZ-50' => __( 'Bordj Badji Mokhtar', 'woocommerce' ),
'DZ-51' => __( 'Ouled Djellal', 'woocommerce' ),
'DZ-52' => __( 'Béni Abbès', 'woocommerce' ),
'DZ-53' => __( 'Ain Salah', 'woocommerce' ),
'DZ-54' => __( 'Ain Guezzam', 'woocommerce' ),
'DZ-55' => __( 'Touggourt', 'woocommerce' ),
'DZ-56' => __( 'Djanet', 'woocommerce' ),
'DZ-57' => __( 'El M’Ghair', 'woocommerce' ),
'DZ-58' => __( 'El Menia', 'woocommerce' ),here is the full list with arabic names :
'DZ' => array( // Algerian states.
'DZ-01' => __( 'Adrar / ?????', 'woocommerce' ),
'DZ-02' => __( 'Chlef / ?????', 'woocommerce' ),
'DZ-03' => __( 'Laghouat / ???????', 'woocommerce' ),
'DZ-04' => __( 'Oum El Bouaghi / ?? ???????', 'woocommerce' ),
'DZ-05' => __( 'Batna / ?????', 'woocommerce' ),
'DZ-06' => __( 'Béja?a / ?????', 'woocommerce' ),
'DZ-07' => __( 'Biskra / ?????', 'woocommerce' ),
'DZ-08' => __( 'Béchar / ????', 'woocommerce' ),
'DZ-09' => __( 'Blida / ???????', 'woocommerce' ),
'DZ-10' => __( 'Bouira / ???????', 'woocommerce' ),
'DZ-11' => __( 'Tamanghasset / ???????', 'woocommerce' ),
'DZ-12' => __( 'Tébessa / ????', 'woocommerce' ),
'DZ-13' => __( 'Tlemcen / ??????', 'woocommerce' ),
'DZ-14' => __( 'Tiaret / ?????', 'woocommerce' ),
'DZ-15' => __( 'Tizi Ouzou / ???? ???', 'woocommerce' ),
'DZ-16' => __( 'Algiers / ???????', 'woocommerce' ),
'DZ-17' => __( 'Djelfa / ??????', 'woocommerce' ),
'DZ-18' => __( 'Jijel / ????', 'woocommerce' ),
'DZ-19' => __( 'Sétif / ????', 'woocommerce' ),
'DZ-20' => __( 'Sa?da / ?????', 'woocommerce' ),
'DZ-21' => __( 'Skikda / ??????', 'woocommerce' ),
'DZ-22' => __( 'Sidi Bel Abbès / ???? ??????', 'woocommerce' ),
'DZ-23' => __( 'Annaba / ?????', 'woocommerce' ),
'DZ-24' => __( 'Guelma / ?????', 'woocommerce' ),
'DZ-25' => __( 'Constantine / ???????', 'woocommerce' ),
'DZ-26' => __( 'Médéa / ??????', 'woocommerce' ),
'DZ-27' => __( 'Mostaganem / ???????', 'woocommerce' ),
'DZ-28' => __( 'M’Sila / ???????', 'woocommerce' ),
'DZ-29' => __( 'Mascara / ?????', 'woocommerce' ),
'DZ-30' => __( 'Ouargla / ?????', 'woocommerce' ),
'DZ-31' => __( 'Oran / ?????', 'woocommerce' ),
'DZ-32' => __( 'El Bayadh / ?????', 'woocommerce' ),
'DZ-33' => __( 'Illizi / ?????', 'woocommerce' ),
'DZ-34' => __( 'Bordj Bou Arréridj / ??? ????????', 'woocommerce' ),
'DZ-35' => __( 'Boumerdès / ???????', 'woocommerce' ),
'DZ-36' => __( 'El Tarf / ??????', 'woocommerce' ),
'DZ-37' => __( 'Tindouf / ?????', 'woocommerce' ),
'DZ-38' => __( 'Tissemsilt / ????????', 'woocommerce' ),
'DZ-39' => __( 'El Oued / ??????', 'woocommerce' ),
'DZ-40' => __( 'Khenchela / ?????', 'woocommerce' ),
'DZ-41' => __( 'Souk Ahras / ??? ?????', 'woocommerce' ),
'DZ-42' => __( 'Tipasa / ??????', 'woocommerce' ),
'DZ-43' => __( 'Mila / ????', 'woocommerce' ),
'DZ-44' => __( 'A?n Defla / ??? ??????', 'woocommerce' ),
'DZ-45' => __( 'Naama / ???????', 'woocommerce' ),
'DZ-46' => __( 'A?n Témouchent / ??? ??????', 'woocommerce' ),
'DZ-47' => __( 'Gharda?a / ??????', 'woocommerce' ),
'DZ-48' => __( 'Relizane / ??????', 'woocommerce' ),
'DZ-49' => __( 'Timimoun / ???????', 'woocommerce' ),
'DZ-50' => __( 'Bordj Badji Mokhtar / ??? ???? ?????', 'woocommerce' ),
'DZ-51' => __( 'Ouled Djellal / ????? ????', 'woocommerce' ),
'DZ-52' => __( 'Béni Abbès / ??? ????', 'woocommerce' ),
'DZ-53' => __( 'Ain Salah / ?? ????', 'woocommerce' ),
'DZ-54' => __( 'Ain Guezzam / ?? ????', 'woocommerce' ),
'DZ-55' => __( 'Touggourt / ????', 'woocommerce' ),
'DZ-56' => __( 'Djanet / ????', 'woocommerce' ),
'DZ-57' => __( 'El M’Ghair / ??????', 'woocommerce' ),
'DZ-58' => __( 'El Menia / ???????', 'woocommerce' ),
),For more information about the new provincial divisions in Algeria, you can refer to this Wikipedia page: Provinces of Algeria.
Thank you for your attention and for your continued work on WooCommerce!
???? ??????? !
- The topic ‘update Provinces of Algeria’ is closed to new replies.