update Provinces of Algeria | WordPress.org

Hi everyone,
July 5th, was 62nd Algeria’s Independence Day! :drapeau-dz:
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!
تحيا الجزائر ! :drapeau-dz: 

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer