Localisation support

<< Go back

API

Searching for locales

Whenever you want to load a locale named 'example', you should use functions defined in lib/locale.php. If it is possible it will look for your locale definition file in all paths defined in $Config['LocalePath'] which is a string separated by semicolons. You should be able to do this like in example below to search your path at the end.

	$Config['LocalePath'].=';mypath/';
	locale('example');