Language detection bug fix: go back the locale collate solution for Windows