Opt-Out Text supported languages

Currently, not all languages are supported in the opt-out. Is there a way to create languages of the opt-out texts in Matomo or Matomo Cloud itself?

Example for a missing language:
https://demo2.matomo.org/index.php?module=CoreAdminHome&action=optOut&language=hr

Hi,

The You may choose to prevent ... string is called YouMayOptOut2, so you can take a look at the translation strings in plugins/CoreAdminHome/lang/XX.json for it.
As you can see, even though parts of Matomo are translated in Croatian, these strings are not.

The best way to contribute is to join the translation team at

Then in the next minor Matomo release (which probably now will be Matomo 4), it will be included.

If this is a too long-term solution, you can in addition create a Javascript-based opt-out form with your own texts:

https://developer.matomo.org/guides/tracking-javascript-guide#optional-creating-a-custom-opt-out-form