async function addDefinitionTable(definition, idPrefix, category, project, type) {
                if(definition.translations === undefined || definition.translations.length === 0) {
                    translationLanguages.push(ED.DEFAULT_LANGUAGE)
                    return await addDefinitionTableForLanguage(definition, idPrefix, category, project, type, 0, ED.DEFAULT_LANGUAGE)
                }
                let html = translationGroupDiv
                const translations = [ED.DEFAULT_LANGUAGE].concat(definition.translations.map(t => t.language))
                for(let i = 0; i < translations.length; i++) {
                    translationLanguages.push(translations[i])
                    html += await addDefinitionTableForLanguage(definition, idPrefix, category, project, type, i, translations[i])
                }
                return html + '</div>'
            }
@param {SchemaDocument} definition 
@param {string} idPrefix 
@param {string} category 
@param {string} project 
@param {string} type 
@param {string} language 
@returns {Promise<string>}