Fixed issue on retrive correct language code by path.