add locale field in language spec