Pablo
asked 6 years ago

If not exist, how can i translate the dates to spanish? i need it.
thanks

2 Answers
DominicStaff
answered 6 years ago

Hi Pablo !
To translate the date to the Spanish, you can open the locale.php file in the “\wp-includes” folder and edit it.

Pablo
replied 6 years ago

thanks Dominic
this not work for me, i modified the function dw_human_time_diff() to translate with __() function and words like ‘hour’, ‘days’, ‘ago’.

DominicStaff
answered 6 years ago

Hi Pablo !
To change “hour / days / ago” section on the DW Focus, you can open the functions.php file in the folder path “\wp-content\themes\dw-focus” , find the line 290 to 316. See the screenshot:
Hope this helps !

Powered by DW Question & Answer Pro