Self Hosting and Setup

Hey guys, I have an instance of Mautic fired up on a server and am running into a few difficulties.



All the labels look like this “mautic.dashboard.label.unique.visitors” or “mautic.dashboard.header.index” which makes it difficult to use. I figured it was a language problem and that I could fix it by switching from one language to another, but I could not and instead get this error “mautic.core.could.not.set.language”.



Any thoughts?

Hey guys, I have an instance of Mautic fired up on a server and am running into a few difficulties.

All the labels look like this “mautic.dashboard.label.unique.visitors” or “mautic.dashboard.header.index” which makes it difficult to use. I figured it was a language problem and that I could fix it by switching from one language to another, but I could not and instead get this error “mautic.core.could.not.set.language”.

Any thoughts?

English is the default language and is present in the default package. Did you install your Mautic from the official package?

The error message you are getting is described and fixed in https://github.com/mautic/mautic/pull/1496

I don’t doubt that the issues are related but everything output by mautic is in that cryptic format. Looking at the code there seems to be a function that is used for messages and labels formatted like this trans($message) but it is just passing the code, not the message. Looking at this page https://git.easy.cz/msirovy/mautic/blame/master/app/bundles/InstallBundle/Translations/en_US/messages.ini It appears I am only getting the variable not the variables value.