# Date (month) is displayed in english, even if locale is "de\_DE"

**URL:** <https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080>\
**Category:** Agenda & Cursus\
**Created:** [May 18, 2020, 2:44am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080 "2020-05-18T02:44:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frischnetz](https://forum.modmore.com/user_avatar/forum.modmore.com/frischnetz/32/77_2.png) [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Post date:** [May 18, 2020, 2:44am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/1 "2020-05-18T02:44:24Z")

</div>

Agenda 1.1.0-b10:  
I have set `&locale=`de_DE`` in `[[AgendaList]]`, locale-system-setting is also set to `de_DE`, but still the date (month) is only displayed in English …

---

<div class="post-metadata">

**Author:** ![jako](https://forum.modmore.com/user_avatar/forum.modmore.com/jako/32/504_2.png) [@jako](https://forum.modmore.com/u/jako)\
**Post date:** [May 18, 2020, 9:57am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/2 "2020-05-18T09:57:09Z")

</div>

Is the locale `de_DE` available? Maybe you have only `de_DE.utf8` available. Please check this.

---

<div class="post-metadata">

**Author:** ![Frischnetz](https://forum.modmore.com/user_avatar/forum.modmore.com/frischnetz/32/77_2.png) [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Post date:** [May 18, 2020, 8:13pm UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/3 "2020-05-18T20:13:09Z")

</div>

How do I check this?

The page is located on a shared host at Ionos/1&1 (definitly not my choice!) and at the moment, I have no access to the server settings. PHP is 7.2.30.

I tried `de_DE.utf8` in the settings and in the snippet, but nothing has changed.

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [May 18, 2020, 10:32pm UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/4 "2020-05-18T22:32:23Z")

</div>

`locale -a` when SSH’ed into the server is the simplest way I know to check installed locales.

---

<div class="post-metadata">

**Author:** ![Frischnetz](https://forum.modmore.com/user_avatar/forum.modmore.com/frischnetz/32/77_2.png) [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Post date:** [May 19, 2020, 12:07am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/5 "2020-05-19T00:07:17Z")

</div>

`system("locale -a")` in a snippet gave me an exhaustive list of locales: `de_DE` as well as `de_DE.utf8` are included.

And `echo setlocale(LC_CTYPE, 0);` showed that `de_DE` is set. So I guess this is not the source of the error.

---

<div class="post-metadata">

**Author:** ![jako](https://forum.modmore.com/user_avatar/forum.modmore.com/jako/32/504_2.png) [@jako](https://forum.modmore.com/u/jako)\
**Post date:** [May 19, 2020, 7:08am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/6 "2020-05-19T07:08:38Z")

</div>

Strange, it uses the Carbon locales internally. And it works fine here. I will check this in the next days.

In between you could use the agenda.locale context/system setting or the locale context/system setting. It should fallback to those settings.

---

<div class="post-metadata">

**Author:** ![jako](https://forum.modmore.com/user_avatar/forum.modmore.com/jako/32/504_2.png) [@jako](https://forum.modmore.com/u/jako)\
**Post date:** [May 19, 2020, 7:11am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/7 "2020-05-19T07:11:17Z")

</div>

Could you tell me, which placeholder is filled with the wrong locale?

---

<div class="post-metadata">

**Author:** ![Frischnetz](https://forum.modmore.com/user_avatar/forum.modmore.com/frischnetz/32/77_2.png) [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Post date:** [May 20, 2020, 2:05am UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/8 "2020-05-20T02:05:27Z")

</div>

It’s the placeholder for the date-range in both `[[AgendaList]]` and `[[AgendaDetail]]`: `[[+range]]`. All the lexicon fields get the right language. But for the range I get e.g.  
`25. May 2020, 10:00 – 17:00 Uhr` – note that »Uhr« is correct!

---

<div class="post-metadata">

**Author:** ![jako](https://forum.modmore.com/user_avatar/forum.modmore.com/jako/32/504_2.png) [@jako](https://forum.modmore.com/u/jako)\
**Post date:** [May 26, 2020, 1:59pm UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/9 "2020-05-26T13:59:06Z")

</div>

Sorry for the late reply, I have to setup a mail notify for this board.

I will check this issue local.

---

<div class="post-metadata">

**Author:** ![jako](https://forum.modmore.com/user_avatar/forum.modmore.com/jako/32/504_2.png) [@jako](https://forum.modmore.com/u/jako)\
**Post date:** [May 31, 2020, 9:31pm UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/10 "2020-05-31T21:31:09Z")

</div>

It will be fixed with Agenda 1.1-rc1

---

<div class="post-metadata">

**Author:** ![Frischnetz](https://forum.modmore.com/user_avatar/forum.modmore.com/frischnetz/32/77_2.png) [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Post date:** [June 21, 2020, 5:55pm UTC](https://forum.modmore.com/t/date-month-is-displayed-in-english-even-if-locale-is-de-de/2080/11 "2020-06-21T17:55:07Z")

</div>

Hey Thomas,

Had to put the project on hold for a while, but I checked it now with the new RC and it works now! Thank you very much!
