Welcome to the Cookbook

loading...

3.15.1.1 __

__(string $string_id, boolean $return = false)

This function handles localization in CakePHP applications. The $string_id identifies the ID for a translation, and the second parameter allows you to have the function automatically echo the string (the default behavior), or return it for further processing (pass a boolean true to enable this behavior).

Check out the Localization & Internationalization section for more information.