eduard Posted October 7, 2012 Share Posted October 7, 2012 What do I've to translate of my contact.php for spanish speaking people ( www.eduardlid.net)? (I' ve tried to make a start!) <?php /* Set e-mail recipient */ $myemail = "eduard.lid@gmail.com"; /* Check all form inputs using check_input function */ $yourname = check_input($_POST['Su nombre y apellido'], "Ingresa su nombre y apellido por favor"); $email = check_input($_POST['email']); $website = check_input($_POST['website']); $comments = check_input($_POST['comments'], "Write your comments"); /* If e-mail is not valid show error message */ if (!preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+gresa)/", $email)) { show_error("E-mail address not valid"); } /* If URL is not valid set $website to empty */ if (!preg_match("/^(https?:\/\/+[\w\-]+\.[\w\-]+)/i", $website)) { $website = ''; } /* Let's prepare the message for the e-mail */ $message = "Hello! Your contact form has been submitted by: Name: $yourname E-mail: $email URL: $website Link to comment Share on other sites More sharing options...
Ingolme Posted October 7, 2012 Share Posted October 7, 2012 Either translate it yourself or hire somebody to translate the website. Link to comment Share on other sites More sharing options...
eduard Posted October 7, 2012 Author Share Posted October 7, 2012 Either translate it yourself or hire somebody to translate the website. The question is ' what' ? Link to comment Share on other sites More sharing options...
Ingolme Posted October 8, 2012 Share Posted October 8, 2012 Anything that the user is going to read. Words like "Name" and E-mail", anything you're displaying on the page. Variable names and code don't need to change. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now