SproutCMS

This is the code documentation for the SproutCMS project

function setLocale()

Set the locale to something other than the default
Useful for multi-currency shopping carts, for example.

Usage

void I18n::setLocale ( string $country );

Arguments

  1. string $country
    The country to set the locale to, e.g. 'AUS'.

Return value

  • void