Opened 14 months ago
Last modified 14 months ago
#2990 new defect
WordPress user and error pages are in Dutch
Reported by: | lnicola | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Unplanned |
Component: | SysAdmin | Keywords: | |
Cc: |
Description
The site is set to display in English, but for some reason user profile pages are titled "Name, auteur op OSGeo", which is probably Dutch, e.g. https://www.osgeo.org/member/sandro-santilli/. Error pages also have Dutch titles: https://www.osgeo.org/member/strk/ ("Pagina niet gevonden").
Change History (3)
comment:1 by , 14 months ago
comment:2 by , 14 months ago
curl -s 'https://www.osgeo.org/members/strk' -H 'Accept-Language: en,ro;q=0.5' | rg -F '<title>' <title>Pagina niet gevonden - OSGeo</title> curl -s 'https://www.osgeo.org/members/strk' | rg -F '<title>' <title>Pagina niet gevonden - OSGeo</title>
comment:3 by , 14 months ago
Tried several approaches:
- Using the Say what plugin, Defined: "Page not found" to use the sentence "Page not found"
- Editing the .po files where "Page not found" is translated to "Pagina niet gevonden"
Pagina niet gevonden
->Page not found
- Manually modifying the core function wp_title so that it does not get translated
$title = __( 'Page not found' );
->$title = 'Page not found';
Nothing seemed to work. Some upgrades are pending on plugins and on core, will try again after the upgrades.
Investigating, found this comment and the Page not found in this case says Untitled
TODO: need to see where in roots
the page title is handled.
The reported problem occurs in anonymous windows as well, so it's not related to user settings.