Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 1 year, 7 months ago.

Assisted by: Long Nguyen.

Author Posts
October 30, 2023 at 8:09 am #14688877

carloB-40

Hi

All the date related functions is not being translated for example i am using this get_the_date(). I am using bedrock implementation which the dates functions are not working. I do normal wordpress installation the functions are being translated correctly (with same theme same options). On the bedrock installation on composer is needed this "wordpress-install-dir": "web/wp" I am not sure if this is related with the issue.

Thank you

October 31, 2023 at 5:17 am #14696517

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Carlo,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

You can try to use the function date_i18n() to retrieve the date in a localized format. Please read more in the documentation https://developer.wordpress.org/reference/functions/date_i18n/

Note: I would like to inform you that helping you with custom code, is out of the scope of WPML. If you are not able to accomplish this, I would recommend you contact one of our certified partners who will be more than happy to help you with this. In this link, you will find a list of our certified partners: https://wpml.org/contractors/

Thanks

The topic ‘[Closed] date functions (get_the_date()) not being translated to other languages’ is closed to new replies.