This seem to be a bit fragile. We may get index out of bound exception if the language is not in such format.