Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Compatibility, New Features, and Algeria Data Update #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
159 changes: 91 additions & 68 deletions trunk/places/DZ.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* Source:
* - https://en.wikipedia.org/wiki/Communes_of_Algeria
*
* Updated: March 22, 2020
* By Yordan Soares <contact@yordansoar.es> | https://yordansoar.es
* Updated: December 5, 2024
* By RAHMANI AbdElFattah <RAHMANI AbdElFattah@gmail.com> | @F7k-B0y
*
* @author Walid Yacine MAZED <w.mazed@mindscom.net>
* @version 1.0.0
Expand All @@ -21,33 +21,22 @@
'DZ-01' => array(
_x('Adrar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamest', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Charouine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Reggane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Inozghmir', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tit', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ksar Kaddour', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tsabit', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timimoun', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Said', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Zaouiet Kounta', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Aoulef', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timokten', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamentit', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Fenoughil', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tinerkouk', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Deldoul', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sali', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Akabli', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Metarfa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('O Ahmed Timmi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Ahmed Timmi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Bouda', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Aougrout', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Talmine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('B Badji Mokhtar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sbaa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Aissa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timiaouine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),

'DZ-02' => array(
_x('Chlef', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tenes', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -114,7 +103,7 @@
'DZ-04' => array(
_x('Oum El Bouaghi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ain Beida', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ainmlila', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ain M’lila', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Behir Chergui', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Amiria', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sigus', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -264,12 +253,6 @@
_x('Oumache', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Branis', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Chetma', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Djellal', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ras El Miaad', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Besbes', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Khaled', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Doucen', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ech Chaiba', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Okba', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mchouneche', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Haouch', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -297,24 +280,14 @@
'DZ-08' => array(
_x('Bechar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Erg Ferradj', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Khoudir', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Meridja', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timoudi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Lahmar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Beni Abbes', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Beni Ikhlef', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mechraa Houari B', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Kenedsa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Igli', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tabalbala', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Taghit', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Ouata', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Boukais', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mogheul', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Abadla', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Kerzaz', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ksabi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamtert', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Beni Ounif', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-09' => array(
Expand Down Expand Up @@ -392,16 +365,11 @@
_x('Oued El Berdi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-11' => array(
_x('Tamanghasset', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Abalessa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('In Ghar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('In Guezzam', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Idles', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tazouk', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tinzaouatine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('In Salah', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('In Amguel', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Foggaret Ezzaouia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamanghasset', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Idlès', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tazrouk', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-12' => array(
_x('Tebessa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -1170,22 +1138,8 @@
_x('Ngoussa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Hassi Messaoud', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Rouissat', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Balidat Ameur', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tebesbest', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Nezla', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Zaouia El Abidia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Slimane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Khouiled', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Hassi Ben Abdellah', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Touggourt', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Hadjira', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Taibet', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamacine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Benaceur', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mnaguer', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Megarine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Allia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Borma', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-31' => array(
_x('Oran', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -1241,10 +1195,8 @@
),
'DZ-33' => array(
_x('Illizi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Djanet', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Debdeb', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Bordj Omar Driss', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Bordj El Haouasse', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('In Amenas', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-34' => array(
Expand Down Expand Up @@ -1392,16 +1344,8 @@
_x('Magrane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Beni Guecha', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ourmas', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Still', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mrara', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Khellil', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tendla', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Ogla', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mih Ouansa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Mghair', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Djamaa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Oum Touyour', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Amrane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-40' => array(
_x('Khenchela', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -1602,7 +1546,6 @@
),
'DZ-47' => array(
_x('Ghardaia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Meniaa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Dhayet Bendhahoua', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Berriane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Metlili', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand All @@ -1611,9 +1554,6 @@
_x('Zelfana', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sebseb', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Bounoura', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Hassi Fehal', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Hassi Gara', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Mansoura', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-48' => array(
_x('Relizane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
Expand Down Expand Up @@ -1654,6 +1594,89 @@
_x('El Ouldja', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Merdja Sidi Abed', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Sidi Mihoub', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),

// 10 new added provinces communes
'DZ-49' => array(
_x('Aougrout', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Deldoul', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Metarfa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Charouine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Aissa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Talmine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Said', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timimoun', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ksar Kaddour', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tinerkouk', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-50' => array(
_x('Bordj Badji Mokhtar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timiaouine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-51' => array(
_x('Ouled Djellal', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ech Chaïba', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Doucen', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Khaled', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Besbes (Ouled Harkat)', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ras El Miaad (Ouled Sassi)', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-52' => array(
_x('Beni Abbes', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Beni Ikhlef', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Ouata', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Igli', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Kerzaz', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ksabi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Ouled Khoudir', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tabalbala', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamtert', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Timoudi', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-53' => array(
_x('In Ghar', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('In Salah', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Foggaret Ezzaouia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-54' => array(
_x('In Guezzam', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tinzaouatine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-55' => array(
_x('Megarine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Slimane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Benaceur', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('M’Naguer', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Taibet', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Balidat Ameur', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tamacine', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Nezla', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tebesbest', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Touggourt', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Zaouia El Abidia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Hadjira', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Allia', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Borma', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-56' => array(
_x('Bordj El Haouas', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Djanet', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-57' => array(
_x('El M’Ghair', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Oum Touyour', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Khellil', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Still', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Djamaa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('M’Rara', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Sidi Amrane', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Tendla', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
),
'DZ-58' => array(
_x('Mansoura', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Hassi Fehal', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('El Meniaa', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
_x('Hassi Gara', 'Algerian Communes', 'states-cities-and-places-for-woocommerce'),
)
);

Expand Down
Loading