I created a new Silverstripe-site and startet with german language by default.
Everything works perfectly but creating user defined forms for contacting purpose in two languages fails.
Creating a german udf-page "Kontakt" and filling in some fields and boxes works fine.
Translating this page into english "Contact" messes up the whole system. Changing texts and forms to "EN" automatically overwrites the german page...CMS can't handle it and freezes.
After restart german pages inherit all the english settings and vice versa???
Do these forms share their fields and settings!? How to fix that?
I'n not a php crack and really need support! Thanks!!!
thanks for your support! I'm not quite sure if I can add the translatable extension to that class that easy...all efforts to create translatable fields by creating classes wich are loaded after the sitetree core fail so far... I think the il8n routine doesn't take all the additional classes and fields into account...I can only create some translatable fields by modifying the sitetree.php (but that works fine)
I created a clumsy workaround for translatable fieldlabels by connection a language detection to all the names (assigned as varaibles) used in the form... this way some standards (name, email, message, etc.) are automatically translated in the right langauge... not the best way but does the job.