Correctly read nameWithLanguage attributes. Closes #11