Oracle Help Center | Oracle Push Cloud Service (Standalone) title

Locale & Timezone based Push

Locale Functionality

Device Locales are tracked automatically with the Advanced Segmentation functionality of the Push IO SDK:

To target these languages, simply append your query with a $locale parameter, using OR logic to target multiple locales:

$locale = "en_US" OR $locale = "en_FR" OR $locale = "en_GB"

For example, a cURL set to hit 'broadcast' users (All Active Devices) AND four French locales:

curl 'https://api.pushio.com/api/v1/notify_app/APP_ID/SENDER_SECRET' -d 'payload={"message":"Locale Test"}&tag_query=broadcast AND ($locale = "fr_FR" or $locale = "fr_BE" or $locale = "fr_CH" or $locale = "fr_LU")

Here's a complete list of Locales:

Language

Country

Locale ID

Albanian

Albania

sq_AL

Arabic

Algeria

ar_DZ

Arabic

Bahrain

ar_BH

Arabic

Egypt

ar_EG

Arabic

Iraq

ar_IQ

Arabic

Jordan

ar_JO

Arabic

Kuwait

ar_KW

Arabic

Lebanon

ar_LB

Arabic

Libya

ar_LY

Arabic

Morocco

ar_MA

Arabic

Oman

ar_OM

Arabic

Qatar

ar_QA

Arabic

Saudi Arabia

ar_SA

Arabic

Sudan

ar_SD

Arabic

Syria

ar_SY

Arabic

Tunisia

ar_TN

Arabic

United Arab Emirates

ar_AE

Arabic

Yemen

ar_YE

Belarusian

Belarus

be_BY

Bulgarian

Bulgaria

bg_BG

Catalan

Spain

ca_ES

Chinese (Simplified)

China

zh_CN

Chinese (Simplified)

Singapore

zh_SG

Chinese (Traditional)

Hong Kong

zh_HK

Chinese (Traditional)

Taiwan

zh_TW

Croatian

Croatia

hr_HR

Czech

Czech Republic

cs_CZ

Danish

Denmark

da_DK

Dutch

Belgium

nl_BE

Dutch

Netherlands

nl_NL

English

Australia

en_AU

English

Canada

en_CA

English

India

en_IN

English

Ireland

en_IE

English

Malta

en_MT

English

New Zealand

en_NZ

English

Philippines

en_PH

English

Singapore

en_SG

English

South Africa

en_ZA

English

United Kingdom

en_GB

English

United States

en_US

Estonian

Estonia

et_EE

Finnish

Finland

fi_FI

French

Belgium

fr_BE

French

Canada

fr_CA

French

France

fr_FR

French

Luxembourg

fr_LU

French

Switzerland

fr_CH

German

Austria

de_AT

German

Germany

de_DE

German

Luxembourg

de_LU

German

Switzerland

de_CH

Greek

Cyprus

el_CY

Greek

Greece

el_GR

Hebrew

Israel

iw_IL

Hindi

India

hi_IN

Hungarian

Hungary

hu_HU

Icelandic

Iceland

is_IS

Indonesian

Indonesia

in_ID

Irish

Ireland

ga_IE

Italian

Italy

it_IT

Italian

Switzerland

it_CH

Japanese (Gregorian calendar)

Japan

ja_JP

Japanese (Imperial calendar)

Japan

ja_JP_JP

Korean

South Korea

ko_KR

Latvian

Latvia

lv_LV

Lithuanian

Lithuania

lt_LT

Macedonian

Macedonia

mk_MK

Malay

Malaysia

ms_MY

Maltese

Malta

mt_MT

Norwegian (Bokmål)

Norway

no_NO

Norwegian (Nynorsk)

Norway

no_NO_NY

Polish

Poland

pl_PL

Portuguese

Brazil

pt_BR

Portuguese

Portugal

pt_PT

Romanian

Romania

ro_RO

Russian

Russia

ru_RU

Serbian (Cyrillic)

Bosnia and Herzegovina

sr_BA

Serbian (Cyrillic)

Serbia and Montenegro

sr_CS

Serbian (Cyrillic)

Montenegro

sr_ME

Serbian (Cyrillic)

Serbia

sr_RS

Serbian (Latin)

Bosnia and Herzegovina

sr_Latn_BA

Serbian (Latin)

Montenegro

sr_Latn_ME

Serbian (Latin)

