diff --git a/src/generic/helphtml.cpp b/src/generic/helphtml.cpp index 228b436b11..13ea6eeecf 100644 --- a/src/generic/helphtml.cpp +++ b/src/generic/helphtml.cpp @@ -115,6 +115,15 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile) newfile << WXEXTHELP_SEPARATOR << wxGetLocale()->GetName(); if(wxDirExists(newfile)) file = newfile; + else + { + newfile = WXEXTHELP_SEPARATOR; + const char *cptr = wxGetLocale()->GetName().c_str(); + while(*cptr && *cptr != '_') + newfile << *(cptr++); + if(wxDirExists(newfile)) + file = newfile; + } } if(! wxDirExists(file))