Author Topic: problem change lenguaje  (Read 2794 times)

0 Members and 1 Guest are viewing this topic.

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
problem change lenguaje
« on: August 25, 2008, 03:16:55 PM »
First to thank for template in php for WD. I have the following problem, WD-World-ML works, me well in localhost, after to raise it the servant does not work the change to me of language only leaves in English. They can provide a solution to me
URL: www.laradiobbs.net/wd/index.php
Thanks.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: problem change lenguaje
« Reply #1 on: August 25, 2008, 04:31:23 PM »
Hola!

I see your site is working in Spanish at the present time.  Make sure you upload ALL the files in the distribution to your website.  There are four language-specific files for each language supported:

plaintext-parser-lang-LL.txt   (for WXSIM forecast)
language-LL.txt  and language-LL.js  (for main translation functions)
wxabout-LL.txt (for the wxabout.php translation).

Are you still having an issue with your website?  It appears to be working for me.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
Re: problem change lenguaje
« Reply #2 on: August 26, 2008, 03:56:48 AM »
Hello, Ken Thanks to respond.
You mean that it changes to you perfectly of language.
I from two to computer different work the change to me of language, neither with IE7 nor with Firefox.
And from my computer I perfectly see another Web with the same software.
Because it does not work to me from my PC?
In LocalHost if it works to me.
Thanks.
IE7


Firefox
« Last Edit: August 26, 2008, 04:24:19 AM by meteotajo »

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: problem change lenguaje
« Reply #3 on: August 26, 2008, 09:30:52 PM »
That can happen if the 4 files needed for lang=es aren't on your website:

language-es.txt
language-es.js
wxabout-es.html
plaintext-parser-lang-es.txt

Try uploading those files to your website again (from the distribution .zip)

In particular, if the language-es.txt file is missing, then the template reverts to lang=en .

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
Re: problem change lenguaje
« Reply #4 on: August 27, 2008, 04:06:23 AM »
Hello…
The language archives are raised the Web site.
I believe that the problem can be by the cookies,
With firefox in Herramientas> Information of pagina> Seguridad> To see cookies, appears to me cookies names laradiobbs name cookies lang.
If I erase changes to me of language, but on the following day it returns to appear and it stops working. With IE7 not with himself that work, and in LocalHost everything goes well.
Reason why the conclusion is some problem of navigators Web.

It can be a problem of cookies?

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
Re: problem change lenguaje
« Reply #5 on: August 27, 2008, 04:22:27 AM »
IF, it is a problem of cookies, if I do not admit cookies in the IE7 everything works perfectly.

Now my question is….
That he is better to block cookies in the navigator or who the Web server I did not send them, (I am the administrator of the VPS in the servant)

Thank you very much.

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
Re: problem change lenguaje
« Reply #6 on: August 27, 2008, 09:15:41 AM »
Now there is a problem, if I leave IE7 blocks all the cookies, works the change of language, but Web like administrator stops working the entrance having to enter every time it refreshes the Web, so I cannot have the blocked cookies.

 That I can do.

Offline meteotajo

  • Member
  • *
  • Posts: 22
    • MeteoTajo
Re: problem change lenguaje
« Reply #7 on: August 27, 2008, 01:14:08 PM »
Already this solved problem, indeed was conflict of cookies to use the same dominion, I have created a subdominion and now if it changes of language.
http://meteotajo.laradiobbs.net
Thank you very much by the aid.
We see ourselves.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: problem change lenguaje
« Reply #8 on: August 27, 2008, 03:02:55 PM »
Excellent!  I'm glad you have discovered the underlying issue about cookies.  The template does use cookies and PHP sessions to maintain your language choices across visits.

I've added your website to the list of template site on the WD/AJAX/PHP page.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP