InstanceLocaleLoader
Owns the lazy per-locale loading state for an instance-decoded JSONTranslator (a folder of per-locale JSON StringValues / ModuleScripts): which locales are available, which have already been loaded, and the accumulated entry lookup.
Decodes and writes a locale's entries to the TranslatorService only the first time that locale is needed. The service is resolved from the ServiceBag passed to the constructor, so callers never have to thread a writer through each load call.
Functions
new
InstanceLocaleLoader.new(translatorName: string,sourceLocaleId: string,--
always loaded, the fallback for every key
) → InstanceLocaleLoader