/** * Sets the locale for translations * * @param string $locale Locale to use for the translation, e.g. 'fr_FR' * * @return $this The current object (for fluent API support) */ public function set($locale = '') { $this->currentLocale = $locale; return $this; }