php - setlocale is not always being set (intermittently working correctly) -


i'm using php's setlocale(lc_time, country) set server's locale temporarily spanish (es_es.utf8) or french (fr_fr.utf8).

i use strftime() print out date in selected locale's language.

after testing setlocale refreshing page , echoing out, not being set half of time, , displaying date in english fall-back.

are there reasons setlocale not work 100% of time. needs work without fail.

chrome caching issues.

always develop chrome's cache off within developer tool-bar.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -