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

adding the arabic language support #366

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
246 changes: 246 additions & 0 deletions library/src/main/res/values-ar/arrays.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,246 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Recurrence picker: How events are to be repeated. [CHAR LIMIT = 20] -->
<string-array name="recurrence_freq">
<item>كرر في كل ساعة</item>
<item>كرر يومياً</item>
<item>كرر أسبوعياً</item>
<item>كرر شهرياً</item>
<item>كرر سنوياً</item>
</string-array>

<!-- The following sets of strings describe a monthly recurring event, which will repeat
on the Nth WEEKDAY of every month. For example, the 3rd Monday of every month, or
the last Sunday. These are set up like this to resolve any gender-matching issues
that were present in some languages.
-->
<!-- Repeat a monthly event on the same nth day of every Sunday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_sun">
<item >في كل أول أحّد</item>
<item >في كل ثاني أحّد</item>
<item >في كل ثالث أحّد</item>
<item >في كل رابع أحّد</item>
<item >في كل آخر أحّد</item>
</string-array>
<!-- Repeat a monthly event on the same nth day of every Monday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_mon">
<item >في كل أول اثنين</item>
<item >في كل ثاني اثنين</item>
<item >في كل ثالث اثنين</item>
<item >في كل رابع اثنين</item>
<item >في كل آخر اثنين</item>
</string-array>
<!-- Repeat a monthly event on the same nth day of every Tuesday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_tues">
<item >في كل أول ثلاثاء</item>
<item >في كل ثاني ثلاثاء</item>
<item >في كل ثالث ثلاثاء</item>
<item >في كل رابع ثلاثاء</item>
<item >في كل آخر ثلاثاء</item>
</string-array>
<!-- Repeat a monthly event on the same nth day of every Wednesday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_wed">
<item >في كل أول أربعاء</item>
<item >في كل ثاني أربعاء</item>
<item >في كل ثالث أربعاء</item>
<item >في كل رابع أربعاء</item>
<item >في كل آخر أربعاء</item>
</string-array>
<!-- Repeat a monthly event on the same nth day of every Thursday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_thurs">
<item >في كل أول خميس</item>
<item >في كل ثاني خميس</item>
<item >في كل ثالث خميس</item>
<item >في كل رابع خميس</item>
<item >في كل آخر خميس</item>
</string-array>
<!-- Repeat a monthly event on the same nth day of every Friday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_fri">
<item >في كل أول جمعة</item>
<item >في كل ثاني جمعة</item>
<item >في كل ثالث جمعة</item>
<item >في كل رابع جمعة</item>
<item >في كل آخر جمعة</item>
</string-array>
<!-- Repeat a monthly event on the same nth day of every Saturday. [CHAR LIMIT=30] -->
<string-array name="repeat_by_nth_sat">
<item >في كل أول سبت</item>
<item >في كل ثاني سبت</item>
<item >في كل ثالث سبت</item>
<item >في كل رابع سبت</item>
<item >في كل آخر سبت</item>
</string-array>

<!--
Timezone IDs for the time zones that we want to override the display strings.
ALWAYS ADD NEW ENTRIES AT THE END. Othewise the entries after the insertion point will
not match for languages that didn't get the translations.
-->
<string-array name="timezone_rename_ids" translatable="false">

<!-- Australia -->
<item>"Australia/Darwin"</item>
<item>"Australia/Adelaide"</item>
<item>"Australia/Brisbane"</item>
<item>"Australia/Sydney"</item>

<!-- Canada -->
<!-- Non DST version -->
<item>"America/Dawson_Creek"</item>
<!-- Non DST version -->
<item>"America/Regina"</item>
<!-- Non DST version -->
<item>"America/Atikokan"</item>
<!-- Non DST version -->
<item>"America/Blanc-Sablon"</item>

<!-- US -->
<!-- Non DST version -->
<item>"Pacific/Honolulu"</item>
<!-- DST version -->
<item>"America/Adak"</item>
<!-- Non DST version -->
<item>"America/Metlakatla"</item>
<!-- Non DST version -->
<item>"America/Phoenix"</item>

<!-- Mexico -->
<!-- DST version with post-2006 US rule -->
<item>"America/Tijuana"</item>
<!-- DST version with post-2006 US rule -->
<item>"America/Ojinaga"</item>
<!-- DST version with post-2006 US rule -->
<item>"America/Matamoros"</item>
<!-- Non DST version -->
<item>"America/Hermosillo"</item>

<!-- Other time zones with missing labels from the framework -->
<!-- Missing string in ICS -->
<item>"Africa/Juba"</item>
<!-- Missing string in ICS -->
<item>"America/Kralendijk"</item>
<!-- Missing string in ICS -->
<item>"America/Lower_Princes"</item>
<!-- Only had GMT as the display string -->
<item>"Europe/Minsk"</item>
<!-- Only had GMT as the display string -->
<item>"Europe/Kaliningrad"</item>

