detachResourceFiles(cultureInfo: PP.CultureInfo);
cultureInfo. The language for which you want to detach resource files.
The detachResourceFiles method detaches all resource files for a specified language.
Before executing this example the user should start the scenario given in the page with description of the ResourceManager.load method. Detach all resource files for English language and check operation execution result:
// Detach resource files for English language resourceManager.detachResourceFiles(PP.Cultures.en); // Determine the line by the key dateTimeEditMonthNames1 in various languages userProc();
After example execution the browser console displays the value that corresponds to the resource key dateTimeEditMonthNames1 for Russian and English languages:
Line by the key dateTimeEditMonthNames1 for Russian language: January
Line by the dateTimeEditMonthNames1 for English language is not determined
As it is clear, resource files for English language are removed.
See also: