Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
p01-contact : simply add contact forms in your pages
(2013-10-14, 06:40:45)TeeJay Wrote:
(2013-10-13, 18:52:55)phpman Wrote: Hi,

is it possible to use p01-contact in multi language envirorment too?

Currently i have german and english site made by N18N plugin. But if i have default "german" in the config
the results of the p01-contact form are shown german only. But if i use (phone"Telefon") i can modify this
but not all outputs are than in other languages.

Any idea?

Yes, it is, but with some restriction - not everything will be translated.

You can redefine the text in the form (field labels) like this
Code:
<p>
(% contact : teejay.net@seznam.cz, subject! "Subject", email! "E-mail", phone "Phone number", radio "How long would you like to stay?" = "1 week" selected | "2 weeks" | "3 weeks or more", textarea "Please, sends at least a short message here.", select "Preliminary day of arrival" = "1." selected | "2." | "3." | "4." | "5." | "6." | "7." | "8." | "9." | "10." | "11." | "12." | "13." | "14." | "15." | "16." | "17." | "18." | "19." | "20." | "21." | "22." | "23." | "24." | "25." | "26." | "27." | "28." | "29." | "30." | "31." |, select "month" = "January" selected | "February" | "March" | "April" | "May" | "June" | "July" | "August" | "September" | "October" | "November" | "December" , captcha "Security code" %)
</p>

You can change the text in between the quotes "" of course. Then you'll copy the form to the second language and just change the strings between the quotes again.

So you can change all the field labels, but not the texts shown after the form is sent (Mail has been successfully sent...).

Hi, i need that this select options are taken from language file. Is it posible.

example.
select = "var1" | "var2" | "var3"

language file:
'var1' = 'bmadfkpbm'
'var2' = 'asrfgbae'
'var3' = 'sfbadgnbsfgn'
Reply


Messages In This Thread
RE: p01-contact : simply add contact forms in your pages - by kuzma - 2013-11-29, 21:16:47
askcopy syntax Not Working - by celextel - 2019-05-24, 01:54:40
RE: askcopy syntax Not Working - by celextel - 2019-05-28, 01:51:47



Users browsing this thread: 2 Guest(s)