Hi,
I am new to umbraco. i want to change the umbraco datetime to persian date(in the both back-end and front-end) and i have no idea where to start.
should i create a new property type? by the way i change the culture in the latest umbraco(7.5.2) to persian and nothing happend.
Hi Shakib.
Is your back office user language set to Persian or the default English? I think that the date picker in the back office culture should be based on what language the current logged in user is set to.So by changing the user language to Persian, that should affect the datepickers.
Same goes for your front end. You set front end site language by right clicking on the root node and select "Culture and host name".
absolutely,
i want the umbraco to have persian language but i dont know how to add it my self.
if there is a way i can add it my self just tell me the way and i'll contribute.
When you are done, contribute this language to the Core and you will help others who also need Persian. (And you get a awesome 'Contrib' badge on your Our profile.) ;)
Jalali(Persian) DatePicker In Umbraco
Hi, I am new to umbraco. i want to change the umbraco datetime to persian date(in the both back-end and front-end) and i have no idea where to start. should i create a new property type? by the way i change the culture in the latest umbraco(7.5.2) to persian and nothing happend.
Hi Shakib. Is your back office user language set to Persian or the default English? I think that the date picker in the back office culture should be based on what language the current logged in user is set to.So by changing the user language to Persian, that should affect the datepickers.
Same goes for your front end. You set front end site language by right clicking on the root node and select "Culture and host name".
Hope this helped.
Yes Dennis I Set The Language Like you said but nothing changed.
Hi again.
You have set the front end culture on that pic.
Go to Umbraco/Users and change the language for the logged in user and she if the date pickers change.
persian is not in list. how to add it ?? is it enough to add .xml file to Config/Lang ??
Unfortunately this means that Umbraco back office doesn't support Persian at the moment.
Maybe you could contribute to the core by adding translations for Persian?
absolutely, i want the umbraco to have persian language but i dont know how to add it my self. if there is a way i can add it my self just tell me the way and i'll contribute.
Awesome, h5yr!
Check out this tutorial on how to extend Umbraco with a new language and thereby also specifying the culture for that language: https://our.umbraco.org/documentation/extending/language-files/
When you are done, contribute this language to the Core and you will help others who also need Persian. (And you get a awesome 'Contrib' badge on your Our profile.) ;)
Here is a great tutorial on how to contribute to Umbraco Core: http://24days.in/umbraco/2014/your-first-pull-request/
Best of luck to you, have a great day!
thank you so much for helping... ;)
No problem, have a good day.
Hope you get to contribute soon and that I'll see Persian as one of the Umbraco supported languages in the future. :)
Take care!
is working on a reply...