Serbia

sr_Latn_RS

Slovak

Slovakia

sk_SK

Slovenian

Slovenia

sl_SI

Spanish

Argentina

es_AR

Spanish

Bolivia

es_BO

Spanish

Chile

es_CL

Spanish

Colombia

es_CO

Spanish

Costa Rica

es_CR

Spanish

Dominican Republic

es_DO

Spanish

Ecuador

es_EC

Spanish

El Salvador

es_SV

Spanish

Guatemala

es_GT

Spanish

Honduras

es_HN

Spanish

Mexico

es_MX

Spanish

Nicaragua

es_NI

Spanish

Panama

es_PA

Spanish

Paraguay

es_PY

Spanish

Peru

es_PE

Spanish

Puerto Rico

es_PR

Spanish

Spain

es_ES

Spanish

United States

es_US

Spanish

Uruguay

es_UY

Spanish

Venezuela

es_VE

Swedish

Sweden

sv_SE

Thai (Western digits)

Thailand

th_TH

Thai (Thai digits)

Thailand

th_TH_TH

Turkish

Turkey

tr_TR

Ukrainian

Ukraine

uk_UA

Vietnamese

Vietnam

vi_VN

Additional resources for Locale can be found here: Oracle Locale List

Timezone Functionality:

Device Timezone is tracked via Advanced Segmentation as well. Here's a breakdown of the United State's Pacific, Mountain, Central, & Eastern Regions:

Pacific:

(broadcast AND ($timezone = "US/Pacific" or $timezone = "America/Los_Angeles" or $timezone = "America/Metlakatla"))

Mountain:

(broadcast AND ($timezone = "US/Mountain" or $timezone = "America/Denver" or $timezone = "America/Boise" or $timezone = "America/Shiprock" or $timezone = "America/Phoenix"))

Central:

(broadcast AND ($timezone = "US/Central" or $timezone = "America/Chicago" or $timezone = "America/Indiana/Tell_City" or $timezone = "America/Indiana/Knox" or $timezone = "America/Menominee" or $timezone = "America/North_Dakota/Center" or $timezone = "America/North_Dakota/New_Salem" or $timezone = "America/North_Dakota/Beulah"))

Eastern:

(broadcast AND ($timezone = "US/Eastern" or $timezone = "America/New_York" or $timezone = "America/Detroit" or $timezone = "America/Kentucky/Louisville" or $timezone = "America/Kentucky/Monticello" or $timezone = "America/Indiana/Indianapolis" or $timezone = "America/Indiana/Vincennes" or $timezone = "America/Indiana/Winamac" or $timezone = "America/Indiana/Marengo" or $timezone = "America/Indiana/Petersburg" or $timezone = "America/Indiana/Vevay"))

All US (Hawaii + Alaska Included):

(broadcast AND ($timezone = "US/Eastern" or $timezone = "America/New_York" or $timezone = "America/Detroit" or $timezone = "America/Kentucky/Louisville" or $timezone = "America/Kentucky/Monticello" or $timezone = "America/Indiana/Indianapolis" or $timezone = "America/Indiana/Vincennes" or $timezone = "America/Indiana/Winamac" or $timezone = "America/Indiana/Marengo" or $timezone = "America/Indiana/Petersburg" or $timezone = "America/Indiana/Vevay" or $timezone = "US/Central" or $timezone = "America/Chicago" or $timezone = "America/Indiana/Tell_City" or $timezone = "America/Indiana/Knox" or $timezone = "America/Menominee" or $timezone = "America/North_Dakota/Center" or $timezone = "America/North_Dakota/New_Salem" or $timezone = "America/North_Dakota/Beulah" or $timezone = "US/Mountain" or $timezone = "America/Denver" or $timezone = "America/Boise" or $timezone = "America/Shiprock" or $timezone = "America/Phoenix" or $timezone = "US/Pacific" or $timezone = "America/Los_Angeles" or $timezone = "America/Metlakatla" or $timezone = "US/Hawaii" or $timezone = "America/Adak" or $timezone = "Pacific/Honolulu" or $timezone = "US/Alaska" or $timezone = "America/Anchorage" or $timezone = "America/Juneau" or $timezone = "America/Sitka" or $timezone = "America/Yakutat" or $timezone = "America/Nome"))

Here's a complete list of every Timezone that can be recorded by the Push IO SDK as well.