version 1.18, 2006/01/10 19:41:15
|
version 1.21, 2006/11/10 18:14:58
|
|
|
//%2005//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
// EMC Corporation; VERITAS Software Corporation; The Open Group. | // EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Humberto Rivero (hurivero@us.ibm.com) |
|
// |
|
// Modified By: Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3697, 3698, 3699, 3700 |
|
// Aruran, IBM (ashanmug@in.ibm.com) for Bug# 3701, 3702, 3703 |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_LanguageParser_h | #ifndef Pegasus_LanguageParser_h |
|
|
static String buildContentLanguageHeader( | static String buildContentLanguageHeader( |
const ContentLanguageList& contentLanguages); | const ContentLanguageList& contentLanguages); |
| |
|
#ifdef PEGASUS_HAS_ICU |
|
/** |
|
Converts a locale ID to language tag syntax by replacing the '_' |
|
separators with '-' separators. |
|
@param localeId The locale ID string to convert to language tag |
|
syntax. The conversion is performed on the localeId object |
|
directly. |
|
@return The converted String with language tag syntax. |
|
*/ |
|
static String& convertLocaleIdToLanguageTag(String& localeId); |
|
#endif |
|
|
/** | /** |
Returns the default accept languages based on environment settings. | Returns the default accept languages based on environment settings. |
ATTN: What is the behavior? This is only implemented if MESSAGES and | ATTN: What is the behavior? This is only implemented if MESSAGES and |