I am translating to Portuguese-BR this theme. But, i can not find the command to translate the date, that appears partially translated (5 de May de 2015, for example – weeks and months still shows in english).
If you want to translate to Portuguese-BR (Pt-BR) the date, you can do as the following:
Open the functions.php file in the folder path "wp-content -> themes -> dw-focus". Find the line 340.
Replace the following code:
return date( get_option( 'date_format' ), $from );
With new code:
return date_i18n( get_option( 'date_format' ), $from );
Hope this help!
Please login or Register to submit your answer