Add first letter data for bn collation (Standard and Traditional)
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 27 Oct 2016 08:09:11 +0000 (08:09 +0000)
committerKaldari <rkaldari@wikimedia.org>
Wed, 16 Nov 2016 00:09:45 +0000 (16:09 -0800)
This is based solely on looking at the bn.txt collation data
file. It has not been tested by native speakers.

Bug: T148885
Change-Id: Ide926bc5ee8752269ef6a1bfe972e19b7188d193

includes/collation/IcuCollation.php

index e6b773c..7b4fce6 100644 (file)
@@ -100,6 +100,12 @@ class IcuCollation extends Collation {
                'be' => [ "Ё" ],
                'be-tarask' => [ "Ё" ],
                'bg' => [],
+               'bn' => [ 'ং', 'ঃ', 'ঁ' ],
+               'bn@collation=traditional' => [
+                       'ং', 'ঃ', 'ঁ', 'ক্', 'খ্', 'গ্', 'ঘ্', 'ঙ্', 'চ্', 'ছ্', 'জ্', 'ঝ্',
+                       'ঞ্', 'ট্', 'ঠ্', 'ড্', 'ঢ্', 'ণ্', 'ৎ', 'থ্', 'দ্', 'ধ্', 'ন্', 'প্',
+                       'ফ্', 'ব্', 'ভ্', 'ম্', 'য্', 'র্', 'ৰ্', 'ল্', 'ৱ্', 'শ্', 'ষ্', 'স্', 'হ্'
+               ],
                'bo' => [],
                'br' => [ "Ch", "C'h" ],
                'bs' => [ "Č", "Ć", "Dž", "Đ", "Lj", "Nj", "Š", "Ž" ],