46.127 SET_SESSION_LANG Procedure

This procedure sets the language for the current user in the current Oracle APEX session. The language must be a valid IANA language name.

Syntax

APEX_UTIL.SET_SESSION_LANG (
    p_lang IN VARCHAR2 );

Parameters

Table 46-108 SET_SESSION_LANG Parameters

Parameter Description
p_lang This is an IANA language code. Examples include en, de, de-at, zh-cn, and pt-br.

Example

The following example sets the language for the current user for the duration of the APEX session.

BEGIN
    APEX_UTIL.SET_SESSION_LANG( P_LANG => 'en');
END;