Menu

Switching language problems...

Help 2.02
Anonymous
2003-05-24
2003-05-24
  • Anonymous

    Anonymous - 2003-05-24

    Hello,
    I have 2 problems with your great script :
    1. When switching between languages only the left frame is updated  - the right (main) is remaining blank. It happens only when in the right frame is shown department description or link page is loaded.
    2. The encoding is static - charset is set by default to iso-8859-1. Is it possible to have dynamic value - for example in lang.inc.php files?

    Thanx in advance
    --ering.

     
    • Andreas Kansok

      Andreas Kansok - 2003-05-24

      RE: 2) in header.inc.php replace line 69 with following:
      if($charset=="") $charset="iso-8859-1";
      echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=$charset\">\n";

      So it is planned for future versions (if someone release such a translation ;-)

       
    • Andreas Kansok

      Andreas Kansok - 2003-05-24

      Re: 1) This is a little bit complicated ... In table online is a column 'acturl'. This is filled from header.inc.php. So inside link pages you have to do something yourself handle language switch.

      For departments you need a description for each language.

      Greetings,
      Andreas.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.