[FIX AVAILABLE] Confirmation buttons broken in Russian/Arabic/Chinese - PR #15805 submitted

Issue: Confirmation Buttons Show Unicode Escapes in Non-Latin Languages

Status: :white_check_mark: Fix submitted as PR #(ваш номер PR)
Affects: Mautic 6.x & 7.x
Priority: High (internationalization bug)

The Problem

Users of Russian, Ukrainian, Arabic, Chinese, Japanese, and other non-Latin languages see garbled text in confirmation buttons throughout Mautic:

Example: “Отмена” (Cancel) appears as \\u041E\\u0442\\u043C\\u0435\\u043D\\u0430\

The Solution is Ready!

I’ve already submitted a Pull Request with the fix:
PR #15805: Fix Unicode character encoding in confirmation modal buttons

The fix is simple and safe:

diff

{%- set attr = attr|merge({‘data-cancel-text’: cancelText|escape(‘js’)}) %}

{%- set attr = attr|merge({‘data-cancel-text’: cancelText|escape(‘html_attr’)}) %}

Why This Matters

  1. Affects all non-English installations - this isn’t a niche issue
  2. User-facing bug - looks unprofessional to end users
  3. Simple, low-risk fix - just changes escaping context
  4. Already tested - works in both 6.x and 7.x

Call to Action for Community

If you use Mautic with non-Latin languages, please:

  1. Confirm this issue affects you (comment below)
  2. Review the PR if you’re a developer
  3. Upvote this topic for visibility
  4. Tag maintainers who should see this

Call to Action for Core Team

@mautic/team @developers

This PR is ready for review:

:white_check_mark: Minimal change (one line)
:white_check_mark: Properly tested
:white_check_mark: Affects both 6.x and 7.x
:white_check_mark: Community impact confirmed

Can we prioritize this for the next patch releases?

Current Status

  • PR: Submitted and waiting review
  • Testing: Verified working in 6.x & 7.x
  • Risk: Low (security-maintaining escaping change)

Screenshots

Before: \u041E\u0442\u043C\u0435\u043D\u0430

After: Отмена


Thanks for this! Instructions for testing can be found at Tester — Mautic Community Handbook 0.1 documentation. I added a note on your PR as it needs rebasing, but hopefully the branches won’t have diverged too much at this point in time.

I rebased it - is everything ok?
You also need to upload branch 6. in 6.0.8 for example

It won’t be fixed in 6, as that version is in security-only support now:

So we’d fix this in the 7.0.1 release ideally.

It’s a pity and strange, because, It’s too early to use version 7 for production.
Is Mautic 6 an intermediate version?

6.0 is LTS, and so is 5.2. Those are both in long term support, with security fixes only.

7.x will have active development with bug fixes, security fixes and features for the next 12 months, and then will have security fixes only until the end of Q4 2027 when it’ll come to the end of security support.

While 7 is our new major release, most folks are waiting on 5.2 until the end of security support (end of Q2 2026) and then transitioning over to 7 directly, and skipping 6. Failing that you can get Extended Long Term Support for 5 to give you an extra two years of using 5, or one year for using 6, if you can’t update yet.

Read about the reason for our shorter release cycle on 6 and generally how we manage support periods here: Introducing Mautic's new release strategy: Long Term Support for enhanced stability and continuity - Mautic.

1 Like