Method: l::set
Sets a language value by key
Info
Syntax
l::set($key, $value=null)
Parameters
- $key (mixed) The key to define
- $value (mixed) The value for the passed key
Example
// in the german translation file
l::set('yes', 'Ja');
// in the english translation file
l::set('yes', 'yes');
// set multiple values at once
l::set(array(
'yes' => 'Ja',
'no' => 'Nein'
));