Content Internationalization with Strapi

Strapi
Strapi
Published in
1 min readSep 17, 2018

Translating content from a language to another has been requested by many of you. As you may have seen on our website, the Internationalization plugin is not available yet because we need to go out of alpha before developing new plugins.

But, no worries, we have a good work around to help you internationalize your content!

The solution is simple: suffix your fields.

For example if you are building a blog with posts, you may have a Content Type post with two fields: title and content. To make them available in english and french for example, simply replace them by title_en, title_fr, content_en and content_fr.

Then, when you request your API, you will get all these fields in your response payload. If you want to select only some of them (in a specific language) we recommend you to use the GraphQL plugin.

We hope this will help!

Originally published at blog.strapi.io on September 17, 2018.

--

--

Strapi
Strapi

The open source Headless CMS Front-End Developers love.