private void ensureSameLanguages(FileGroup fileGroup1, FileGroup fileGroup2)
        {
            var l1s = fileGroup1.GetLanguageCodes(_project).OrderBy(m => m, OrderByDirection.Ascending);
            var l2s = fileGroup2.GetLanguageCodes(_project).OrderBy(m => m, OrderByDirection.Ascending);

            var s1 = string.Join(@", ", l1s);
            var s2 = string.Join(@", ", l2s);

            if (!s1.EqualsNoCase(s2))
            {
                throw new Exception(
                          $"File group '{fileGroup1.GetNameIntelligent(_project)}' and file group '{fileGroup2.GetFullNameIntelligent(_project)}' have different languages " +
                          $"({s1} and {s2}). " +
                          Environment.NewLine +
                          Environment.NewLine +
                          "Please ensure to only merge files with the same languages.");
            }
        }