Documentation
From Ankur
Here you will get some documentation on basic Bangla related issues for your Operating System(s).
Contents |
About Bangla Characters
- স্বরবর্ণ (১১টি): অ,আ,ই,ঈ,উ,উ,ঋ,এ,ঐ,ও,ঔ
পূর্ণমাত্রাযুক্ত স্বরবর্ণ ৬টি, যথা: অ,আ,ই,ঈ,উ,ঊ অর্ধমাত্রাযুক্ত স্বরবর্ণ ১টি, যথা: ঋ মাত্রা ছাড়া স্বরবর্ণ ৪টি, যথা: এ,ঐ,ও,ঔ
- স্বরচিহ্ন (১০টি): া,ি,ী,ু,ূ,ৃ,ে,ৈ,ো,ৌ
- ব্যঞ্জনবর্ণ (৩৯টি): ক,খ,গ,ঘ,ঙ,চ,ছ,জ,ঝ,ঞ,ট,ঠ,ড,ঢ,ণ,ত,থ,দ,ধ,ন,প,ফ,ব,ভ,ম,য,র,ল,শ,ষ,স,হ,ড়,ঢ়,য়,ৎ,ং,ঃ,ঁ
পূর্ণমাত্রাযুক্ত ব্যঞ্জনবর্ণ ২৬টি, যথা: ক,ঘ,চ,ছ,জ,ঝ,ট,ঠ,ড,ঢ,ত,দ,ন,ফ,ব,ভ,ম,য,র,ল,ষ,স,হ,ড়,ঢ়,য় অর্ধমাত্রাযুক্ত ব্যঞ্জনবর্ণ ৭টি, যথা: খ,গ,ণ,থ,ধ,প,শ মাত্রা ছাড়া ব্যঞ্জনবর্ণ ৬টি, যথা: ঙ,ঞ,ৎ,ং,ঃ,ঁ
- সংখ্যা (১০টি): ১,২,৩,৪,৫,৬,৭,৮,৯,০
- বাংলাদেশের সাধারন বর্ণানুক্রম:
- অ আ ই ঈ উ ঊ ঋ এ ঐ ও ঔ
- ক খ গ ঘ ঙ
- চ ছ জ ঝ ঞ
- ট ঠ ড ঢ ণ
- ত থ দ ধ ন
- প ফ ব ভ ম
- য র ল শ ষ
- স হ ড় ঢ় য়
- ৎ ং ঃ ঁ
- বাংলাদেশের বাংলা একাডেমী ব্যবহারিক বাংলা অবিধানে (ISBN 984-07-4642-1) অনুসৃত বর্ণানুক্রম:
- অ আ ই ঈ উ ঊ ঋ এ ঐ ও ঔ ং ঃ ঁ
- ক খ গ ঘ ঙ
- চ ছ জ ঝ ঞ
- ট ঠ ড (ড়) ঢ (ঢ়) ণ
- ত (ৎ) থ দ ধ ন
- প ফ ব ভ ম
- য (য়) র ল শ ষ স হ
Enabling Bangla
GNU/Linux
Following instructions are for Ubuntu 7.10:
- Click on GNOME menu's System > Administration > Language Support >
- For new installation of Ubuntu, it will inform that some packages are not installed for current Language support, with "Remind Me Later" and "Install Now".
- After responding the above message, Check "Bengali; Bangla" in the Supported language box. Then press Apply.
- It will start downloading required packages.
- Press, Done. Then OK.
- Now logout.
- In GDM, Click Options > Select Language... > Select, Bengali, from the Drop list > Press, Change Language.
- Press, Yes, to reload the GDM in Bengali [ie. bn_BD] locale.
- Now, login with your username and password.
- GNOME desktop should appear in Bengali.
Mac OS X
As we have tested in Mac OS X v10.4, it seems only installing Bangla fonts will do the job. Check Bangla fonts from Ekushey team developed for Mac.
Windows
Click, Start > Settings > Control Panel > Regional and Language Options > Languages > Check, "Install files for complex script and right-to-left languages (including Thai)" > Apply.
It will ask for the Windows Installer CD.
Bangla Fonts
Bangla Input Systems / Keyboard
GNU/Linux
GNOME
Following instructions are for GNOME 2.20.x:
Right click on your "GNOME Panel" > Add to Panel > Utilities > Keyboard Indicator > Add > Close.
Now, Right click on the "Keyboard Indicator" on your "GNOME Panel" > Click "Keyboard Preferences" > Layouts > Add > Select "Layouts: Bangladesh" and "Variants: Default" or "Variants: Probhat" > Add > Close.
Selecting "Variants: Default" will install National Keyboard Layout and "Variants: Probhat" will install Probhat Keyboard Layout.
Now you can toggle between Bangla and other installed keyboard layouts in your system.
KDE
Instruction for KDE version 3.5.x:
Click KDE menu > Control Center > Regional & Accessibility > Keyboard Layout
Check the "Enable Keyboard Layouts" check box. Click on "Bangladesh" from the "Available layouts:" section, then Click "Add >>" button in the right pane. Now from the "Layout variant:" drop list, select "Probhat". Press Apply.
In the "Xkb Options" tab, select "Enable xkb options", and then in the "Xkb Options" list below, you can check both alt keys together to change layout. Now when you press both the alt keys together, keyboard layout will be changed and you can type in Bangla. You can also select other options - depending on your needs.
XFCE
Add the "XkbLayout Option" to the /etc/X11/xorg.conf file as root. Here is an example if you want to use English and Bangla keyboard-settings:
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,bd(probhat)"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
Now restart your X server by pressing CTRL+ALT+Backspace to make the change effective.
Alt+Shift combination switches between the layouts. You may use instead of alt_shift_toggle many other options like ctrl_shift_toggle, shifts_toggle, ctrl_alt_toggle, lwin_toggle, rctrl_toggle etc.
xfce4-xkb-plugin is a handy plugin for Xfce panel for graphical representation of the selected layout and allows to change it with mouse or other pointing device.
Mac OS X
- Installation:
- Download and install the Probhat layout file from http://www.ankur.org.bd/downloads/probhat/probhat_mac_os_1.0.dmg
- Usage:
- Go to "System Preferences" > "International" > "Input Menu" scroll down and make sure that "Probhat" is checked.
- Make sure Show input menu in menu bar is checked, default English layout will be highlighted in the menu bar.
- Now click on "Keyboard Shortcuts" and in the "Input Menu" section put your desired keyboard shortcut that will enable you to change the keyboard layout (Our choice was Alt+Space).
- Now while typing in any application, pressing Alt+Space will switch to Probhat Layout and Probhat layout symbol will be highlighted in the menu bar.
Windows
- Download Probhat Bangla layout from http://www.ankur.org.bd/downloads/probhat/probhat_win32_1.4.zip and install it.
- Now change the following settings:
- Go to Control Panel> Regional and Language Options.
- Select Language tab and click on Details.
- Click the Add button, you will see the list of input languages. Select Bengali(India).Click OK.
- Select keyboard under the Bengali(India) and then again click Add button.
- Select Keyboard layout/IME and from the list select Bangla Probhat Layout and click OK.
- Click Apply and then OK.
- You must have Unicode based Bangla font(s):
- Download one from Bangla Fonts section.
- Install the downloaded font(s) from Control Panel> Fonts.
- Now select Bengali(India) from the language tool bar and start typing in Bangla.
Keyboard Layouts
National
This is the National or Jatiyo Keyboard layout of Bangladesh. Please check URLs below to know more about the layout.
- National Keyboard Layout
- Download the Installer.
- BSTI Keyboard Specification in PDF and DOC format.
Probhat
Probhat is a semi-phonetic keyboard. You can get the layout here:
- Click here for installation under GNU/Linux, Mac OS X and Windows.
- Probhat Layout - Updated on August 14, 2007.
- Old Probhat Layout.
Bangla Spell Checking How-to
Mozilla Firefox
- Start Firefox 2.x or newer with enabling spell check option. {Tools > Options > Advanced > General > Check my spelling as I type}
- To install Bangla spell checking extension, click bn-BD_dictionary_0.02.xpi (328K)
- Firefox will pop-up a warning dialog box
- Allow "www.ankur.org.bd" to install the extension
- Click again on the link, it will download and install the extension.
- After restarting Firefox, there will be a sub-menu named "Bengali" when you right click on a text box or text area under "Languages" menu.
- Click "Bengali" to start spell check for Bangla. By default "English/United States" might be checked.
- It will highlight the words which are not currently included in the Bangla dictionary.
- Right clicking on the highlighted word, will suggest correct spellings.
- You can click on the suggested words, which will replace the highlighted word or add that as a new word in the dictionary. So it will not be highlighted next time.
- In GNU/Linux, the new word list will be stored in, "/home/<username>/.mozilla/firefox/<profileid>/persdict.dat"
- In Windows, it will be stored in, "C:\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles\<profileid>\persdict.dat"
- You can donate us your "persdict.dat" file at donate@ankur.org.bd. So we can include new Bangla words for next release.
Mozilla Thunderbird (Similar to Firefox)
- Start Thunderbird 2.x or newer with enabling spell check option. {Tools > Options > Composition > Spelling > Enable spell check as you type}
- Download the extension from bn-BD_dictionary_0.02.xpi (328K)
- To install, click "Tools > Add-ons > Install >" and locate the bn-BD_dictionary_0.02.xpi file
- Enable Bangla spell checking by, Tools > Options > Compsition > Spelling > Language: bn-BD
- The new word list will be stored at:
- In GNU/Linux, the new word list will be stored in, "/home/<username>/.mozilla/thunderbird/<profileid>/persdict.dat"
- In Windows, "C:\Documents and Settings\<username>\Application Data\Thunderbird\Profiles\<profileid>\persdict.dat"
- You can donate us your "persdict.dat" file at donate@ankur.org.bd. So we can include new Bangla words for next release.
OpenOffice.org
- Installation
- Download hunspell-bn-BD-0.02.tar.bz2
- Extract and copy "bn_BD.aff" & "bn_BD.dic" files from the archive into
- "/usr/lib/openoffice/share/dict/ooo/" both in Debian GNU/Linux (unstable) and Ubuntu 7.10
- "{OpenOffice.org installed folder}\share\dict\ooo\" in Windows
- Open the "dictionary.lst" file from the above "dict/ooo" folder with any text editor
- Add "DICT bn BD bn_BD" line in the "dictionary.lst" file.
- When finished, restart OpenOffice.org and the OpenOffice.org QuickStarter - if it was running.
- {In Windows version} The edited "dictionary.lst" file (the bn_BD part) might look like:
HYPH af ZA hyph_af_ZA HYPH af NA hyph_af_ZA DICT bn BD bn_BD THES cs CZ th_cs_CZ_v2 HYPH da DK hyph_da_DK
- Configuration
- Start OpenOffice.org Writer.
- From the Menu bar, "Tools > Options > Language Settings > Writing Aids > Available language modules > OpenOffice.org Hunspell SpellChecker > Edit > Language > Bengali (Bangladesh) > Spelling > OpenOffice.org Hunspell SpellChecker" should be available or enabled.
- Usage
- Toggle your keyboard layout and start typing Bangla in unicode.
- If you use "Bengali (India)" {probably if using Windows XP}, then you need to change the text locale to "Bengali (Bangladesh)" by:
- Select the texts
- Right click on it
- Click "Character..."
- Select "Bengali (Bangladesh)" (it should also have a little check ABC beside it) from the "CTL Font > Language" drop list.
- Press "OK"
- It should spell check and highlight the mis-spelled texts.
- Right click on the highlighted mis-spelled words, it will show the suggestions.
- Troubleshooting
- You can set/change the Bangla font of the Menu in Windows by following steps:
- "Rick click on the Desktop > Properties > Appearance > Advanced > Item: Menu > Font:"
- Select a Bangla unicode font
- Press "OK"
- Press "Apply"
- You can set/change the Bangla font of the Menu in Windows by following steps:
Bangla Sorting How-to
MySQL
Please check this page for details.
Important Links
- Bangla script display and input help
- Multilingual support (Indic)
- More keyboard layouts can be found at Ekushey site.
