Short version of weekdays in Persian

Hi
On calendar date picker, short version of weekdays in Persian are same as full version and weekday names run off the date picker box:

image

Please change them like this:

sun => یک
mon => دو
tue => سه
wed => چهار
thu => پنج
fri => جمعه
sat => شنبه

thank you!

1 Like

You’ll need to edit translations on Transifex. https://www.transifex.com/discourse/discourse-org/

2 Likes

Thank you. I tried some searching for “شنبه” on transifex, but I couldn’t find the related resource.

The labels aren’t on Transifex. They are coming from https://github.com/moment/moment/tree/develop/locale

https://github.com/discourse/discourse/commit/2c08d43539a287cf60efd1296190b41f63949bcb will make it more readable.

5 Likes
        weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
        weekdaysShort : 'یک_دو_سه_چهار_پنج_جمعه_شنبه'.split('_'),
        weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),

weekdaysShort could also be changed here as above code. This short version would make sense to users if the context is clear, like here at date picking box. full version and min version are completely correct.

Thanks

4 Likes