Skip to main content

Fluent Messaging - Groups (missing translations + workaround)

Workaround while waiting for official translation support

The new group chat strings (New Group, Group name, Add members, etc.) are missing from the .po/.pot file, so they can't be translated via Loco Translate or similar tools. Until the team adds them officially, here's a script to paste into FluentCommunity β†’ Settings β†’ Custom JS :

(function() {
    if (typeof window.fcomChatVars === 'undefined' || !window.fcomChatVars.i18n) {
        return;
    }

    var traductions = {
        "Groups": "Chat Groupes",
        "New Group": "Nouveau groupe",
        "Group name": "Nom du groupe",
        "Enter a group name": "Entre le nom du groupe",
        "Add members": "Ajouter des membres",
        "Create group": "CrΓ©er le groupe",
        "Make admin": "Nommer admin",
        "Remove member": "Retirer ce membre",
        "Leave group": "Quitter le groupe",
        "Delete group": "Supprimer le groupe",
        "Rename group": "Renommer le groupe"
    };

    for (var cle in traductions) {
        if (traductions.hasOwnProperty(cle)) {
            window.fcomChatVars.i18n[cle] = traductions[cle];
        }
    }
})();

Just replace the right-hand values with your own translations, keeping the English keys on the left as-is.

That said, it would obviously be better if these strings were added directly to the official translation file.

Claudy Scoufy

Drive Zone , Gerben Bloemendal , Birgit : I think you reported this as well. Dev: Tawsif Ahmed Riyad , Md. Ariful Islam so you can add this natively 😊

Claudy Scoufy, we will look into this, thank you.

(update: fixed in dev.)