Skip to content

Commit

Permalink
Merge pull request #61 from directus/add-content-translation-screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
phazonoverload authored Nov 15, 2024
2 parents dad4192 + 8b4515d commit 7bec435
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions content/3.content/7.translations.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,16 @@ You can also click ":icon{name="material-symbols:add-circle-rounded"} New Transl

## Content Translations

![Creating a translations field](https://product-team.directus.app/assets/3097a653-da4f-449a-a5d5-4dcf62da73bd.webp)

With Directus, you can localize your content into several languages using a [translations field](/data-modeling/relationships) on a given collection.

![Creating a translations field](https://product-team.directus.app/assets/3097a653-da4f-449a-a5d5-4dcf62da73bd.webp)

Once this field is added to a collection, a few new collections will be created. One being a pre-populated `languages` collection, as well as a hidden `<colletion-name>_translations` collection.

In the "Data Model" section of the settings module, navigate into the `<colletion-name>_translations` collection and add the fields which you'd like to translate.

![Post translations collection showing it has a title and content field added](https://product-team.directus.app/assets/ec059ce9-ece1-4353-8844-7e557a4556c4.webp)

Now, when [editing an item](/content/editor) of that collection, you'll be able to add translations for those fields.

![Creating a post with a title in both Spanish and English](https://product-team.directus.app/assets/774ac37b-1c9e-433b-80ba-deededd8e406.webp)

0 comments on commit 7bec435

Please sign in to comment.