=== Plugin Name === Contributors: Sajid Muhaimin Choudhury Donate link: http://sajidmc.net/ Tags: multilingual, internationalization, bangla, date, calender localization Requires at least: 2.2.0 Tested up to: 2.7.1 Stable tag: 1.1 Convert English Dates to Bangla Dates, based on Dr. Muhammed Shahidullah's Bangla Calender approved by People's Rebublic of Bangladesh. Plugin autodetects the language, and displays Bangla / English version of the date. == Description == Convert English Dates to Bangla Dates, based on Dr. Muhammed Shahidullah's Bangla Calender approved by People's Rebublic of Bangladesh. Plugin autodetects the language, and displays Bangla / English version of the date. This program was written back in 2001 in qbasic. The month names were in English Later in 2003 it was ported to visual basic. I didn't know how to use unicode, and used bijoy scripts for it. As I learnt about wp plugin system more, i decided to port it to Wordpress. Now I have Bangla Unicode, and thus can use it. The plugin enables some functions that can be used to insert a bengali date, either in transliterated English, or in Bangla Unicode in anywhere of a wordpress blog. == Functions == = bongabdo($inputdate) = Convert English Dates to Bangla Dates. Call the function `bongabdo($indate)` any where in your template to return the Bangla Date. $indate can be left blank. Otherwise it must be a date in the format of php `'d-M-Y'` (DD-MM-YYYY) = number2bengunicode($content) = Derived from a function written by Hasyn Haider of ekushey.org. This function converts roman numbers to Bangla Unicode numbers. = the_bongabdodate() = a replacement for the `the_date()` wordpress function = get_the_bongabdodate() = a replacement for the `get_the_date()` wordpress function = is_beng() = returns true if the current language is Bengali. == Installation == 1. Upload `bongabdo.php` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress 1. Edit the theme's pages (index.php, single.php, archive.php), and after a `the_date()` or `the_time()` function, add the code `` == Frequently Asked Questions == = Why does the plugin show date in latin alphabet in my blog? = The plugin is programmed to detect the current language of the blog, and only if the current language is `bn_BD`, `bn_IN` or any `bn_XX`, (i. e. Bengali), the date will be shown with Bengali alphabets, otherwise, the date will be shown in Latin alphabet. To set language of your blog, edit the `wp-config.php` file. Add the following lines there: `define('DB_CHARSET', 'utf8');` `define('WPLANG', 'bn_BD');` = Can I force the plugin to show Bangla Date in my blog? = Yes, with hacking. Uncomment line no 181 of the plugin. = How do I insert current date somewhere? = Place `` where you want the Bangla Date to appear. = How do I show Bangla Unicode date? = To show Bangla Unicode date, the current language of blog must be Bangla (`bn_BD`) or (`bn_IN`), (See above); = Can it be used with multilingual sites? = Yes, partially. I'm using it with qTranslate. (http://www.sajidmc.net) It outputs date in English if the current language is not Bangla. On later versions, I'll release a full gettext supported plugin. = Does this calender support Indian Calender? = No == Screenshots == 1. This is the Category layout after applying the hook. Notice the **8th Falgun** writing appearing after the English date in Bengali Language. qTranslate is being used 2. Notice the **8th Falgun** automatically changes to English/Latin script as the current language is not Bangla