You don’t need to change any code.
get_the_date without an argument will use the date_format option in your WordPress settings. The option F j, Y
will substitute F
as “September”, but if you have a translation of “September” it will be used.
Comments have suggested the use of date_i18n. This is used automatically when you call get_the_date(). Translations of the days and months are in WordPress core and will be used if installed. e.g. The Chinese translation of “September” is here,
However, if you want to print “2017年9月13” I think you will have to set a custom format in your WordPress settings as:
Y年m月d
Under Settings > General > Date Format, select “Custom” and enter that into the field. I’ve tested that and it formats the Chinese characters just fine.