8 /** This is an UTF8 language */
9 require_once( 'LanguageUtf8.php' );
11 /* private */ $wgNamespaceNamesBn = array(
12 NS_SPECIAL
=> 'বিশেষ',
15 NS_USER
=> 'ব্যবহারকারী',
16 NS_USER_TALK
=> 'ব্যবহারকারী_আলাপ',
17 NS_PROJECT
=> $wgMetaNamespace,
18 NS_PROJECT_TALK
=> $wgMetaNamespace . '_আলাপ',
20 NS_IMAGE_TALK
=> 'চিত্র_আলাপ',
21 NS_MEDIAWIKI_TALK
=> 'MediaWik i_আলাপ',
22 ) +
$wgNamespaceNamesEn;
24 /* private */ $wgDateFormatsBn = array();
26 if (!$wgCachedMessageArrays) {
27 require_once('MessagesBn.php');
30 class LanguageBn
extends LanguageUtf8
{
31 function getNamespaces() {
32 global $wgNamespaceNamesBn;
33 return $wgNamespaceNamesBn;
36 function getMessage( $key ) {
37 global $wgAllMessagesBn;
38 if(array_key_exists($key, $wgAllMessagesBn)) {
39 return $wgAllMessagesBn[$key];
41 return parent
::getMessage( $key );
45 function getDateFormats() {
46 global $wgDateFormatsBn;
47 return $wgDateFormatsBn;
50 var $digitTransTable = array(
63 function formatNum( $number ) {
64 global $wgTranslateNumerals;
65 if( $wgTranslateNumerals ) {
66 return strtr( $number, $this->digitTransTable
);