# Checkbox value for different languages

**URL:** <https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059>\
**Category:** Questions\
**Tags:** v2\
**Created:** [August 23, 2016, 6:34pm UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059 "2016-08-23T18:34:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![flokosiol](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flokosiol/32/468_2.png) [@flokosiol](https://forum.getkirby.com/u/flokosiol)\
**Post date:** [August 23, 2016, 6:34pm UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/1 "2016-08-23T18:34:45Z")

</div>

I’ve got a problem with checkboxes for translated pages showing the wrong value/state. It’s a bit hard for me to explain, so here is what I’ve done to verify it …

- Downloaded a fresh [Kirby langkit](https://github.com/getkirby/langkit)

```auto
Toolkit version: 2.3.2
Kirby version: 2.3.2
Panel version: 2.3.2

```

- Added a checkbox field to `site/blueprints/default.yml`

```auto
test:
  label: Test
  type: checkbox
  text: This is just a test

```

- Created a page (default language is EN), checked the checkbox and saved it
- Switched language to (so far not existing) german translation, **unchecked the checkbox** (as inherited from the default language) and **then** saved the german version for the first time.

## Strange result

- The value in the german text file is `0` (as expected)
- The checkbox in the panel for the german page is checked (as not expected)

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/2/288a351244ceb806c312895ca9752aacb498f20b.png)

If I switch back to the default language (EN), uncheck the checkbox and switch back to german, the checkbox is also unchecked.

---

<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:** [August 23, 2016, 6:38pm UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/2 "2016-08-23T18:38:14Z")

</div>

This sounds a bit buggy, I’ll try to reproduce this.

---

<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:** [August 23, 2016, 7:05pm UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/3 "2016-08-23T19:05:43Z")

</div>

Hi Flo, I can reproduce this issue. I tested this with about 3 different versions of Kirby now, and I always get the same result.

---

<div class="post-metadata">

**Author:** ![flokosiol](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flokosiol/32/468_2.png) [@flokosiol](https://forum.getkirby.com/u/flokosiol)\
**Post date:** [August 23, 2016, 7:09pm UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/4 "2016-08-23T19:09:55Z")

</div>

Thanks for the super quick reply. I tried to log out and re-login to the panel. But the error still occured.

I’m using checkboxes for quite some time and never ran into this issue before. This is what really makes me wonder 😄

---

<div class="post-metadata">

**Author:** ![flokosiol](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flokosiol/32/468_2.png) [@flokosiol](https://forum.getkirby.com/u/flokosiol)\
**Post date:** [September 2, 2016, 8:08am UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/5 "2016-09-02T08:08:44Z")

</div>

I couldn’t find an issue on Github for this. Should I create one, @texnixe? A working checkbox is necessary to use the “up to date” feature for my plugin correctly … 😕

---

<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:** [September 2, 2016, 8:11am UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/6 "2016-09-02T08:11:47Z")

</div>

Yes, please do! (and some more characters)

---

<div class="post-metadata">

**Author:** ![flokosiol](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/flokosiol/32/468_2.png) [@flokosiol](https://forum.getkirby.com/u/flokosiol)\
**Post date:** [September 2, 2016, 10:06am UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/7 "2016-09-02T10:06:14Z")

</div>

Alright. Done.

> <https://github.com/getkirby/panel/issues/910>

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 4:55pm UTC](https://forum.getkirby.com/t/checkbox-value-for-different-languages/5059/8 "2025-02-06T16:55:19Z")

</div>

Archived on February 6, 2025, 4:55pm UTC


