[wp-trac] [WordPress Trac] #39587: link problems with language settings

WordPress Trac noreply at wordpress.org
Thu Nov 30 12:18:21 UTC 2017

#39587: link problems with language settings
 Reporter:  aansel        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  4.7
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:
Changes (by bradadams):

 * severity:  normal => major


 This is a super critical issue, I'm unsure how it's not been addressed yet
 🤔. I created the [https://core.trac.wordpress.org/ticket/41116] ticket
 for this 5 months ago and ''this'' one has nearly been around for a year.

 We just spent like 40 minutes scratching our heads as to why all our
 localized permalinks went down the plughole after we re-saved them. The
 steps were:

 1. Our user account has language set to '''English'''.
 2. Created a new site for German in multisite setup
 3. Localized some strings that are used in permalink rewrites
 4. Visited the permalink page on new German site, and hit refresh
 5. Posts across the site show the new permalink (with localized URL), but
 clicking them returns a 404.
 6. Visiting the posts screen in admin, and clicking "view" takes you to
 the ''correct'' URL (using English permalink localization in this case).

 So of course we're like wtf, why's it showing english if all settings are
 clearly pointing to German/Deutsch?

 Luckily we remembered this issue, and just had to change our '''user
 language''' to the relevant sites language before making the re-save on
 the permalinks screen.

 If someone can point me in the right direction I'll try and fix it myself,
 either way, over the holidays I'll see if I can figure out what's causing

Ticket URL: <https://core.trac.wordpress.org/ticket/39587#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list