extracting lang directory