<!-- Brazil -->
<!-- Non DST version -->
<item>"America/Porto_Velho"</item>
<!-- Non DST version -->
<item>"America/Belem"</item>

<!-- The Arab World -->
<item>"Syria/Damascus"</item>
<item>"Palestine/Alquds"</item>
<item>"Egypt/Cairo"</item>
<item>"Jordan/Amman"</item>
<item>"Lebanon/Beirut"</item>
<item>"Iraq/Baghdad"</item>
<item>"Saudi/Riyadh"</item>
<item>"Kuwait/Kuwait"</item>
<item>"Bahrain/Manama"</item>
<item>"Qatar/Doha"</item>
<item>"UnitedArabEmirates/AbuDhabi"</item>
<item>"Yemen/Sanaa"</item>
<item>"Oman/Musccat"</item>
<item>"Algeria/Algiers"</item>
<item>"Libya/Tripoli"</item>
<item>"Morocco/Rabat"</item>
<item>"Tunisia/Tunis"</item>

</string-array>

<!--
Replacement display strings for time zones. The order should match the entries in
timezone_rename_ids
ALWAYS ADD NEW ENTRIES AT THE END. Othewise the array will not be the same size until
all the translations are available. [CHAR LIMIT=32]
-->
<string-array name="timezone_rename_labels">

<!-- Australia -->
<item>"Australian Central - NT"</item>
<item>"Australian Central - SA"</item>
<item>"Australian Eastern - QLD"</item>
<item>"Australian Eastern - NSW"</item>

<!-- Canada -->
<item>"Mountain Standard - Dawson Creek"</item>
<item>"Central Standard - Saskatchewan"</item>
<item>"Eastern Standard - Atikokan"</item>
<item>"Atlantic Standard - Quebec"</item>

<!-- US -->
<item>"Hawaii-Aleutian - Hawaii"</item>
<item>"Hawaii-Aleutian - Alaska"</item>
<item>"Pacific Standard - Metlakatla"</item>
<item>"Mountain Standard - Arizona"</item>

<!-- Mexico -->
<item>"Pacific - Baja California"</item>
<item>"Mountain - Chihuahua"</item>
<item>"Central - Tamaulipas"</item>
<item>"Mountain - Sonora"</item>

<!-- Other countries with missing or undesirable labels from the framework -->
<item>"East Africa Time"</item>
<item>"Atlantic Standard Time"</item>
<item>"Atlantic Standard Time"</item>
<item>"Eastern European Time"</item>
<item>"Kaliningrad Time"</item>

<!-- Brazil -->
<!-- Non DST version of Amazon Standard Time -->
<item>"Amazon - Rondônia"</item>
<!-- Non DST version of Brasilia Standard Time -->
<item>"Brasilia - Pará"</item>

<!-- The Arab World -->
<item>"Syria - Damascus"</item>
<item>"Palestine - Alquds"</item>
<item>"Egypt - Cairo"</item>
<item>"Jordan - Amman"</item>
<item>"Lebanon - Beirut"</item>
<item>"Iraq - Baghdad"</item>
<item>"Saudi - Riyadh"</item>
<item>"Kuwait - Kuwait"</item>
<item>"Bahrain - Manama"</item>
<item>"Qatar - Doha"</item>
<item>"UnitedArabEmirates - AbuDhabi"</item>
<item>"Yemen - Sanaa"</item>
<item>"Oman - Musccat"</item>
<item>"Algeria - Algiers"</item>
<item>"Libya - Tripoli"</item>
<item>"Morocco - Rabat"</item>
<item>"Tunisia - Tunis"</item>
</string-array>

<!--
Country codes
The order should match the entries in backup_country_names
ALWAYS ADD NEW ENTRIES AT THE END. Othewise the entries after the insertion point will
not match for languages that didn't get the translations.
-->
<string-array name="backup_country_codes" translatable="false">
<item>"SX"</item>
<item>"BQ"</item>
<item>"CW"</item>
<item>"SS"</item>
</string-array>

<!--
Display strings for country names. Used only if framework doesn't have translated
country names. The order should match the entries in backup_country_codes
ALWAYS ADD NEW ENTRIES AT THE END. Othewise the array will not be the same size until
all the translations are available. [CHAR LIMIT=32]
-->
<string-array name="backup_country_names">
<item>"Sint Maarten"</item>
<item>"Caribbean Netherlands"</item>
<item>"Curaçao"</item>
<item>"South Sudan"</item>
</string-array>
</resources>