Hi Robert,
You can try the solutions posted above: change the default language in the \mysite\_config.php file to the language you want to create a form in.
Hope this helps.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi Robert,
You can try the solutions posted above: change the default language in the \mysite\_config.php file to the language you want to create a form in.
Hope this helps.
Thanks Patrick
My understanding would be that if I changed this, then the I would be able to create the form in an alternative language, but then the english form would be in that language.
Robert
The way I understood the post (and you guys can correct me if I'm wrong) is this:
For example, I have an English site with Spanish translation. I have a form in English that I want to translate.
1) Change the default language of the form from English to Spanish.
2) Go into the CMS and select English on the language tab, then edit the form I want translated.
3) Go to the Translations tab, select Spanish and click on Create.
4) Create your form and save+publish it (try with one field first so you don't waste time if it doesn't work).
5) Once you're done, repeat the process with other languages and then put the default back to English.
(Note: I'm typing this from memory)
Both Patrick and ayyurek's solutions worked for me on v2.4.5.
The advantage to patrick's is it requires no code change, so non developers can do it. One difference - we handled the domain-per-locale routing in mysite/_config.php instead of .htaccess.
We use ayyurek's solution when we don't have unique domains per locale.