Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a Danish site, on an English server. When I use XSLT to show dates they are en English. How do I translate / localize them? Snippet from my present XSLT: And the same question for the items in my templates” Code:
Have you tried using the short date format or long date format? umbraco.library:FormatDateTime(@updateDate, 'd') for short date format umbraco.library:FormatDateTime(@updateDate, 'D') for long date format
Assign your domain and language (right click on top level node, manage hostnames) to the root node. That should fix the culture issue.
Thanks, that did the trick =d>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Localizing xslt dates
I have a Danish site, on an English server. When I use XSLT to show dates they are en English. How do I translate / localize them?
Snippet from my present XSLT:
And the same question for the items in my templates”
Code:
Have you tried using the short date format or long date format?
umbraco.library:FormatDateTime(@updateDate, 'd') for short date format
umbraco.library:FormatDateTime(@updateDate, 'D') for long date format
Assign your domain and language (right click on top level node, manage hostnames) to the root node. That should fix the culture issue.
Thanks, that did the trick =d>
is working on a reply...