plugin-icon

Number to Bangla

Convert English numbers to Bangla digits, words, money, dates, ordinals and more — via shortcode, block, REST API or PHP helpers.
דירוגים
5
גרסה
2.0.0
התקנות פעילות
10
עודכן לאחרונה
Jun 27, 2026
Number to Bangla

Number to Bangla converts English numbers into Bangla in many formats. Use it with the [ntb_num] shortcode, the "Number to Bangla" Gutenberg block, the REST API, or directly from your theme with template helper functions.

Supported formats:

  • number — English digits to Bangla digits (111 ১১১)
  • word — Bangla words, with decimals and negatives (1345.05 এক হাজার তিন শত পঁয়তাল্লিশ দশমিক শূন্য পাঁচ)
  • money — Taka/Poisha words (1345.50 এক হাজার তিন শত পঁয়তাল্লিশ টাকা পঞ্চাশ পয়সা)
  • comma — lakh-grouped commas (121212121 ১২,১২,১২,১২১)
  • percentage75 ৭৫ শতাংশ (add words="true" for spelled-out)
  • month — Gregorian month name (12 ডিসেম্বর)
  • bengali-month — Bengali calendar month (1 বৈশাখ)
  • season — Bengali season (1 গ্রীষ্ম)
  • day — weekday from number or English name (monday সোমবার)
  • date — formatted Bangla date (2024-01-15 ১৫ জানুয়ারি, ২০২৪)
  • time — clock or spoken time (14:30 ১৪:৩০, or words দুপুর দুইটা ত্রিশ মিনিট)
  • duration — seconds to Bangla (3665 ১ ঘণ্টা ১ মিনিট ৫ সেকেন্ড)
  • age — age from a birth date (1990-01-15 ৩৫ বছর …)
  • ordinal — Bangla ordinals (1 ১ম, 25 ২৫তম)
  • parse — reverse: Bangla digits to English (১২৩৪৫ 12345)

Usage

Shortcode:

[ntb_num value="111" format="word"] `এক শত এগারো`

Optional attributes: prefix, suffix, words (for percentage/time), date_format (for date), as_of (for age).

[ntb_num value="2024-01-15" format="date" date_format="d/m/Y"] `১৫/০১/২০২৪` [ntb_num value="123" format="ordinal" prefix="অবস্থান: "] `অবস্থান: ১২৩তম`

Block: Add the "Number to Bangla" block in the editor and choose a value and format. Output is rendered live.

REST API: GET /wp-json/ntb/v1/convert?value=1345.50&format=money

Template helpers (PHP): ntb_to_word( 111 ), ntb_to_number( 111 ), ntb_to_money( 1345.50 ), ntb_to_date( '2024-01-15' ), ntb_ordinal( 25 ), and the generic ntb_convert( $value, $format, $args ).

Developers can filter output via the ntb_convert_output filter.

חינםבתוכניות בתשלום
בביצוע ההתקנה, אנחנו מקבלים את הסכמתך לתנאי השירות של WordPress.com ולתנאים של התוסף של הצד השלישי.
נבדקו עד
WordPress 6.5.8
תוסף זה זמין להורדה ולשימוש דרך שברשותך.