Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

loadLocaleResources(localeRefs)

Updated on July 20, 2021

Loads all the locale resources from the locale references if the user locale is different from the base locale.

Returns

Not applicable.

Parameters

NameTypeDescriptionRequired
localeRefsarrayThe list of the locale references to be loaded.

Usage example

In this example, the API loads all the locale resources from the specified locale references if the user locale is different from the base locale.

PCore.getLocaleUtils().loadLocaleResources(["WORK-HOME!PAGE!PERSONALINFO", "WORK-HOME!CASE!FINANCIALSTATUS"]);

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us