Draft

From Ankur

Jump to: navigation, search

Contents

Thursday, September 17, 2009: Bangla OpenOffice.org 3.1.1 Released

It is our pleasure to inform you that Bangla OpenOffice.org 3.1.1 has been released, which is based on the original source code of OpenOffice.org 3.1.x.


OpenOffice.org is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. It is available in many languages and works on all common computers. It stores all your data in an international open standard format and can also read and write files from other common office software packages. It can be downloaded and used completely free of charge for any purpose.


Some new features over the official OpenOffice.org 3.1.x:

  • Updated User Interface and Help content translation.
  • Built-in Bangla dictionary for spell checking capability.
  • Hypernation feature introduced for Bangla which is still in development stage.
  • Updated locale file for Bangla-Bangladesh (bn-BD) with improved collation rules as recommended by Bangla academy.


Bangla OpenOffice.org 3.1.1 download links:


Please send us your comments and suggestions at feedback@ankur.org.bd.

Hacking Issues

  1. Library for rendering internationalized texts
    • Pango -- Gnome, GTK etc.
    • QT -- KDE
    • ICU -- OpenOffice.org
  2. Collation Rules for bn_BD locale
  3. English to Bangla dictionary
  4. English to Bangla machine translator
  5. Spell checker
    • Aspell -- used by AbiWord, Gedit, LyX, Opera, Pidgin, TEA text editor.
    • MySpell -- used by AbiWord, Firefox 2.x and Thunderbird
    • Hunspell -- used by OpenOffice.org and Firefox 3.
  6. Text-to-Speech


Enabling Bangla in GAIM/Pidgin's default installation

If you want to chat in Bangla with GAIM/Pidgin in XP,do the following things :

  1. You need to have Probhat Bangla keyboard layout:
  2. Now change the following settings:Ke
    • 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.
  3. You must have a Unicode based Bangla font:

Now restart GAIM/Pidgin and select Bengali(India) from the language tool bar, select your Unicode based Bangla font from Font Face and start chatting in Bangla.


Some Important Release Dates

Distro/Desktop Release Date
URL
Ubuntu 7.10 18-Oct-2007 http://wiki.ubuntu.com/GutsyReleaseSchedule
Fedora 8 25-Sep-2007 http://fedoraproject.org/wiki/Core/Schedule
Opensuse 10.3 4-Oct-2007 https://en.opensuse.org/Roadmap/10.3
Debian GNU/Linux 4.0r1 Etch 17-Aug-2007 http://www.debian.org/News/2007/20070817
GNOME 2.22 28-Nov-2007 http://live.gnome.org/TwoPointTwentyone
KDE 4.0 23-Oct-2007 http://techbase.kde.org/Schedules/KDE4/4.0_Release_Schedule
Xfce 4.4.1 10-Apr-2007 http://www.xfce.org/about/news?id=12
OpenOffice.org 04-Mar-2008 http://wiki.services.openoffice.org/wiki/OOoRelease24
Pidgin 2.2.2 23-Oct-2007 http://www.pidgin.im/
Mozilla Firefox 2.0.0.9 01-Nov-2007 http://developer.mozilla.org/devnews/
Mozilla Thunderbird 2.0.0.6 01-Aug-2007 http://developer.mozilla.org/devnews/index.php/2007/08/01/thunderbird-2006-security-update/


ASpell How-to

  • Here is the link fron where we can download available aspell bn dictionaries:
 ftp://ftp.gnu.org/gnu/aspell/dict/bn/aspell6-bn-0.01.1-1.tar.bz2
  • We can make it to work in text mode by:
 $aspell check bengali_file_to_be_checked -l bn
  • Unpacking to plain text format
 $tar xvjf ./aspell6-bn-0.01.1-1.tar.bz2
 $cd ./aspell6-bn-0.01.1-1

the compressed file is bn.cwl, to unpack it into plain text format

 $precat bn.cwl > bn.wl (this will preserve the original file)

or

 $preunzip bn.cwl (this will destroy the original file)

bn.wl file would contain the word list in Unicode bengali format

  • Re-compressing the file into compressed format
 $prezip bn.wl (the original file will be destroyed, so remember to make a copy)

bn.cwl file will contain the compressed bengali word list.

  • Now make the package
 $tar cvjf aspell6-bn-<version>.tar.bz2 ./aspell6-bn-0.01.1-1


Hunspell/Myspell How-to

  • Creating Hunspell dictionary (.dic file) from uncompressed Aspell dictionary file (.wl file)
 cat -n bn.wl | tail -n 1 | cut -f 1 > bn.dic && cat bn.wl >> bn.dic
  • Creating Myspell compiled dictionary (.rws file) from compressed Aspell Dictionary file (.cwl file)
 precat bn.cwl | aspell -l bn create master ./bn.rws

bn.rws file will be created in the current folder


Bangla spell checking on Gedit How-to

  • Gedit uses .rws dictionary file format to check available spellings, so make sure you have a copy of bn.rws and bn.compat file in /var/lib/aspell folder
  1. Open a new document in Gedit and start typing in Bengali
  2. From Tools menu, select Set Language, then select Bengali as the language
  3. Now from the tools menu, Check Spelling. A window should appear highlighting the misspelled words with the options to correcting them.


Bangla spell checking on Pidgin How-to

  • first we need to set the LANG environment variable, by default it is either C or en_US.UTF-8. Open the .bashrc file in your home folder (it is a hidden file). Add this line in the file
 export LANG=bn_BD.UTF-8
 export PIDGINLANG=bn_BD.UTF-8

now save and close the file and open Pidgin.

  • Pidgin uses the same dictionary structure like Gedit, so please check Gedit section on how to set up Dictionary files
  • Start a conversation, and when you type any misspelled word in Bengali, it should be highlight right away. Right click on the misspelled word, select Spelling suggestions and chose the right word from the menu.

Note:if the above procedure did not work as expected then do this:

  • Open a terminal, then
 $LANG=bn_BD.UTF-8

Now start pidgin from the same shell

 $pidgin

There is a plug-in that can explicitly set Spelling Dictionary per Buddy basis, but it is still in beta stage. It can be downloaded from http://plugins.guifications.org/trac/wiki/switchspell


Bangla spell checking on OpenOffice.org How-to

  • Installation
    1. Download hunspell-bn-BD-0.02.tar.bz2
    2. 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
    3. Open the "dictionary.lst" file from the above "dict/ooo" folder with any text editor
    4. Add "DICT bn BD bn_BD" line in the "dictionary.lst" file.
    5. When finished, restart OpenOffice.org and the OpenOffice.org QuickStarter - if it was running.
    6. {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
    1. Start OpenOffice.org Writer.
    2. 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
    1. Toggle your keyboard layout and start typing Bangla in unicode.
    2. 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
    1. 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"

Bangla Collation Chart

Views
Personal tools