isabelita Posted September 16, 2010 Share Posted September 16, 2010 I am helping a friend to fix their website and I dont have too much experience with php. I have noticed a problem with the language on one of the pages http://www.fincalavicaria.com/alameda.php When the page loads the Servicios shows in Spanish, which is correct however, if you click on the Servicios link it changes to the English version in the Spanish vesrion. This should only be available after you have changed the language for the site to english at the top As I dont have too much experience I would be grateful if someone could tell me what would be causing this to happen. It should be something very easy to fix but no matter what I try I can't find the problem. Thank you. Quote Link to comment Share on other sites More sharing options...
mikosiko Posted September 16, 2010 Share Posted September 16, 2010 in the line where "SERVICIOS" is the code have this onclick="texto(2)" the function texto() is defined accepting 2 parameters... one is the id and the other is the value of lang... in this case the second parameter has not been passed.... in others part of your code this same call reads onclick="texto(2, 'es') hope this help Quote Link to comment Share on other sites More sharing options...
isabelita Posted September 17, 2010 Author Share Posted September 17, 2010 Thank you very much! Yes, that was the solution. It was a simple issue but I didn't see it. Thank you again! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.