<p>Thanks to Kelsey Martens of solspace I found the key. The solspace demo calender uses the .format() method which doesn't translate to the sites language. Now I use the |date filter instead which translates also month and daynames.</p>

CC BY-SA 4.0
2018-12-23T01:52:18.700Z
If you are on Craft 3, you can tryout my plugin called Translitedated which allows you to pass a date format and a language/locale for the date to be outputted as. Not directly what you are looking for but if you run into language specific date issues you can try it.
Chattervast
CC BY-SA 4.0
2018-11-22T16:58:22.337Z
2018-11-22T16:58:22.337Z
analog junkie
<p>I am building a german calendar and am struggling having one language throughout all datetime outputs. The website is set to lang = de but the outputs of the solspace calendar is still english.</p>

CC BY-SA 4.0
2018-11-15T16:27:37.660Z
I have now the Intl-Extension for twig installed in order to use the localizeddate filter. It just doesn't work.    
{{ "now"|localizeddate("m/d/Y") }}
analog junkie
<templating><solspace><plugin-solspacecalendar>
How do I assign a language to all datetime outputs
# How do I assign a language to all datetime outputs

(Asked by: username_0 on 2018-11-14)

I am building a german calendar and am struggling having one language throughout all datetime outputs. The website is set to lang = de but the outputs of the solspace calendar is still english.

**Tags:** templating, solspace, plugin-solspacecalendar
> **Comments:**
> **username_0**: I have now the Intl-Extension for twig installed in order to use the localizeddate filter. It just doesn't work.     {{ "now"|localizeddate("m/d/Y") }}  

---

## 1 answers

### Answer by username_0 on 2018-11-22. Score: 1

Thanks to Kelsey Martens of solspace I found the key. The solspace demo calender uses the .format() method which doesn't translate to the sites language. Now I use the |date filter instead which translates also month and daynames.

> **Comments:**
> **username_1**: If you are on Craft 3, you can tryout my plugin called Translitedated which allows you to pass a date format and a language/locale for the date to be outputted as. Not directly what you are looking for but if you run into language specific date issues you can try it.  

---

