Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#33390 closed feature request (wontfix)

Adding lang field in wp_posts table

Reported by: anasr Owned by:
Priority: normal Milestone:
Component: Database Version:
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @johnbillion
11 years ago

  • Milestone Awaiting Review
  • Resolution → wontfix
  • Status new → closed

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.

Note: See TracTickets for help on using tickets.