This support ticket is created Il y a 2 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hello and thank you for contacting the Toolset support.
Toolset uses WordPress functions to render date fields. WordPress on the other hand uses PHP functions to render a date. The used functions are forced to use the server locale. However, WordPress does offer some other functions that support localization.
Check this article https://wordpress.org/support/article/formatting-date-and-time/#localization
This being said, you will need to build your own shortcode that will render the date in the desired language. And you will be able to do it with two functions (setlocale to set the language), then strftime to format the time value. This is a simple PHP example:
This being said, please note that this is a general PHP question, rather than a Toolset specific question. So, it is considered custom code and it is out of the scope of the support. If you are not comfortable with PHP programming consider hiring a developer https://toolset.com/contractors/
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.