# Multilingual pages field

**URL:** <https://forum.getkirby.com/t/multilingual-pages-field/19970>\
**Category:** Questions\
**Tags:** v3\
**Created:** [November 6, 2020, 7:09am UTC](https://forum.getkirby.com/t/multilingual-pages-field/19970 "2020-11-06T07:09:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexpi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alexpi/32/12008_2.png) [@alexpi](https://forum.getkirby.com/u/alexpi)\
**Post date:** [November 6, 2020, 7:09am UTC](https://forum.getkirby.com/t/multilingual-pages-field/19970/1 "2020-11-06T07:09:23Z")

</div>

Hi. Is it possible to save the `pages field` content for all languages, upon creating/updating the main language? Now, when I select some pages in this field, they are not kept for the other languages.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 6, 2020, 7:33am UTC](https://forum.getkirby.com/t/multilingual-pages-field/19970/2 "2020-11-06T07:33:56Z")

</div>

You can set `translate: false`, then Kirby will automatically fall back to the default content.

However, if your translated pages have different IDs, I’m not sure if you will be redirected to the correct language version.

---

<div class="post-metadata">

**Author:** ![alexpi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alexpi/32/12008_2.png) [@alexpi](https://forum.getkirby.com/u/alexpi)\
**Post date:** [November 6, 2020, 7:46am UTC](https://forum.getkirby.com/t/multilingual-pages-field/19970/3 "2020-11-06T07:46:17Z")

</div>

An example:

**category.yml**

```auto
title: Category

sections:
  items:
    type: fields
    fields:
      items:
        label: Jewels
        type: pages
        query: site.find('products').children.sortBy('date', 'desc')
        templates: product
        translate: false

```

When I save the page in Greek I get:

**category.el.txt**

```auto
Title: Κολιέ

----

Items:

- products/41233

```

and in English:  
**category.en.txt**

```auto
Title: Necklace

----

Items: 

```

In the site, the Greek version shows the items, but the English is empty.

EDIT: I just realized that the `Title` is the page id, and that it must be the same for translated categories.

---

<div class="post-metadata">

**Author:** ![pixelijn](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@pixelijn](https://forum.getkirby.com/u/pixelijn)\
**Post date:** [November 6, 2020, 8:18am UTC](https://forum.getkirby.com/t/multilingual-pages-field/19970/4 "2020-11-06T08:18:01Z")

</div>

> [@alexpi](#):
>
> I just realized that the `Title` is the page id,

No, the title is not the page id, the page id consists of the page slug and the parent pages slugs.

It is true the the field is left empty in this case, but your output will still contain this content because Kirby automatically falls back to the content of the default language in these cases. So it is not necessary to store this content multiple times.

However, depending on whether or not you translate slugs for your different pages, this might or might not have the desired result.

---

<div class="post-metadata">

**Author:** ![alexpi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alexpi/32/12008_2.png) [@alexpi](https://forum.getkirby.com/u/alexpi)\
**Post date:** [November 6, 2020, 8:31am UTC](https://forum.getkirby.com/t/multilingual-pages-field/19970/5 "2020-11-06T08:31:52Z")

</div>

Ok, `translate: false` naturally solved the problem. I was not getting the translated items on the front-end because I had some content files containing the pages field (‘Items:’ in my example) already set to nothing. 🤦🏽‍♂️
