IcuDatFileLoader
class IcuDatFileLoader extends IcuResFileLoader
IcuResFileLoader loads translations from a resource bundle.
Methods
load(mixed $resource, string $locale, string $domain = 'messages')
Loads a locale.
array
flatten(ResourceBundle $rb, array $messages = array(), string $path = null)
Flattens an ResourceBundle.
from IcuResFileLoader
Details
protected array
flatten(ResourceBundle $rb, array $messages = array(), string $path = null)
Flattens an ResourceBundle.
The scheme used is: key { key2 { key3 { "value" } } } Becomes: 'key.key2.key3' => 'value'
This function takes an array by reference and will modify it