[wp-meta] [Making WordPress.org] #5817: Add bgn locale

Making WordPress.org noreply at wordpress.org
Mon Jul 12 15:18:03 UTC 2021


#5817: Add bgn locale
--------------------------------------+---------------------
 Reporter:  evarlese                  |       Owner:  (none)
     Type:  task                      |      Status:  new
 Priority:  normal                    |   Milestone:
Component:  Translate Site & Plugins  |  Resolution:
 Keywords:                            |
--------------------------------------+---------------------

Comment (by tobifjellner):

 Things that need to be corrected:
 - It's RTL script.
 - nplurals = 1 means that there is no separate form for plural. (i.e. 1
 chair; 2 chair, etc.). If that's the case, then the plural_expression
 should just be {{{plural_expression = '0'}}}
 - If, on the other hand, they have the same structure as English, then
 nplurals and plural_expression can just be omitted.
 - All items should be provided with the relevant locale code.
 - I checked both Facebook and Google locales and couldn't find Baluchi
 there, so those items can be omitted.

 So, something like this:

 {{{
 $bgn = new GP_Locale();
 $bgn->english_name = 'Western Balochi';
 $bgn->native_name = 'بلوچی‎';
 $bgn->lang_code_iso_639_3 = 'bgn';
 $bgn->lang_code_iso_639_2 = 'bal';
 $bgn->country_code = 'PK';
 $bgn->wp_locale = 'bgn';
 $bgn->slug = 'bgn';
 $bgn->nplurals = 1 ;
 $bgn->plural_expression = '0';
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5817#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list