[glotpress-updates] [GlotPress] #499: Add Emoji locale

GlotPress noreply at wordpress.org
Wed Sep 30 09:02:20 UTC 2015


#499: Add Emoji locale
--------------------------------+-----------------------------
 Reporter:  netweb              |      Owner:
     Type:  defect              |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  locale information  |    Version:
 Keywords:  needs-patch         |
--------------------------------+-----------------------------
 Via https://make.wordpress.org/polyglots/2015/09/21/emoji-translation/

 {{{
 $emoji = new GP_Locale();
 $emoji->english_name = 'Emoji';
 $emoji->native_name = "\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8e
 (Emoji)";
 $emoji->lang_code_iso_639_2 = 'art';
 }}}

 The original proposed locale and slug was:
 {{{
 $emoji->wp_locale = 'art_x_emoji';
 $emoji->slug = 'art-x-emoji';
 }}}

 Though the above is not available due to `wp_get_installed_translations()`
 regex not supporting this, the alternative proposition is to use
 `art_xemoji` as such also proposing this same format for the slug:

 {{{
 $emoji->wp_locale = 'art_xemoji';
 $emoji->slug = 'art-xemoji';
 }}}

 The plural of `Emjoi` is `Emoji` as such following in the footsteps of
 Japanese, Vietnamese, and Korean where there is no distinction between the
 singular and plural forms is what I believe Emoji should follow:

 {{{
 $emoji->nplurals = 1;
 $emoji->plural_expression = '0';
 }}}

 Finalising all of the above as:
 {{{
 $emoji = new GP_Locale();
 $emoji->english_name = 'Emoji';
 $emoji->native_name = "\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8e
 (Emoji)";
 $emoji->lang_code_iso_639_2 = 'art';
 $emoji->wp_locale = 'art_xemoji';
 $emoji->slug = 'art-xemoji';
 $emoji->nplurals = 1;
 $emoji->plural_expression = '0';
 }}}

--
Ticket URL: <https://glotpress.trac.wordpress.org/ticket/499>
GlotPress <https://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list