I18Nv2_Language::isValidCode() – Check if language code is valid


require_once 'I18Nv2/Language.php';

boolean I18Nv2_Language::isValidCode ( string $code )


Check if the supplied two/three letter language code is valid.


string $code

two/three letter language code

Return value

Returns boolean whether the two/three letter language code is valid.


This function can not be called statically.

Return name of the language for language code (Previous) Translation2 (Next)
Last updated: Tue, 17 Jan 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.