Skip to content

Commit

Permalink
Make readme more clear on the templatefields
Browse files Browse the repository at this point in the history
  • Loading branch information
Len van Essen authored and SvanteRichter committed Sep 26, 2017
1 parent 800bdb5 commit 10a40d0
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ the Bolt 3.1+ version**
```

3. Add the `is_translateable` argument to all fields you want to be
translatable. To translate templatefields you simply tag the templateselect
with `is_translateable` and all the templatefields will be translateable.
translatable.

```
[...]
Expand All @@ -64,8 +63,18 @@ the Bolt 3.1+ version**
group: content
is_translateable: true
[...]
```
```
To translate templatefields you simply tag the templateselect
with `is_translateable` and all the templatefields will be translateable.
```
[...]
templateselect:
type: templateselect
is_translateable: true
filter: '*.twig'
[...]
```
4. Add the hidden fields to all the contenttypes that have translateable
fields, two for each locale: one called `your_localedata` and one called
`your_localeslug`. So for the above `locales` example you would put:
Expand Down

0 comments on commit 10a40d0

Please sign in to comment.