I integrated a small contact form with the Uniform plugin. I have a multilang (de, en) site. For the labels and the submit button I use “<?php echo l::get('...') ?>”.
I need a little help how to switch the error messages, which I use from the controller example, because the above php command din’t work.
It is a bit confusing, because i did the other language customizations in the language files of the plugin. But the controller files are system files I assume.
I think those language files only work within the plugin because that’s where they are loaded. You can’t use them from controllers, templates, snippets etc. though. Also, it is not recommended to touch the plugin files, because your changes would be overwritten if you update the plugin.