Jump to content

Problem with language in a php page of my website


isabelita

Recommended Posts

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.