This is in the plugin settings under the “Signup Form” tab, you need to set up the email template in your language.
Yes sir,
I know I can change email template, but we have 3 languages and only default template is sent. Is there a way to have 3 different templates for each language.
Also, [record_link] leads to english page.
Thanks
OK, you did not mention your site was multilingual, that is a very different situation.
The email settings are passed through the gettext function when PDB_MULTILINGUAL is enabled. This will allow you to configure all your languages into the template, and then your multilingual plugin will choose which one to use.
Take a look at this article: Localizing Participants Database
As to the [record_link] it is much easier to use a single multilingual page for that so the link will go to the same page for all users, but show the user’s preferred language. If you need to add a value to the link so that it will choose the correct language, you can do that in the email body setting…because you’ll have all your languages in the one setting, each language will have it’s own link.
That also means you can have 3 different links if you need to go that way.
Sir,
thank you very much again. Sorry for wasting your time on this. Like you said pdb_record page lead all users to one page no matter what language they are using. Also you mentioned I can add value to the link so that it can choose right language. How can I do that? I have setup of 3 record pages (each for every language).
Everything else is working like it should.
Thanks in advance
You have to build the link yourself, you can’t use the [record_link] tag. You would use the [private_id] tag to construct your link. Using your example, you would put the English page link in as:
https://websitename.something/en/record-page-2/?pid=[private_id]
Then for each translation, you’d do the link for that language.