[wp-trac] [WordPress Trac] #43144: Add a language icon next to language selectors

WordPress Trac noreply at wordpress.org
Wed Mar 7 15:10:14 UTC 2018


#43144: Add a language icon next to language selectors
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  I18N                                 |  Review
 Severity:  normal                               |     Version:  4.0
 Keywords:  ui-feedback has-screenshots has-     |  Resolution:
  patch                                          |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------

Comment (by birgire):

 Adding this icon looks like a good visual aid.

 With the {{{aria-hidden="true"}}} added to the span tag, I'm wondering
 about this approach:

 {{{
 <label for="WPLANG"><?php _e( 'Site Language' ); ?> <span aria-
 hidden="true" class="dashicons dashicons-translation"></span></label>

 }}}

 where we add a space between the ''Site Language'' text and the span tag,
 similar to [40643].

 If we don't want the space, then it could be added via CSS as in
 [attachment:43144.patch].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43144#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list