Opened 10 years ago
Closed 10 years ago
#33390 closed feature request (wontfix)
Adding lang field in wp_posts table
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Database | Keywords: | |
Focuses: | Cc: |
Description
Suppose that you have an English blog, and you want to publish a new post in a different language, say Arabic for example. In this case you need to set the lang
attribute to Arabic, like this:
<article lang="ar">
... since the html
tag originally says:
<html lang="en">
Currently, how could you do that?
The only way —I guess— is to enclose the post-content in a div
, like this:
<div lang="ar"> ... </div>
Whilst, this lang
attribute should be assigned to article
tag.
Notice also the language of article > header
contents still defined as English.
Change History (1)
Note: See
TracTickets for help on using
tickets.
Thanks for the report, anasr.
Multilingual support isn't something that we're planning for core, but we do have a discussion group that's actively researching and discussing the ways in which WordPress can help the various multilingual plugins. This will hopefully help enable this sort of functionality.
More info here and here.