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

Create QA.php #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
32 changes: 32 additions & 0 deletions trunk/states/QA.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/**
* $country states/provinces/regions
* - $count states/provinces/regions
*
* Source:
* - [Please add the source(s) link(s) to check the list of places]
*
* @author Your Name Here <[email protected]> | https://yourwebsite.com
* @version 1.0.0
* @license http://www.gnu.org/licenses/gpl-2.0.html
*/

global $states;

// Replace 'XX' code for your Country Code. E.g. 'NG' for Nigeria, 'CO' for Colombia, 'VE' for Venezuela, etc.
// Please refer to WooCommerce country codes : https://github.com/woocommerce/woocommerce/blob/master/i18n/countries.php
$states['QA'] = array(
// Add a State Code to each State Name using a logic sense.
// E.g. 'FA' => 'Florida'
// You can use any standar like ISO, ANSI, etc. There is no an mandatory standar or system and you can use your own.
// Please see the U.S. state abbreviations to see an example:
// https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations
'DA' => __( 'Ad Dawhah', 'states-cities-and-places-for-woocommerce' ),
'ZA' => __( 'Al Daayen', 'states-cities-and-places-for-woocommerce' ),
'KH' => __( 'Al Khawr', 'states-cities-and-places-for-woocommerce' ),
'WA' => __( 'Al Wakrah', 'states-cities-and-places-for-woocommerce' ),
'RA' => __( 'Ar Rayyan', 'states-cities-and-places-for-woocommerce' ),
'MS' => __( 'Madinat ach Shamal', 'states-cities-and-places-for-woocommerce' ),
'US' => __( 'Umm Salal', 'states-cities-and-places-for-woocommerce' ),
);