Hello
In my environment (App Engine Standard PHP 5.5) I have a problem with the
language of the dates. I need to show them in Spanish, but I can not make
it work.
In my local environment it is translated without problems, but in
production it shows the dates in English.
In my php.ini I already put this:
date.timezone = "America / Argentina / Cordoba"
extension = "intl.so"
And in the code where I need to show the dates in Spanish I tried this:
setlocale (LC_TIME, 'es_AR.UTF-8', 'es_AR', 'es-AR');
echo strftime ("% d of% B", strtotime ($ event_date));
and in this way also:
setlocale (LC_TIME, 'es_ES.UTF-8', 'es_ES', 'es-ES');
echo strftime ("% d of% B", strtotime ($ event_date));
Am I doing something the wrong way?
Thank you very much
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/9c3e8b62-bc46-407c-97a4-c9be4ab4e81d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.