Content Localization

A flexible content API for internationalization, made possible with GraphCMS.

Write content to make your users feel at home

Write content to make your users feel at home

GraphCMS provides an excellent localization API that you can use to publish content for all or specific locales in your project.

Manage content localization via the GraphCMS interface or the Mutations API.

Learn how to setup locales

Content Localization in action

You can query or mutate content localizations via the API or dashboard.

Query

query {
pages {
id
title
slug
locale
localizations(includeCurrent: true) {
locale
title
}
}
}

Mutation

mutation {
createPage(
data: {
title: "Content Localization",
slug: "content-localization"
localizations: {
create: [{
data: {
title: "Inhaltslokalisierung",
},
locale: de
}]
}
}
) {
id
}
}

Response

{
"data": {
"pages": [
{
"id": "ck7g2vs1k00110188fmc81h26",
"title": "Content Localization",
"slug": "content-localization",
"locale": "en",
"localizations": [
{
"locale": "en",
"title": "Content Localization"
},
{
"locale": "de",
"title": "Inhaltslokalisierung"
}
]
}
]
}
}

It's Easy To Get Started

GraphCMS plans are flexibly suited to accommodate your growth. Get started for free, or request a demo to discuss larger projects with more complex needs