| nls_to_http function

Related topics
Contained in package wwnls_api. Call this function to map a NLS language name to the corresponding HTTP language abbreviation. For a given NLS language, there could be multiple HTTP languages based on the territory. In the Oracle Portal schema, an installed NLS language is mapped to just one HTTP language. This function returns the HTTP language that corresponds to an installed NLS language. Note: An HTTP language abbreviation is either a two character language abbreviation or a five character code that consists of a two character language abbreviation followed by a hyphen and a two character country code, e.g. 'en', 'en-gb', 'es', 'es-mx'. The common browsers use these language codes. function nls_to_http ( p_nls_language in varchar2 ) return varchar2;

Version: Oracle Portal 3.0.9
Parameters:
p_nls_language | An NLS language abbreviation. Datatype: varchar2
Returns: This function returns a mapped HTTP abbreviation constant for the NLS language name constant specified. Exceptions: This function raises no user-defined exceptions. Example: This example returns: en declare l_http_language varchar(2000) begin l_http_language := wwnls_api.nls_to_http ( p_nls_language => wwnls_api.AMERICAN ); end;

Related topics
NLS API package | PDK PL/SQL API Reference - Home

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