[wp-trac] [WordPress Trac] #49129: Incorrect German Umlaut substitutions

WordPress Trac noreply at wordpress.org
Sat Jan 4 00:18:46 UTC 2020


#49129: Incorrect German Umlaut substitutions
-------------------------+-----------------------------
 Reporter:  bmuessig     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Formatting   |    Version:  trunk
 Severity:  minor        |   Keywords:  2nd-opinion
  Focuses:               |
-------------------------+-----------------------------
 Hello,

 as a native speaker, I find the German Umlaut substitutions quite strange.
 Correctly, ü is turned into ue, but Ü is turned into Ue.
 Since the second character should be considered as part of the former
 character, the former capitalization should be respected.

 This is especially strange in uppercase text:
 FRÖHLICH -> FROeHLICH
 KÖNNEN -> KOeNNEN

 If it was changed to be all uppercase, it would work much better:
 FRÖHLICH -> FROEHLICH
 KÖNNEN -> KOENNEN

 When used at the start of a word, it would also work fine, if capitalized:
 ÖFFENTLICH -> OEffentlich
 ÜBERGANG -> UEbergang

 Therefore, I would propose changing the table located in wp-
 includes/formatting.php:1941
 (https://github.com/WordPress/WordPress/blob/master/wp-
 includes/formatting.php#L1941) to the following:


 {{{

                 if ( 'de_DE' == $locale || 'de_DE_formal' == $locale ||
 'de_CH' == $locale || 'de_CH_informal' == $locale ) {
                         $chars['Ä'] = 'AE';
                         $chars['ä'] = 'ae';
                         $chars['Ö'] = 'OE';
                         $chars['ö'] = 'oe';
                         $chars['Ü'] = 'UE';
                         $chars['ü'] = 'ue';
                         $chars['ß'] = 'ss';
 }}}

 Though, to be entirely correct, the surrounding characters would have to
 be checked, which would be difficult, given the current architecture.
 There even is a capital ß now, which would be substituted with SS.


 I am happy to hear any second opinions on this.

 Best regards,
 Benedikt

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


More information about the wp-trac mailing list