7

validatelocale

validate_locale
SYNOPSIS

validate_locale($locale)

DESCRIPTION
CODE
  1. function validate_locale($locale) {
  2.     global $system_languages;
  3.  
  4.     return in_array($locale, $system_languages);
  5. }

Comments

To add a comment, click here.