Set a post’s language on a multilingual blog

An English-language music blog might publish an interview written entirely in Spanish. A reader who uses speech output needs the article’s words pronounced appropriately while moving through the surrounding publication.

Identify the language of this edition

Use the main language of the written article. Pick a standard language tag such as es for Spanish or hi for Hindi. Where a regional distinction actually matters, a more specific tag such as pt-BR can describe Brazilian Portuguese. A publication about Spain can still contain an article written in English.

Set the field on the individual post

In Post settings, enter the tag in Language of this post. Leaving the field empty uses the publication language. On the published page, the title and body can carry the post language while the rest of the site keeps the publication’s setting. This describes the words you wrote and does not produce a translation.

Check the published article

Read the headline and first paragraph with a screen reader that has the relevant voice installed. If you inspect the page, look for the language tag on the article text. Applying a tag to the whole article because it contains a single borrowed phrase would give the rest of the writing the wrong language.

Worked example

An interview in a second language

For a Spanish transcript titled “Una tarde en el taller,” use es in the post language field. In an English follow-up essay that discusses the same interview, leave the English publication default in place.

Sources

Read about reader accessibility