Is there a way to change the date formats on the properties page?
Like
try adding the culture en-US into the web.config:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US" />
hth
Hi Trent,
go to /umbraco/config/lang and copy en.xml to us.xml. Open us.xml with an editor of your trust and change:
<language alias="en" intName="English (uk)" localName="English" lcid="" culture="en-GB">
into
<language alias="us" intName="English (us)" localName="English" lcid="" culture="en-US">
and save. Now you can go to User section open your user and select Language English (us). You will get US date format in Umbraco back office.
HTH
that did work. Thank you.
But it did kinda break the tinymce editor
TinyMCE: Error loading language 'us'. Please download language pack from tinymce.moxiecode.com
any ideas
Trent
@Trent, I followed Immo's instructions but instead of creating a new file I just changed the existing (en.xml) one from
to
<language alias="en" intName="English (us)" localName="English" lcid="" culture="en-US">
It fixed the date issue, and haven't noticed any problems.
-Sean
I think the way from Sean is much better and avoid the problems with TinyMCE3.
For the case you need both en-US and en-GB languages you need to extend TinyMCE3 with the "us" Language. For this you need to copy and modify from en*.js to us*.js:
/umbraco_client/tinymce3/langs/us.js/umbraco_client/tinymce3/themes/umbraco/langs/us.js/umbraco_client/tinymce3/themes/umbraco/langs/us_dlg.js/umbraco_client/tinymce3/plugins/table/langs/us_dlg.js/umbraco_client/tinymce3/plugins/paste/langs/us_dlg.js/umbraco_client/tinymce3/plugins/media/langs/us_dlg.js/umbraco_client/tinymce3/plugins/advhr/langs/us_dlg.js/umbraco_client/tinymce3/plugins/advimage/langs/us_dlg.js/umbraco_client/tinymce3/plugins/advlink/langs/us_dlg.js
In each file you have to update language reference at the begin from en to us e.g. in tinymce3/langs/us.js.from:
tinyMCE.addI18n({en:{
to:
tinyMCE.addI18n({us:{
This is also the case for extending of Umbraco back office UI for an additional language.
HTH, Immo