Oracle9iAS Portal Developer Kit

get_translation_language function

Contained in package wwctx_api.

Call this function to return the translation language used by the current Oracle Portal user.

function get_translation_language

return varchar2;

Version: Oracle9iAS Portal 9.0.2 or later

Returns:

This function returns the translation language used by the current Oracle Portal user.

Exceptions:

  • If no session is found, NO_SESSION_EXCEPTION is raised.
  • If the cookie is corrupt, INVALID_COOKIE_EXCEPTION is raised.
  • If the Single Sign-On configuration is not correct, SSO_CONFIG_EXCEPTION is raised.
  • If the remote session is missing, NO_REMOTE_SESSION_EXCEPTION is raised.
  • If local node information is missing, NO_LOCAL_NODE_EXCEPTION is raised.

Example:

l_translation_language varchar2(30);
l_translation_language := wwctx_api.get_translation_language;

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio