|  Download I18Next\Locale\Translations
Class name: Translations
Namespace: I18Next\Locale
 Properties$namespace_priorityprotected string[] $namespace_priority = []
 $use_filename_as_namespaceprotected bool $use_filename_as_namespace = false
 $loader_formatprivate string $loader_format = json
 $loader_format_extprivate string $loader_format_ext = json
 Methodsloadmixed I18Next\Locale\Translations::load(string path, bool use_filename_as_namespace, string|null namespace_priority)
 Arguments
path string
use_filename_as_namespace bool
namespace_priority string|null
 loadSinglearray I18Next\Locale\Translations::loadSingle(string path)
 ArgumentsuseFilenameAsNamespacemixed I18Next\Locale\Translations::useFilenameAsNamespace(bool|null enabled)
 ArgumentssetNamespacePrioritymixed I18Next\Locale\Translations::setNamespacePriority(string|null namespace_priority)
 Arguments
namespace_priority string|null
 processKeyVariationmixed I18Next\Locale\Translations::processKeyVariation(string processorClass, string key, value)
 Arguments
processorClass string
key string
value mixed
 afterReadProcessForKeyCountersmixed I18Next\Locale\Translations::afterReadProcessForKeyCounters()
 afterReadProcessForKeyDeepInlinemixed I18Next\Locale\Translations::afterReadProcessForKeyDeepInline()
 afterReadAddNamespaceIfNeededmixed I18Next\Locale\Translations::afterReadAddNamespaceIfNeeded(array config, string namespace)
 Arguments
config array
namespace string
 useNamespacesbool I18Next\Locale\Translations::useNamespaces()
 getNamespaceRankedstring[] I18Next\Locale\Translations::getNamespaceRanked()
 setLoaderFormatmixed I18Next\Locale\Translations::setLoaderFormat(string format)
 Arguments |