DosGetLocaleModule loads a resource based on the locale currently in use or the system language. It returns the handle to the module.
#include <os2.h>
PHMODULE phmod; /* An HMODULE is returned for the resource module. */
PSZ pszModname; /* The address of the resource name. */
PSZ pszLocname; /* The address of the resource name. */
APIRET ulrc; /* Return code. */
ulrc = DosGetLocaleModule(phmod, pszModname,
pszLocname);