Update javadoc of Resource::getLanguage