_setTranslations(zeeguuTag, translations) {

        var tran = zeeguuTag.children[0];
        translations = translations.translations;

        this._setTopTranslation(zeeguuTag, translations);
        // Setting the rest of the translations. Passing all translations except the first one.
        // Slice will return empty array if the translations length is 1.
        this._setAlternativeTranslations(zeeguuTag, translations.slice(1));

        this._set_transcount(zeeguuTag, translations.length);
    }
/**
     * Handle the Zeeguu request returned values. Append the returned translations.
     * @param {Element} zeeguuTag - Document element containing the original text and the translations.
     * @param {Object[]} translations - A list of translations to be added to the given htmlTag content.
     */
Handle the Zeeguu request returned values. Append the returned translations.
@param {Element} zeeguuTag - Document element containing the original text and the translations.
@param {Object[]} translations - A list of translations to be added to the given htmlTag content.
Handle the Zeeguu request returned values . Append the returned translations . @param { Element } zeeguuTag - Document element containing the original text and the translations . @param { Object [] } translations - A list of translations to be added to the given htmlTag content .
_setTranslations(zeeguuTag, translations) {
        var tran = zeeguuTag.children[0];
        translations = translations.translations;
        this._setTopTranslation(zeeguuTag, translations);
        this._setAlternativeTranslations(zeeguuTag, translations.slice(1));
        this._set_transcount(zeeguuTag, translations.length);
    }
_setTranslations ( zeeguuTag , translations ) { var tran = zeeguuTag . children [ 0 ] ; translations = translations . translations ; this . _setTopTranslation ( zeeguuTag , translations ) ; this . _setAlternativeTranslations ( zeeguuTag , translations . slice ( 1 ) ) ; this . _set_transcount ( zeeguuTag , translations . length ) ; }
Handle the Zeeguu request returned values.
Handle the Zeeguu request returned values .
// Setting the rest of the translations. Passing all translations except the first one. // Slice will return empty array if the translations length is 1.