[wp-trac] [WordPress Trac] #52110: locale 'de_AT' should be added to 'german' locales in remove_accents()

WordPress Trac noreply at wordpress.org
Thu Dec 17 21:24:12 UTC 2020


#52110: locale 'de_AT' should be added to 'german' locales in remove_accents()
---------------------------+-----------------------------
 Reporter:  nonverbla      |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Formatting     |    Version:  5.5.3
 Severity:  trivial        |   Keywords:  needs-patch
  Focuses:  accessibility  |
---------------------------+-----------------------------
 Hi there! My first WP ticket ever. I just noticed that the locale `de_AT`
 for [https://translate.wordpress.org/locale/de-at/ Austria] is not being
 handled in `remove_accents()`. So `ΓΌ` for example would be converted to
 the WP default of `u` instead of the correct `ue`. Here is the code
 (formatting.php, line 1299):

 {{{
 if ( in_array( $locale, array( 'de_DE', 'de_DE_formal', 'de_CH',
 'de_CH_informal' ), true ) ) {
 ...
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52110>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list