function getDependenciesOfLanguage (lang)
{
	if (!components.languages[lang] || !components.languages[lang].require)
	{
		return [];
	}

	return ($u.type(components.languages[lang].require) === "array")
		? components.languages[lang].require
		: [components.languages[lang].require];
}
Returns all dependencies (as identifiers) of a specific language

@param {string} lang
@returns {Array.<string>} the list of dependencies. Empty if the language has none.