translator.dictionary()
Last updated
Was this helpful?
Last updated
Was this helpful?
The translator.dictionary()
function returns(flattened map) the global and/or given , optionally merged with the dictionary retrieved from of this dictionary.
$key: null
$dictionary: ()
Dictionary of (flatten) map or list(dictionary keys) type to retrieve.
$global: null
The return value is a flattened map dictionary consisting of (word:translation).
A key to deep merge the dictionary under this key with a global dictionary and/or with .
A bool
value indicates whether to use a global dictionary. Default, null
, then is checked.