simula-lab / simula-levantine-dates-for-arabic-sites

GNU General Public License v2.0
2 stars 0 forks source link
localization plugin wordpress wordpress-plugin

Simula Levantine Dates for Arabic Sites

License

Overview

A WordPress plugin developed by Simula Lab Ltd that gives the Arabic site admin the possibility to use Levantine Arabic Month Names in WordPress dates instead of (or in combination with) Modern Standard Arabic month names. It also allows for using Arabic-Indic numerals instead of Arabic numerals in WordPress dates and time. The plugin is also available to download from the official wordpress plugins directory here: https://wordpress.org/plugins/simula-levantine-dates-for-arabic-sites/

Features

Installation

Login as an admin, navigate to "Plugins" then click the "Add new plugin" button.\ Search for the plugin name in the search bar, as it is available in the wordpress.org public plugins directory then when you find it click on "Install Now".

or...

Download the plugin folder, compress the folder to a .zip file.\ Login as an admin, navigate to "Plugins" then click the "Add new plugin" button.\ Then click on "Upload Plugin", and upload the zip file, then click "Install Now"

Activate the plugin upon successful installation.

Usage

Make sure the plugin is activated, and that the language of the site is set to "العربية"

Navigate to "الإعدادات", then select "نسق التاريخ في بلاد الشام" from the settings sidebar menu.

Select an option of the available options for "خيارات نسق الشهور"

Check/Uncheck the "استخدم الأرقام الهندية"

Click "Save"

Make sure the desired effect can be observed in the format of dates and times of pages and posts and other site elements.

Example

Compare the "تم النشر في" of the following screenshots:

Before selecting Levantine Arabic month names and Arabic-Indic numerals:

example

After selecting Levantine Arabic month names and Arabic-Indic numberals:

example

Reporting bugs

Please create an issue for the bug, and try to be thourough. If possible include screenshots, and other important details such as WordPress version, PHP version, etc.

Contributing

Contributions are welcome!

When creating a pull request make sure to use the following template:

Change Summary
 - item one
 - item two
Related issue number
 - issue a
 - issue b
Checklist
  [ ] code is ready
  [ ] add tests
  [ ] all tests passing
  [ ] test coverage did not drop
  [ ] PR is ready for review

Upgrade on Wordpress.org Directory

License

The plugin was developed under the GPL-2.0 license: http://www.gnu.org/licenses/gpl-2.0.html.