Hi,
I would appreciate if someone could tell me what's the best way to create a multilingual form, or at least two forms that write into the same db-table without complaining.
Thanks a lot!
Hi,
I would appreciate if someone could tell me what's the best way to create a multilingual form, or at least two forms that write into the same db-table without complaining.
Thanks a lot!
try this
This example is for translation of english and danish: {{iflng::en}}Your Name{{iflng}} {{iflng::da}}Dit navn{{iflng}}
reference can be found here http://www.contao.org/en/insert-tags.html
in some cases, installing the relevant additional language pack also helps frontend translation on forms
geung
That's clever, thanks!
Additionally, it's always good to know that the {{iflng}} and the {{ifnlng}} (if not language) insert tags are the only ones which will be parsed separately so that one could include other insert tags into them.
Knowing this you may find it useful to build something like this in your form:Code:{{iflng::en}}{{some_other_inserttag}}{{iflng}}
Hello,
I'm excavating this post because I got a problem with form manager + EFG.
As said, I'm using {{iflng:xx}} in form labels but they seem not being parsed in the BE so we can see in EFG formdata : "{{iflng::fr}}Nom{{iflng}}{{iflng::en}}Name{{iflng }}" instead of "Nom" or "Name" depending on the language choosen in the backend.
Is there a solution ?
Thanks.
Bookmarks