Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs about translation exports in storyblok #25

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions blog/2023-11-20-storyblok-translations.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
slug: storyblok-translations
title: Storyblok Translations Export
authors: [jannik]
tags: [storyblok]
---

Special settings or including/excluding fields in the translations export were added in Storyblok v3.6.0 and are [now documented].


[now documented]: /docs/php/symfony/storyblok/translations
28 changes: 28 additions & 0 deletions docs/php/symfony/storyblok/translations.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Translations

While you can manage all translations in Storyblok directly, it is quite common to use an external translation agency, that works with XLIFF files.

In Storyblok you need to install the [Export Translatable Fields] and [Import Translatable Fields] to get these files out of Storyblok.

For certain field types, you can decide on whether these fields should be included in these exports. You can specify this setting (if supported on the field type) by setting the `$exportTranslation` constructor argument.


## Components

| Component | Include in translation export |
|-----------|----------------------------------------------------|
| Asset | ❌ |
| Bloks | ✅ (no own fields, included bloks are translatable) |
| Boolean | ❌ |
| Choice | ❌ |
| DateTime | ❌ |
| Link | ❌ |
| Markdown | ✅ (configurable) |
| Number | ❌ (configurable) |
| RichText | ✅ |
| Table | ❌ |
| Text | ✅ (configurable) |


[Export Translatable Fields]: https://www.storyblok.com/apps/export
[Import Translatable Fields]: https://www.storyblok.com/apps/import