XLL+ Class Library (6.3)

::XllGetTranslatedStringA

Translates a string containing resource IDs, for the language of the Excel version

CStringA XllGetTranslatedStringA(
   const char* pszIn
);

Parameters

pszIn

input string, which may contain numeric resource string identifiers. See Remarks below.

Return Value

If the function succeeds, the translated string will be returned. If it fails, then an untranslated or partially translated string will be returned.

Remarks

This function attempts to replace the resource string IDs in the input string with resource strings loaded from the current resource file. The resource file searched will be that returned by XllGetStringResourceHandle). The language used will be either the current user preference (as returned by GetThreadLocale()) or the language of the Excel version (as returned by XllGetExcelLanguageID).

String identifiers should be in one of the following forms:

String substitutions

This function calls XllTranslateString and ignores errors.

Requirements

Header: xllres.h

See Also

Global resource functions | XllTranslateString