Solar_Locale::setCode()

public void Solar_Locale::setCode ( string $code )

Sets the locale code and clears out previous translations.

Parameters

  • (string) $code: A locale code, for example, 'en_US'.

Returns

  • (void)

Description

Sets the locale code and clears out previous translations.



Local