I am trying to:
Create a custom archives template for Posts that includes display of the post date. When viewing the template in a different language, Post Date should be translated, provided that strings are translated via WPML, which they are.
Link to a page where the issue can be seen:
hidden link (English)
hidden link (Irish)
I expected to see:
Post Date translated to Irish when placed via the Single Field block.
Instead, I got:
When the Post Date is placed in the template via a Single Field block, the Month value is not being translated. However, if I place the Post Date in the same template via the shortcode [wpv-post-date], it does translate. Please see screen shots.
Hi,
Thank you for contacting us and I'd be happy to assist.
To troubleshoot this, I'll need to see how this template and WPML string translations are set up in the admin area.
Can you please share temporary admin login details, in reply to this message?
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
regards,
Waqar
Hi. I found a workaround that is suitable. When I place the [wpv-post-date] shortcode into my archive template directly, via a Custom HTML block instead of the Single Field block, the date value translates as expected. I have some bigger fish to fry right now so I'm going to close this ticket.
Thanks!