Making WordPress.org

Changeset 8778


Ignore:
Timestamp:
05/10/2019 08:20:52 PM (5 years ago)
Author:
ocean90
Message:

Translate: Add locale definition for Bengali (India).

Also fix country code for Bengali (Bangladesh).

See https://make.wordpress.org/polyglots/2019/04/05/locale-bn_in/.
Fixes #4452.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/locales/locales.php

    r8439 r8778  
    344344
    345345        $bn_bd = new GP_Locale();
    346         $bn_bd->english_name = 'Bengali';
     346        $bn_bd->english_name = 'Bengali (Bangladesh)';
    347347        $bn_bd->native_name = 'বাংলা';
    348348        $bn_bd->lang_code_iso_639_1 = 'bn';
    349         $bn_bd->country_code = 'bn';
     349        $bn_bd->country_code = 'bd';
    350350        $bn_bd->wp_locale = 'bn_BD';
    351351        $bn_bd->slug = 'bn';
    352352        $bn_bd->google_code = 'bn';
    353         $bn_bd->facebook_locale = 'bn_IN';
     353
     354        $bn_in = new GP_Locale();
     355        $bn_in->english_name = 'Bengali (India)';
     356        $bn_in->native_name = 'বাংলা (ভারত)';
     357        $bn_in->lang_code_iso_639_1 = 'bn';
     358        $bn_in->country_code = 'in';
     359        $bn_in->wp_locale = 'bn_IN';
     360        $bn_in->slug = 'bn-in';
     361        $bn_in->google_code = 'bn';
     362        $bn_in->facebook_locale = 'bn_IN';
    354363
    355364        $bo = new GP_Locale();
Note: See TracChangeset for help on using the changeset viewer.