08-27-2009 08:34 AM
Solved! Go to Solution.
08-28-2009 03:07 AM
Well in part it's that sort of area, on XP I see :-
Regional and Languages options, then the Regional Options tab.
But there is also the IE language.
I mean really if you want to hardcode everything to English .. try either not making people local administrators on their machine, or use a group policy to prevent people changing the regional settings (and IE settings).
08-27-2009 11:14 AM
DWORD CAcceptLanguageFilter::OnPreprocHeaders(CHttpFilterContext* pCtxt,
PHTTP_FILTER_PREPROC_HEADERS pHeaderInfo)
{
char szBuf[1024];
memset(szBuf, 0, 1024);
DWORD dwSize = 1024;
pHeaderInfo->GetHeader(pCtxt->m_pFC, "Accept-Language:", &szBuf, &dwSize);
char *sz;
if(strnicmp(szBuf + strlen(szBuf) - 3, ",EV", 3) == 0)
{
sz = "en-US,EV";
}
else
{
sz = "en-US";
}
pHeaderInfo->SetHeader(pCtxt->m_pFC, "Accept-Language:", sz);
// TODO: React to this notification accordingly and
// return the appropriate status code
return SF_STATUS_REQ_NEXT_NOTIFICATION;
}
char* sz; sz = "en-us"; pHeaderInfo->SetHeader(pCtxt->m_pFC, "Accept-Language:", sz);
08-27-2009 01:17 PM
08-27-2009 11:28 PM
08-28-2009 12:16 AM
08-28-2009 03:07 AM
Well in part it's that sort of area, on XP I see :-
Regional and Languages options, then the Regional Options tab.
But there is also the IE language.
I mean really if you want to hardcode everything to English .. try either not making people local administrators on their machine, or use a group policy to prevent people changing the regional settings (and IE settings).
09-30-2009 10:14 AM