# Language specific date output

**URL:** <https://forum.getkirby.com/t/language-specific-date-output/32483>\
**Category:** Questions\
**Tags:** v4\
**Created:** [September 15, 2024, 3:03pm UTC](https://forum.getkirby.com/t/language-specific-date-output/32483 "2024-09-15T15:03:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bademeister](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@bademeister](https://forum.getkirby.com/u/bademeister)\
**Post date:** [September 15, 2024, 3:03pm UTC](https://forum.getkirby.com/t/language-specific-date-output/32483/1 "2024-09-15T15:03:08Z")

</div>

Hello,  
I found several issues to the more or less same thing. But no solution solved my problem.

I’m in a German environment without the language support by Kirby.  
A simple output of the day with `date()->toDate('l')` shows “Monday” instead “Montag” for example.

My config has the following entries:

```auto
'locale' => [
            'LC_ALL' => 'de_DE.UTF-8'
        ],

    'date' => [
      'handler' => 'intl'
    ],

```

I tried also the international date handler but without success.

I need a hint.

Thank you

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [September 15, 2024, 7:50pm UTC](https://forum.getkirby.com/t/language-specific-date-output/32483/2 "2024-09-15T19:50:53Z")

</div>

There are two possible causes I can think of based on what you describe:

- The `l` symbol for the weekday is for the `date` handler. With the `intl` handler the matching symbol is `E`. So if you get a weekday output with `l`, the `intl` date handler setting in your config might not have taken effect. You can verify this by printing `option('date.handler')`.
- The names of the system locales differ between systems. Please ensure that `de_DE.UTF-8` is the correct name on your system and that the locale is installed. You can verify this by running `locale -a` on the command line of your server. You can only use the locales listed by this command.

---

<div class="post-metadata">

**Author:** ![bademeister](https://avatars.discourse-cdn.com/v4/letter/b/9de0a6/32.png) [@bademeister](https://forum.getkirby.com/u/bademeister)\
**Post date:** [September 16, 2024, 7:15pm UTC](https://forum.getkirby.com/t/language-specific-date-output/32483/3 "2024-09-16T19:15:14Z")

</div>

Thank you Lukas,

I had a typo with the system locales. My server provide `de_DE.utf8` and not `de_DE.UTF-8`.
