Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php get locale active

$currentLocale = setlocale(LC_ALL, 0);
echo $currentLocale; //outputs C/en_US.UTF-8/C/C/C/C on my machine
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #locale #active
ADD COMMENT
Topic
Name
2+8 =