Commit 7f6e6a93f9b for woocommerce
commit 7f6e6a93f9ba1101d131aa20419e22302ebd54ee
Author: Andrew Wikel <wikel@woocommerce.com>
Date: Thu Jun 18 09:06:05 2026 -0400
fix: update Algeria provinces from 48 to 58 wilayas (#65385)
* fix: update Algeria provinces from 48 to 58 wilayas and correct DZ-11
Adds 10 missing provinces (DZ-49–DZ-58) per ISO 3166-2:DZ update
2022-11-29. Also fixes DZ-11 spelling from Tamanghasset to Tamanrasset
per ISO change 2014-10-29.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore: rename changelog to match PR #65385
* test: sync dz.json fixture with updated Algeria provinces
Core API test (data-crud.test.ts "can view country data") deep-equality compares /wc/v3/data/countries against tests/e2e-pw/data/countries/dz.json. Sync the fixture with the states.php change so the assertion passes: DZ-11 Tamanghasset -> Tamanrasset and add DZ-49 through DZ-58.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Update plugins/woocommerce/changelog/65385-update-algeria-provinces
---------
Co-authored-by: Andrew Wikel <andrew.wikel@automattic.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
diff --git a/plugins/woocommerce/changelog/65385-update-algeria-provinces b/plugins/woocommerce/changelog/65385-update-algeria-provinces
new file mode 100644
index 00000000000..14d45c12c54
--- /dev/null
+++ b/plugins/woocommerce/changelog/65385-update-algeria-provinces
@@ -0,0 +1,4 @@
+Significance: minor
+Type: update
+
+Update Algeria states from 48 to 58 wilayas; also correct DZ-11 spelling.
diff --git a/plugins/woocommerce/i18n/states.php b/plugins/woocommerce/i18n/states.php
index 88bb99e1d9b..15d491ea576 100644
--- a/plugins/woocommerce/i18n/states.php
+++ b/plugins/woocommerce/i18n/states.php
@@ -457,7 +457,7 @@ return array(
'DZ-08' => __( 'Béchar', 'woocommerce' ),
'DZ-09' => __( 'Blida', 'woocommerce' ),
'DZ-10' => __( 'Bouira', 'woocommerce' ),
- 'DZ-11' => __( 'Tamanghasset', 'woocommerce' ),
+ 'DZ-11' => __( 'Tamanrasset', 'woocommerce' ),
'DZ-12' => __( 'Tébessa', 'woocommerce' ),
'DZ-13' => __( 'Tlemcen', 'woocommerce' ),
'DZ-14' => __( 'Tiaret', 'woocommerce' ),
@@ -495,6 +495,16 @@ return array(
'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' => __( 'In Salah', 'woocommerce' ),
+ 'DZ-54' => __( 'In Guezzam', 'woocommerce' ),
+ 'DZ-55' => __( 'Touggourt', 'woocommerce' ),
+ 'DZ-56' => __( 'Djanet', 'woocommerce' ),
+ 'DZ-57' => __( 'El Meghaier', 'woocommerce' ),
+ 'DZ-58' => __( 'El Meniaa', 'woocommerce' ),
),
'EE' => array(),
'EC' => array( // Ecuadorian states.
diff --git a/plugins/woocommerce/tests/e2e-pw/data/countries/dz.json b/plugins/woocommerce/tests/e2e-pw/data/countries/dz.json
index 95ea160eb62..d42fa0da0c8 100644
--- a/plugins/woocommerce/tests/e2e-pw/data/countries/dz.json
+++ b/plugins/woocommerce/tests/e2e-pw/data/countries/dz.json
@@ -44,7 +44,7 @@
},
{
"code": "DZ-11",
- "name": "Tamanghasset"
+ "name": "Tamanrasset"
},
{
"code": "DZ-12",
@@ -193,6 +193,46 @@
{
"code": "DZ-48",
"name": "Relizane"
+ },
+ {
+ "code": "DZ-49",
+ "name": "Timimoun"
+ },
+ {
+ "code": "DZ-50",
+ "name": "Bordj Badji Mokhtar"
+ },
+ {
+ "code": "DZ-51",
+ "name": "Ouled Djellal"
+ },
+ {
+ "code": "DZ-52",
+ "name": "Béni Abbès"
+ },
+ {
+ "code": "DZ-53",
+ "name": "In Salah"
+ },
+ {
+ "code": "DZ-54",
+ "name": "In Guezzam"
+ },
+ {
+ "code": "DZ-55",
+ "name": "Touggourt"
+ },
+ {
+ "code": "DZ-56",
+ "name": "Djanet"
+ },
+ {
+ "code": "DZ-57",
+ "name": "El Meghaier"
+ },
+ {
+ "code": "DZ-58",
+ "name": "El Meniaa"
}
],
"_links": {
diff --git a/plugins/woocommerce/tests/e2e-pw/data/settings.ts b/plugins/woocommerce/tests/e2e-pw/data/settings.ts
index c7f63f1f1f5..66b5c5a325a 100644
--- a/plugins/woocommerce/tests/e2e-pw/data/settings.ts
+++ b/plugins/woocommerce/tests/e2e-pw/data/settings.ts
@@ -362,7 +362,7 @@ export const stateOptions = {
'DZ:DZ-08': 'Algeria - Béchar',
'DZ:DZ-09': 'Algeria - Blida',
'DZ:DZ-10': 'Algeria - Bouira',
- 'DZ:DZ-11': 'Algeria - Tamanghasset',
+ 'DZ:DZ-11': 'Algeria - Tamanrasset',
'DZ:DZ-12': 'Algeria - Tébessa',
'DZ:DZ-13': 'Algeria - Tlemcen',
'DZ:DZ-14': 'Algeria - Tiaret',
@@ -400,6 +400,16 @@ export const stateOptions = {
'DZ:DZ-46': 'Algeria - Aïn Témouchent',
'DZ:DZ-47': 'Algeria - Ghardaïa',
'DZ:DZ-48': 'Algeria - Relizane',
+ 'DZ:DZ-49': 'Algeria - Timimoun',
+ 'DZ:DZ-50': 'Algeria - Bordj Badji Mokhtar',
+ 'DZ:DZ-51': 'Algeria - Ouled Djellal',
+ 'DZ:DZ-52': 'Algeria - Béni Abbès',
+ 'DZ:DZ-53': 'Algeria - In Salah',
+ 'DZ:DZ-54': 'Algeria - In Guezzam',
+ 'DZ:DZ-55': 'Algeria - Touggourt',
+ 'DZ:DZ-56': 'Algeria - Djanet',
+ 'DZ:DZ-57': 'Algeria - El Meghaier',
+ 'DZ:DZ-58': 'Algeria - El Meniaa',
AS: 'American Samoa',
AD: 'Andorra',
'AO:BGO': 'Angola - Bengo',