Having trouble translating archive dates/times
-
So, I’m having an odd issue.
The dates weren’t being translated in this shortcode-created archive. The function being used to grab the dates was the_time( ‘d F’ );
Well, in my local environment, I played around with using date_i18n to see if that would get the dates to translate. It didn’t work, so I switched back to using the_time instead. Suddenly, the translations started working perfectly (despite no changes at all to the code). Now the translation is working perfectly locally, but on my live environment, it doesn’t work at all. I don’t really know how to troubleshoot it.
Is there a recommended methodology for getting dates to translate correctly, and is there a way I might have jiggled the machine to get it to work locally that I’d be able to replicate on the live environment as well?
The page I need help with: [log in to see the link]
- The topic ‘Having trouble translating archive dates/times’ is closed to new replies.