WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] locale.php error ? (4 posts)

  1. Marcel Andrew
    Member
    Posted 1 year ago #

    Error ?

    In these three locales, the lang_code_iso_639_1 is twiced and not defined as a lang_code_iso_639_2

    $dv = new GP_Locale();
    		$dv->english_name = 'Divehi';
    		$dv->native_name = 'ދިވެހި';
    		$dv->lang_code_iso_639_1 = 'dv';
    		$dv->lang_code_iso_639_1 = 'div';
    		$dv->country_code = 'mv';
    		$dv->wp_locale = 'dv';
    		$dv->slug = 'dv';
    		$dv->google_code = 'dv';
    		$dv->rtl = true;
    
    		$dz = new GP_Locale();
    		$dz->english_name = 'Dzongkha';
    		$dz->native_name = 'རྫོང་ཁ';
    		$dz->lang_code_iso_639_1 = 'dz';
    		$dz->lang_code_iso_639_1 = 'dzo';
    		$dz->country_code = 'bt';
    		$dz->slug = 'dz';
    		$dz->nplurals = 1;
    		$dz->plural_expression = '0';
    
    		$ee = new GP_Locale();
    		$ee->english_name = 'Ewe';
    		$ee->native_name = 'Eʋegbe';
    		$ee->lang_code_iso_639_1 = 'ee';
    		$ee->lang_code_iso_639_1 = 'ewe';
    		$ee->country_code = '';
    		$ee->slug = 'ee';

    http://wordpress.org/extend/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Thank you for the report! I have created a Trac ticket for it, here:

    http://plugins.trac.wordpress.org/ticket/1728

  3. Sergey Biryukov
    WordPress Dev
    Posted 1 year ago #

    Created a ticket for GlotPress too (the file comes from there):
    http://glotpress.trac.wordpress.org/ticket/243

  4. Marko Heijnen
    Member
    Posted 1 year ago #

    Fixed it

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic