Adding html attributes for language: code and text direction.