{"id":136967,"date":"2021-02-25T08:39:04","date_gmt":"2021-02-25T08:39:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/number-to-bangla\/"},"modified":"2026-07-16T16:03:27","modified_gmt":"2026-07-16T16:03:27","slug":"number-to-bangla","status":"publish","type":"plugin","link":"https:\/\/gl.wordpress.org\/plugins\/number-to-bangla\/","author":16188609,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.0","stable_tag":"2.1.0","tested":"7.0.2","requires":"5.6","requires_php":"7.4","requires_plugins":null,"header_name":"Number to Bangla","header_author":"Md. Rakibul Islam","header_description":"Convert English numbers to Bangla number or Bangla text, Bangla month name and Bangla Money Format. Maximum possible number to covert in Bangla word is 999999999999999.","assets_banners_color":"64a392","last_updated":"2026-07-16 16:03:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/number-to-bangla\/","header_author_uri":"https:\/\/github.com\/rakibdevs","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1711,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"rkb007","date":"2023-04-02 12:10:13"},"1.1.0":{"tag":"1.1.0","author":"rkb007","date":"2023-04-05 04:07:17"},"2.0.0":{"tag":"2.0.0","author":"rkb007","date":"2026-06-27 17:56:51"},"2.1.0":{"tag":"2.1.0","author":"rkb007","date":"2026-07-16 16:03:27"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3588249,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3588249,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3588249,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3588249,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"ntb\/clock":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"ntb\/clock","version":"2.1.0","title":"Bangla Clock","category":"widgets","icon":"clock","description":"A live-updating clock showing the current time in Bangla digits.","keywords":["bangla","clock","time","bengali"],"textdomain":"number-to-bangla","attributes":{"showSeconds":{"type":"boolean","default":false}},"supports":{"html":false,"align":["left","center","right"]},"editorScript":"file:.\/build\/index.js","viewScript":"file:.\/build\/view.js"},"ntb\/converter":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"ntb\/converter","version":"2.1.0","title":"Number to Bangla","category":"widgets","icon":"translation","description":"Convert English numbers to Bangla digits, words, money, dates, months, seasons, ordinals and more.","keywords":["bangla","number","bengali","money","date"],"textdomain":"number-to-bangla","attributes":{"value":{"type":"string","default":""},"format":{"type":"string","default":"number"},"prefix":{"type":"string","default":""},"suffix":{"type":"string","default":""},"words":{"type":"boolean","default":false},"dateFormat":{"type":"string","default":"j F, Y"}},"supports":{"html":false,"align":["left","center","right"]},"editorScript":"file:.\/build\/index.js"}},"tagged_versions":["1.0.0","1.1.0","2.0.0","2.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3588249,"resolution":"1","location":"assets","locale":"","width":1440,"height":2017},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3588249,"resolution":"2","location":"assets","locale":"","width":1440,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3588249,"resolution":"3","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"All conversion formats rendered on the front-end with the <code>[ntb_num]<\/code> shortcode.","2":"The \"Number to Bangla\" block in the editor \u2014 value, format, prefix and suffix with a live preview.","3":"Inserting the \"Number to Bangla\" block from the block inserter."}},"plugin_section":[],"plugin_tags":[10944,10963,1358,3604,534],"plugin_category":[45],"plugin_contributors":[196667],"plugin_business_model":[],"class_list":["post-136967","plugin","type-plugin","status-publish","hentry","plugin_tags-bangla","plugin_tags-bengali","plugin_tags-date","plugin_tags-money","plugin_tags-number","plugin_category-ecommerce","plugin_contributors-rkb007","plugin_committers-rkb007"],"banners":{"banner":"https:\/\/ps.w.org\/number-to-bangla\/assets\/banner-772x250.png?rev=3588249","banner_2x":"https:\/\/ps.w.org\/number-to-bangla\/assets\/banner-1544x500.png?rev=3588249","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/number-to-bangla\/assets\/icon-128x128.png?rev=3588249","icon_2x":"https:\/\/ps.w.org\/number-to-bangla\/assets\/icon-256x256.png?rev=3588249","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/number-to-bangla\/assets\/screenshot-1.png?rev=3588249","caption":"All conversion formats rendered on the front-end with the <code>[ntb_num]<\/code> shortcode."},{"src":"https:\/\/ps.w.org\/number-to-bangla\/assets\/screenshot-2.png?rev=3588249","caption":"The \"Number to Bangla\" block in the editor \u2014 value, format, prefix and suffix with a live preview."},{"src":"https:\/\/ps.w.org\/number-to-bangla\/assets\/screenshot-3.png?rev=3588249","caption":"Inserting the \"Number to Bangla\" block from the block inserter."}],"raw_content":"<!--section=description-->\n<p>Number to Bangla converts English numbers into Bangla in many formats. Use it with the <code>[ntb_num]<\/code> shortcode, the \"Number to Bangla\" and \"Bangla Clock\" Gutenberg blocks, the REST API (including batch conversion), an Elementor dynamic tag, the <code>wp ntb convert<\/code> WP-CLI command, or directly from your theme with template helper functions.<\/p>\n\n<p>Supported formats:<\/p>\n\n<ul>\n<li><strong>number<\/strong> \u2014 English digits to Bangla digits (<code>111<\/code> \u2192 <code>\u09e7\u09e7\u09e7<\/code>)<\/li>\n<li><strong>word<\/strong> \u2014 Bangla words, with decimals and negatives (<code>1345.05<\/code> \u2192 <code>\u098f\u0995 \u09b9\u09be\u099c\u09be\u09b0 \u09a4\u09bf\u09a8 \u09b6\u09a4 \u09aa\u0981\u09af\u09bc\u09a4\u09be\u09b2\u09cd\u09b2\u09bf\u09b6 \u09a6\u09b6\u09ae\u09bf\u0995 \u09b6\u09c2\u09a8\u09cd\u09af \u09aa\u09be\u0981\u099a<\/code>)<\/li>\n<li><strong>money<\/strong> \u2014 Taka\/Poisha words (<code>1345.50<\/code> \u2192 <code>\u098f\u0995 \u09b9\u09be\u099c\u09be\u09b0 \u09a4\u09bf\u09a8 \u09b6\u09a4 \u09aa\u0981\u09af\u09bc\u09a4\u09be\u09b2\u09cd\u09b2\u09bf\u09b6 \u099f\u09be\u0995\u09be \u09aa\u099e\u09cd\u099a\u09be\u09b6 \u09aa\u09af\u09bc\u09b8\u09be<\/code>)<\/li>\n<li><strong>comma<\/strong> \u2014 lakh-grouped commas (<code>121212121<\/code> \u2192 <code>\u09e7\u09e8,\u09e7\u09e8,\u09e7\u09e8,\u09e7\u09e8\u09e7<\/code>)<\/li>\n<li><strong>percentage<\/strong> \u2014 <code>75<\/code> \u2192 <code>\u09ed\u09eb \u09b6\u09a4\u09be\u0982\u09b6<\/code> (add <code>words=\"true\"<\/code> for spelled-out)<\/li>\n<li><strong>month<\/strong> \u2014 Gregorian month name (<code>12<\/code> \u2192 <code>\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0<\/code>)<\/li>\n<li><strong>bengali-month<\/strong> \u2014 Bengali calendar month (<code>1<\/code> \u2192 <code>\u09ac\u09c8\u09b6\u09be\u0996<\/code>)<\/li>\n<li><strong>bengali-date<\/strong> \u2014 full reformed Bangla calendar date (<code>2024-04-14<\/code> \u2192 <code>\u09e7 \u09ac\u09c8\u09b6\u09be\u0996, \u09e7\u09ea\u09e9\u09e7<\/code>)<\/li>\n<li><strong>season<\/strong> \u2014 Bengali season (<code>1<\/code> \u2192 <code>\u0997\u09cd\u09b0\u09c0\u09b7\u09cd\u09ae<\/code>)<\/li>\n<li><strong>day<\/strong> \u2014 weekday from number or English name (<code>monday<\/code> \u2192 <code>\u09b8\u09cb\u09ae\u09ac\u09be\u09b0<\/code>)<\/li>\n<li><strong>date<\/strong> \u2014 formatted Bangla date (<code>2024-01-15<\/code> \u2192 <code>\u09e7\u09eb \u099c\u09be\u09a8\u09c1\u09af\u09bc\u09be\u09b0\u09bf, \u09e8\u09e6\u09e8\u09ea<\/code>)<\/li>\n<li><strong>week<\/strong> \u2014 ISO week number in Bangla digits (<code>2024-01-01<\/code> \u2192 <code>\u09e7<\/code>)<\/li>\n<li><strong>time<\/strong> \u2014 clock or spoken time (<code>14:30<\/code> \u2192 <code>\u09e7\u09ea:\u09e9\u09e6<\/code>, or words \u2192 <code>\u09a6\u09c1\u09aa\u09c1\u09b0 \u09a6\u09c1\u0987\u099f\u09be \u09a4\u09cd\u09b0\u09bf\u09b6 \u09ae\u09bf\u09a8\u09bf\u099f<\/code>)<\/li>\n<li><strong>duration<\/strong> \u2014 seconds to Bangla (<code>3665<\/code> \u2192 <code>\u09e7 \u0998\u09a3\u09cd\u099f\u09be \u09e7 \u09ae\u09bf\u09a8\u09bf\u099f \u09eb \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1<\/code>)<\/li>\n<li><strong>age<\/strong> \u2014 age from a birth date (<code>1990-01-15<\/code> \u2192 <code>\u09e9\u09eb \u09ac\u099b\u09b0 \u2026<\/code>)<\/li>\n<li><strong>ordinal<\/strong> \u2014 Bangla ordinals (<code>1<\/code> \u2192 <code>\u09e7\u09ae<\/code>, <code>25<\/code> \u2192 <code>\u09e8\u09eb\u09a4\u09ae<\/code>)<\/li>\n<li><strong>parse<\/strong> \u2014 reverse: Bangla digits to English (<code>\u09e7\u09e8\u09e9\u09ea\u09eb<\/code> \u2192 <code>12345<\/code>)<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Shortcode:<\/p>\n\n<pre><code>[ntb_num value=\"111\" format=\"word\"] \u2192 `\u098f\u0995 \u09b6\u09a4 \u098f\u0997\u09be\u09b0\u09cb`\n<\/code><\/pre>\n\n<p>Optional attributes: <code>prefix<\/code>, <code>suffix<\/code>, <code>words<\/code> (for percentage\/time), <code>date_format<\/code> (for date), <code>as_of<\/code> (for age).<\/p>\n\n<pre><code>[ntb_num value=\"2024-01-15\" format=\"date\" date_format=\"d\/m\/Y\"] \u2192 `\u09e7\u09eb\/\u09e6\u09e7\/\u09e8\u09e6\u09e8\u09ea`\n[ntb_num value=\"123\" format=\"ordinal\" prefix=\"\u0985\u09ac\u09b8\u09cd\u09a5\u09be\u09a8: \"] \u2192 `\u0985\u09ac\u09b8\u09cd\u09a5\u09be\u09a8: \u09e7\u09e8\u09e9\u09a4\u09ae`\n<\/code><\/pre>\n\n<p>Blocks:\nAdd the \"Number to Bangla\" block in the editor and choose a value and format. Output is rendered live. The \"Bangla Clock\" block shows a live-ticking clock in Bangla digits (optionally with seconds).<\/p>\n\n<p>REST API:\n    GET \/wp-json\/ntb\/v1\/convert?value=1345.50&amp;format=money<\/p>\n\n<p>Convert several values in one request with the batch endpoint (max 100 items):<\/p>\n\n<pre><code>POST \/wp-json\/ntb\/v1\/batch\n{\"items\":[{\"value\":\"111\",\"format\":\"word\"},{\"value\":\"2024-01-15\",\"format\":\"bengali-date\"}]}\n<\/code><\/pre>\n\n<p>WP-CLI:\n    wp ntb convert 111 --format=word\n    wp ntb convert 2024-01-15 --format=bengali-date<\/p>\n\n<p>Elementor:\nWhen Elementor is active, a \"Number to Bangla\" dynamic tag is available under the Text category for any text field.<\/p>\n\n<p>Template helpers (PHP):\n    ntb_to_word( 111 ), <code>ntb_to_number( 111 )<\/code>, <code>ntb_to_money( 1345.50 )<\/code>, <code>ntb_to_date( '2024-01-15' )<\/code>, <code>ntb_to_bengali_date( '2024-01-15' )<\/code>, <code>ntb_week_number( '2024-01-15' )<\/code>, <code>ntb_ordinal( 25 )<\/code>, and the generic <code>ntb_convert( $value, $format, $args )<\/code>.<\/p>\n\n<p>Developers can filter output via the <code>ntb_convert_output<\/code> filter.<\/p>\n\n<!--section=installation-->\n<p>INSTALLATION FROM WITHIN WORDPRESS\n- Visit Plugins &gt; Add New.\n- Search for \"Number to Bangla\".\n- Install and activate \"Number to Bangla\".<\/p>\n\n<p>MANUAL INSTALLATION\n- Upload the entire \"number-to-bangla\" folder to the \/wp-content\/plugins\/ directory.\n- Visit Plugins.\n- Activate \"Number to Bangla\" plugin.<\/p>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Compatibility: tested up to WordPress 7.0.1.<\/li>\n<li>New formats: <code>bengali-date<\/code> (full reformed Bangla calendar date, day\/month\/year) and <code>week<\/code> (ISO week number).<\/li>\n<li>New \"Bangla Clock\" block: a live-ticking clock in Bangla digits, updating client-side every second.<\/li>\n<li>New REST endpoint <code>POST ntb\/v1\/batch<\/code> to convert up to 100 values in a single request.<\/li>\n<li>New WP-CLI command: <code>wp ntb convert &lt;value&gt; --format=&lt;format&gt;<\/code>.<\/li>\n<li>New Elementor dynamic tag (\"Number to Bangla\") available when Elementor is active.<\/li>\n<li>New template helpers: <code>ntb_to_bengali_date()<\/code>, <code>ntb_week_number()<\/code>.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Compatibility: tested up to WordPress 7.0; raised \"Requires at least\" to 5.6 (matches the block editor APIs used).<\/li>\n<li>Fixed timezone-sensitive date\/time conversion by parsing dates with DateTime in UTC instead of the runtime-dependent date() function.<\/li>\n<li>Removed the manual text-domain loading call; WordPress loads translations automatically for the matching plugin slug (4.6+).<\/li>\n<li>Lowered the maximum convertible number to 999,999,999 (was 999,999,999,999,999): values at or above 1 arab produced non-idiomatic Bangla word output (\"X \u0995\u09cb\u099f\u09bf Y \u0995\u09cb\u099f\u09bf ...\").<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>New formats: percentage, bengali-month, season, day, date, time, duration, age, ordinal, and reverse parse.<\/li>\n<li>New \"Number to Bangla\" Gutenberg block with live preview.<\/li>\n<li>New REST API endpoint <code>ntb\/v1\/convert<\/code>.<\/li>\n<li>New template helper functions and the <code>ntb_convert_output<\/code> filter.<\/li>\n<li>New shortcode attributes: prefix, suffix, words, date_format, as_of.<\/li>\n<li>Refactored into an <code>includes\/<\/code> structure; added ABSPATH guards, output escaping and attribute sanitization.<\/li>\n<li>Added i18n (text domain loading + translation template).<\/li>\n<li>Fixed trailing spaces in word output and added negative-number support (\u098b\u09a3\u09be\u09a4\u09cd\u09ae\u0995).<\/li>\n<li>Fixed Gutenberg block registration in the editor (declared script dependencies) and preserved spaces in prefix\/suffix.<\/li>\n<li>Added PHPUnit test suite.<\/li>\n<li>Bumped: Requires PHP 7.4, Tested up to 6.5.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Refactored conversion methods; decimal and money handling improvements.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: number, word, money, month and comma formats via the <code>[ntb_num]<\/code> shortcode.<\/li>\n<\/ul>","raw_excerpt":"Convert English numbers to Bangla digits, words, money, dates, ordinals and more \u2014 via shortcode, block, REST API, WP-CLI or PHP helpers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/136967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=136967"}],"author":[{"embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rkb007"}],"wp:attachment":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=136967"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=136967"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=136967"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=136967"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=136967"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=136967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}