[wp-trac] [WordPress Trac] #40656: WordPress Facebook integration does not obey locale
WordPress Trac
noreply at wordpress.org
Fri May 5 21:30:28 UTC 2017
#40656: WordPress Facebook integration does not obey locale
--------------------------+----------------------
Reporter: ChrisBAshton | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Embeds | Version: trunk
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by johnbillion):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
This is probably something you should report to Facebook (good luck), as
WordPress is correctly outputting the `lang` attribute on the `html`
element. Facebook likely uses heuristics to determine if the actual page
language is indeed English or not when `en_US` is used, similar to what
Google Chrome does.
This is the unfortunate situation that the web finds itself in when
services cannot trust web standards due to incorrect implementations (ie.
sites not in US English but still using `en_US` as the lang).
In your situation you may be able to make use of the `og:locale` OpenGraph
tag to persuade Facebook that your content really is in US English.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40656#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list