Was change to use the Locale#getLanguage. #27

Please review #27 ,and merge to 1.0.x branch.