28 Replies Latest reply: Apr 14, 2012 8:41 AM by barbaraki RSS

    more languages on 1 website

    barbaraki

      I made a website with dreamweaver CSS4 in dutch language and want to put more languages to this site. I made the same site in english, put this in a folder and it works... but now my sprynenu bar is not working. I only see the menu and the submenu's don't roll out. What did I do wrong? Can anyone give me some tips to change this.

      I am just a beginner and willing to learn more.

      The site is http://www.freeoncrete.nl

      Thanks in advance

        • 1. Re: more languages on 1 website
          hans-g. MVP

          Hi,

           

          the first I can see in your source code: your "flagnl" and "vlaguk" are linked to your "index.html" or to your correct file:

           

           

                    <td height="23" scope="col"><a href="index.html"><img src="plaatjes/vlag_nl.jpg" width="20" height="15" alt="vlagnl" /></a></td>

                    <th scope="col"><a href="Engels/ENG_index.html"><img src="plaatjes/vlag_uk.jpg" width="20" height="10" alt="vlaguk" /></a></th>

           

          The others are not linked, there is only a "#":

           

                    <th scope="col"><a href="#"><img src="plaatjes/vlag_du.jpg" width="20" height="10" alt="vlagdu" /></a></th>

                    <th scope="col"><a href="#"><img src="plaatjes/vlag_fr.gif" width="22" height="15" alt="vlagfr" /></a></th>

                    <th scope="col"><a href="#"><img src="plaatjes/Vlag_gr.jpg" width="20" height="10" alt="vlaggr" /></a></th>

           

          Hans-Günter

          • 2. Re: more languages on 1 website
            barbaraki Community Member

            Thanks Hans-Gunter,  the links you named are not working, because the pages in that languages are not ready to use yet. I only had the English pages ready and before I go on I want to make it function.

            • 3. Re: more languages on 1 website
              hans-g. MVP

              Hi Barbara(ok?),

               

              oh sorry, your question focuses particularly on "sprymenu bar" is not working". I have to leave home at the moment, but I'll come back. But I'm sure in the meantime our experienced specialists will help you.

               

              Hans-Günter

               

              P.S.

              BUT I would prefer I could help, 'cause Crete is on of my foremost tourism destinations!

              • 4. Re: more languages on 1 website
                hans-g. MVP

                Hello Barbaraki,

                 

                if you could manage your pages without without this

                 

                <div id="fotogroot"><img src="foto's/Almyros Bay/index/01-baai.jpg" alt="baai" width="740" height="240" style="background: #069;" /></div>

                 

                and insert your image by conventional means:

                 

                <p align="center"><img src="foto's/Almyros Bay/index/01-baai.jpg" width="787" height="240" alt="baai" /></p> e.g. you will see (or rather said I saw) your "sprymenu bar". I put your source code into my DW and using my SpryAssets I got this:

                 

                drSprGr.jpg

                 

                Καλή τύχη!

                Hans-Günter

                • 5. Re: more languages on 1 website
                  hans-g. MVP

                  Hi Barbaraki,

                   

                  at the moment on closer inspection I found this:

                   

                  drSprGr02.jpg

                   

                  You should not give the main heading a name, for this use "#". Here the part I used:

                   

                  <div id="navbar">

                    <ul id="MenuBar1" class="MenuBarHorizontal">

                      <li><a href="index.html">Home</a>      </li>

                      <li><a href="#" class="MenuBarItemSubmenu">Almyros Bay</a>

                        <ul>

                          <li><a href="01-1-dorpen_en_omgeving.html">dorpen en omgeving</a></li>

                          <li><a href="01-2-bevolking_en_geschiedenis.html">bevolking en geschiedenis</a></li>

                          <li><a href="01-3-activiteiten.html">aktiviteiten</a></li>

                          <li><a href="01-4-flora_+_fauna.html">flora en fauna</a></li>

                          <li><a href="01-5-klimaat_+_ligging.html">klimaat en ligging</a></li>

                        </ul>

                      </li>

                      <li><a class="MenuBarItemSubmenu" href="#">Item 3</a>

                        <ul>

                          <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>

                            <ul>

                              <li><a href="#">Item 3.1.1</a></li>

                              <li><a href="#">Item 3.1.2</a></li>

                            </ul>

                          </li>

                          <li><a href="#">Item 3.2</a></li>

                          <li><a href="#">Item 3.3</a></li>

                        </ul>

                      </li>

                      <li><a href="#">Item 4</a></li>

                    </ul>

                   

                  Καλή τύχη!

                  Hans-Günter

                  • 6. Re: more languages on 1 website
                    Ben Pleysier MVP

                    Hi Barbara en/und Hans-Günter,

                     

                    Please have a look at this site that I started and am now waiting on input from the Board of Management, http://ncca.com.au/new/

                     

                    I used a nifty tool from WebAssist, http://www.webassist.com/dreamweaver-extensions/framework-builder/, to help me, but the site can just as easily be constructed without this utility.

                     

                    The basic thought is to set a session variable that keeps track of the chosen lanuage. Then using serverside includes, include the appropriate piece of markup.

                     

                    To illustrate this using PHP, create a base document (e.g. index.php) complete with style sheets and javascript and a form that allows the user to make a choice of language.

                     

                    The form will look like

                    <form method="POST" id="frm_en" name="frm_en">

                      <input type="hidden" name="change2en" value="frm_en" />

                      <input name="lang_en" type="image" src="css/images/flag_au.png" onClick="submit(this);">

                    </form>

                    <form method="POST" id="frm_nl" name="frm_nl">

                      <input type="hidden" name="change2nl" value="frm_nl" />

                      <input name="lang_nl" type="image" src="css/images/flag_nl.png" onClick="submit(this);">

                    </form>

                    Then when the page reloads after the form has been submitted, the following code will be encountered

                    // Language Settings

                    session_id('lang');

                    session_start();

                    if (!$_SESSION['lang']) $_SESSION['lang'] = 'en';

                    if ((isset($_POST["change2en"])) && ($_POST["change2en"] == "frm_en")) {

                        $_SESSION['lang'] = 'en';   

                    }

                    if ((isset($_POST["change2nl"])) && ($_POST["change2nl"] == "frm_nl")) {

                        $_SESSION['lang'] = 'nl';   

                    }

                    // End: Language Settings

                    Now that the session variable has been set, you can include the menu in your document as follows

                    <div class='nav'>

                         <?php if ($_SESSION['lang'] == 'en') {include("menu_en.php");} ?>

                         <?php if ($_SESSION['lang'] == 'nl') {include("menu_nl.php");} ?>

                    </div>

                    menu_en.php looks like

                    <ul id="MenuBar1" class="MenuBarHorizontal">

                      <li><a href="index.php">Home</a></li>

                      <li><a class="MenuBarItemSubmenu" href="index.php?page=about"><span>About</span></a>

                        <ul>

                          <li><a href="index.php?page=about_contact">Contact</a></li>

                          <li><a href="index.php?page=about_countryinfo">Country Info</a></li>

                        </ul>

                      </li>

                      <li><a class="MenuBarItemSubmenu" href="index.php?page=events"><span>Events</span></a>

                        <ul>

                          <li><a href="index.php?page=events_past">Past Events</a></li>

                          <li><a href="index.php?page=events_notncca">Non-NCCA Events</a></li>

                        </ul>

                      </li>

                      <li><a class="MenuBarItemSubmenu" href="index.php?page=members"><span>Membership</span></a>

                        <ul>

                          <li><a href="index.php?page=members_application">Membership Application Form</a></li>

                          <li><a href="index.php?page=members_interest">Interest-Group Application Form </a></li>

                        </ul>

                      </li>

                      <li><a href="index.php?page=news">News</a></li>

                      <li><a href="index.php?page=links">Links</a></li>

                      <li><a href="index.php?page=partners">Partners</a></li>

                      <li><a href="index.php?page=kreveld" class="last">Jonas Kreveld</a></li>

                    </ul>

                    and menu_nl.php will be as the above, but with the nederlandse woorden.

                     

                    Hope this helps.

                    Gramps

                    • 7. Re: more languages on 1 website
                      Rob Hecker2 MVP

                      I think that for your level of experience, the method described by Hans-Günter is probably right, but a more robust method would use a database and CMS (content management system), as follows:

                       

                      The non-language specific content for each page would be contained in one database table and the language specific content would be contained in another table which is related to the parent page by an id number. This table that contains the language-specific content would have an index consisting of the page_id and the language_id. There would be a third table containing the language id, the language name, and whether or not the language is selected, active, and default. Then, in the CMS admin system, you would have a control page like this:

                      languages.gif

                      So if your "contact" page has a page_id of 6 and French has a language_id of 3, you would have one record in the page_content table containing page_id 6 and language_id 3. The system would never allow more than one French version of any given page.

                       

                      Such a system makes it easy to add and manage as many languages as needed. The menu system administration would also automatically reflect whatever languages are chosen. In the image above, Spanish is selected but not yet active. Once all the translations are completed for it, the active button is checked, and it becomes visible to visitors.

                       

                      So when you go to a website that has lots of languages, like the BBC, this is how it's done. If you eventually outgrow the simpler method, this is the method that you will not outgrow.

                      • 8. Re: more languages on 1 website
                        hans-g. MVP

                        Dear Rob, Grüss Dich Gramps,

                         

                        congratulations! And I have to say that these solutions for an experienced person are brilliant, BUT I'm sorry, I'm overwhelmed at the moment. Certainly I'll try to examine the theory of this matter and to deal with it. For a beginner like me, these curiously oldfashioned manageable and workable solutions are essential.

                         

                        I also have designed such a private, bilingual website with a bilingual sprymenu bar too, which works with flags: http://dala-laegret1963.de/. I am quite content with it(and my swedish friends too). Quite apart from that, Barbara's website, made with a bit more complex effects, I also like very much, understandably!

                         

                        But as I said before, I would quite like to be able to make the leap into your top tier!Once a day! Thanks for this glance through the window.

                         

                        Hans-Günter

                        • 9. Re: more languages on 1 website
                          Rob Hecker2 MVP

                          Hi Hans-Günter,

                           

                          Yes, I think it's useful for people to be aware of the options. Your method works quite well for a limited situation. I enjoyed looking at your linked site even though my German is very rusty.

                           

                          Most of my clients are international, so I've been dealing with multi-language websites for several years. On the first one I built, even though I used a database, the language selection (English and Vietnamese) was hard-coded in. When the client asked to have Chinese and Russian added, it was quite painful to add them. Now the clients can manage all the language features themselves.

                           

                          Here's a little website that uses my method: http://www.kaihecker.com

                          • 10. Re: more languages on 1 website
                            barbaraki Community Member

                            WOW... I am impressed...thanks for your solutions. Today I will try to fix it and will let you know. I wish I had found this forum before.

                            Barbaraki

                            • 11. Re: more languages on 1 website
                              hans-g. MVP

                              Hi Gramps,

                               

                              I tried to combine your snippets but I failed. Could you please publish your proposal on a website as you did already on other occasions?

                               

                              Hans-Günter

                              • 12. Re: more languages on 1 website
                                hans-g. MVP

                                Hi Barbaraki,

                                 

                                you are welcome, good luck furthermore, ... and I (the others too, I'm sure) wait for "I will try to fix it and will let you know"!

                                 

                                Καλή επιτυχία!

                                Hans-Günter

                                • 13. Re: more languages on 1 website
                                  Ben Pleysier MVP

                                  @Hans-Günter,

                                   

                                  Sorry for not putting the document on line, the propblem is that the PHP gets lost. The next best thing is to post the code here.

                                   

                                  index.php

                                  <?php
                                  // Language Settings
                                  session_id('lang');
                                  session_start();
                                  if (!$_SESSION['lang']) $_SESSION['lang'] = 'en';
                                  if ((isset($_POST["change2en"])) && ($_POST["change2en"] == "frm_en")) {
                                          $_SESSION['lang'] = 'en';   
                                  }
                                  if ((isset($_POST["change2nl"])) && ($_POST["change2nl"] == "frm_nl")) {
                                          $_SESSION['lang'] = 'nl';   
                                  }
                                  // End: Language Settings
                                  ?>
                                  <!doctype html>
                                  <html>
                                  <head>
                                  <meta charset="utf-8">
                                  <title>Untitled Document</title>
                                  <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet">
                                  </head>
                                  
                                  <body>
                                  <form method="POST" id="frm_en" name="frm_en">
                                    <input type="hidden" name="change2en" value="frm_en" />
                                    <input name="lang_en" type="text" value="English" readonly onClick="submit(this);">
                                  </form>
                                  <form method="POST" id="frm_nl" name="frm_nl">
                                    <input type="hidden" name="change2nl" value="frm_nl" />
                                    <input name="lang_nl" type="text" value="Nederlands" onClick="submit(this);">
                                  </form>
                                  <div class='nav'>
                                      <?php if ($_SESSION['lang'] == 'en') {include("menu_en.php");} ?>
                                      <?php if ($_SESSION['lang'] == 'nl') {include("menu_nl.php");} ?>
                                  </div>
                                  <script src="SpryAssets/SpryMenuBar.js"></script>
                                  <script>
                                  var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
                                  </script>
                                  </body>
                                  </html>
                                  

                                   

                                  menu_en.php

                                   

                                  <ul id="MenuBar1" class="MenuBarHorizontal">
                                    <li><a href="index.html">Home</a>      </li>
                                    <li><a href="#" class="MenuBarItemSubmenu">Almyros Bay</a>
                                      <ul>
                                        <li><a href="01-1-dorpen_en_omgeving.html">Villages and Surrounds</a></li>
                                        <li><a href="01-2-bevolking_en_geschiedenis.html">Population and History</a></li>
                                        <li><a href="01-3-activiteiten.html">Activities</a></li>
                                        <li><a href="01-4-flora_+_fauna.html">Flora and Fauna</a></li>
                                        <li><a href="01-5-klimaat_+_ligging.html">Climate and Geographics</a></li>
                                      </ul>
                                    </li>
                                    <li><a class="MenuBarItemSubmenu" href="#">About Us</a>
                                      <ul>
                                        <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                                          <ul>
                                            <li><a href="#">Item 3.1.1</a></li>
                                            <li><a href="#">Item 3.1.2</a></li>
                                          </ul>
                                        </li>
                                        <li><a href="#">Item 3.2</a></li>
                                        <li><a href="#">Item 3.3</a></li>
                                      </ul>
                                    </li>
                                    <li><a href="#">Contact Us</a></li>
                                  </ul>
                                  

                                   

                                  menu_nl.php

                                   

                                  <ul id="MenuBar1" class="MenuBarHorizontal">
                                    <li><a href="index.html">Home</a>      </li>
                                    <li><a href="#" class="MenuBarItemSubmenu">Almyros Bay</a>
                                      <ul>
                                        <li><a href="01-1-dorpen_en_omgeving.html">dorpen en omgeving</a></li>
                                        <li><a href="01-2-bevolking_en_geschiedenis.html">bevolking en geschiedenis</a></li>
                                        <li><a href="01-3-activiteiten.html">aktiviteiten</a></li>
                                        <li><a href="01-4-flora_+_fauna.html">flora en fauna</a></li>
                                        <li><a href="01-5-klimaat_+_ligging.html">klimaat en ligging</a></li>
                                      </ul>
                                    </li>
                                    <li><a class="MenuBarItemSubmenu" href="#">Wie zijn wij</a>
                                      <ul>
                                        <li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
                                          <ul>
                                            <li><a href="#">Item 3.1.1</a></li>
                                            <li><a href="#">Item 3.1.2</a></li>
                                          </ul>
                                        </li>
                                        <li><a href="#">Item 3.2</a></li>
                                        <li><a href="#">Item 3.3</a></li>
                                      </ul>
                                    </li>
                                    <li><a href="#">Kontakt gegevens</a></li>
                                  </ul>
                                  

                                   

                                  Just copy and paste the above into your own documents and try in a browser.

                                   

                                  Gramps

                                  • 14. Re: more languages on 1 website
                                    hans-g. MVP

                                    Hallo Gramps,

                                     

                                    es klappt, many thanks for your "Kochbuch"! BUT, freely adapted in this respect is from Wilhelm Busch: "Each desire once fulfilled immediately begets another." So I would like to know: does it work with more (here three) languages too? I can't manage it, I only get the box but not changing it into the third menu.

                                     

                                    dr3Menu.jpg

                                    Maybe there is a way to adapt "Language Settings".

                                     

                                    Thanks in advance,

                                    Hans-Günter

                                    • 15. Re: more languages on 1 website
                                      hans-g. MVP

                                      Hi Rob,

                                       

                                      thanks for your nice words. Naturally I had a look to http://www.kaihecker.com (a relative of you?) BUT it doesn't make it accessible for me, I could't find your technologies you described above.

                                       

                                      On the other hand I found these pathes: <a href='index.php?page_id=14&language_id=1'> and <a href="index.php?page_id=16" ... This syntax is presumably required, perhaps you can clarify it for me.

                                       

                                      Hans-Günter

                                      • 16. Re: more languages on 1 website
                                        Ben Pleysier MVP

                                        From an anonymous source: To have a good friend is one of the highest delights of life; to be a good friend is one of the noblest and most difficult undertakings.

                                         

                                        Hence I am obliged to answer . Please have a look at the following

                                         

                                        <?php
                                        // Language Settings
                                        session_id('lang');
                                        session_start();
                                        if (!$_SESSION['lang']) $_SESSION['lang'] = 'en'; // This could be changed to reflect the language of the browser
                                        if ((isset($_POST["change2en"])) && ($_POST["change2en"] == "frm_en")) {
                                                $_SESSION['lang'] = 'en';   
                                        }
                                        if ((isset($_POST["change2nl"])) && ($_POST["change2nl"] == "frm_nl")) {
                                                $_SESSION['lang'] = 'nl';   
                                        }
                                        if ((isset($_POST["change2de"])) && ($_POST["change2de"] == "frm_de")) {
                                                $_SESSION['lang'] = 'de';   
                                        }
                                        if ((isset($_POST["change2fr"])) && ($_POST["change2fr"] == "frm_fr")) {
                                                $_SESSION['lang'] = 'fr';   
                                        }
                                        // End: Language Settings
                                        ?>
                                        <!doctype html>
                                        <html>
                                        <head>
                                        <meta charset="utf-8">
                                        <title>Untitled Document</title>
                                        <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet">
                                        </head>
                                        
                                        <body>
                                        <form method="POST" id="frm_en" name="frm_en">
                                          <input type="hidden" name="change2en" value="frm_en" />
                                          <input name="lang_en" type="text" value="English" readonly onClick="submit(this);">
                                        </form>
                                        <form method="POST" id="frm_nl" name="frm_nl">
                                          <input type="hidden" name="change2nl" value="frm_nl" />
                                          <input name="lang_nl" type="text" value="Nederlands" onClick="submit(this);">
                                        </form>
                                        <form method="POST" id="frm_de" name="frm_de">
                                          <input type="hidden" name="change2de" value="frm_de" />
                                          <input name="lang_de" type="text" value="Deutsch" onClick="submit(this);">
                                        </form>
                                        <form method="POST" id="frm_fr" name="frm_fr">
                                          <input type="hidden" name="change2fr" value="frm_fr" />
                                          <input name="lang_fr" type="text" value="Francais" onClick="submit(this);">
                                        </form>
                                        <div class='nav'>
                                            <?php if ($_SESSION['lang'] == 'en') {include("menu_en.php");} ?>
                                            <?php if ($_SESSION['lang'] == 'nl') {include("menu_nl.php");} ?>
                                            <?php if ($_SESSION['lang'] == 'de') {include("menu_de.php");} ?>
                                            <?php if ($_SESSION['lang'] == 'fr') {include("menu_fr.php");} ?>
                                        </div>
                                        <script src="SpryAssets/SpryMenuBar.js"></script>
                                        <script>
                                        var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
                                        </script>
                                        </body>
                                        </html>
                                        

                                         

                                        Gramps

                                        • 17. Re: more languages on 1 website
                                          hans-g. MVP

                                          Hi Gramps,

                                           

                                          jetzt verstehe ich die Welt nicht mehr!!! Genauso hatte ich es gemacht! At the moment I try it again, my selfmade German it doesn't want to load. Ich suche noch ein bisschen.

                                           

                                          I hope, one day I will be a good friend for you too. (German phrase: Ich hoffe ich kann Ihnen auch einen Stein in Ihren Garten schmeissen!)

                                           

                                          Thanks

                                          Hans-Günter

                                          • 18. Re: more languages on 1 website
                                            hans-g. MVP

                                            Hi Gramps,

                                             

                                            heureka, it works! Please have look at YOUR work here: http://www.goldschmiede-blumberg.de/AdobTest/2MenueGramps/index.php. Many, many thanks again, ... and could you already have a look for a fine nice stone or should we better wait 'till  13th. June (oranje <> black/white)?

                                             

                                            Hans-Günter

                                            • 19. Re: more languages on 1 website
                                              Ben Pleysier MVP

                                              @Hans-Günter

                                               

                                              Certainly looks impressive were it not for this

                                              </ul>

                                              </body>

                                              </html>    </div>

                                              </script>

                                              <script>

                                              var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
                                              </script>

                                              </body>

                                              </html>

                                              Gramps

                                              • 20. Re: more languages on 1 website
                                                Rob Hecker2 MVP

                                                . . . I could't find your technologies you described above.

                                                Yes, the beauty of PHP code is that it is not sent to the browser. It is all processed on the server. Processing on the server is much faster, more reliable, and having the code not visible keeps hackers from seeing it.

                                                 

                                                index.php?page_id=16&language_id=2 ... This syntax is presumably required, perhaps you can clarify it for me.

                                                My method uses the GET superglobal to pass the page id and language id from page to page. Alternatively, the code provided by Gramps uses SESSIONS. The disadvantage to sessions is that if someone tries to bookmark the page, the variables in the session are lost. Sometimes, such as in a secure log-in system, this is desirable.

                                                 

                                                Since my method is only being discussed here for academic interest, I will just provide the code that determines which language to call. One advantage to this code is that it can handle any number of languages.

                                                 

                                                if (is_numeric($_GET['language_id'])){

                                                $language=$_GET['language_id'];

                                                } elseif (isset($default_language)) {

                                                $language=$default_language;

                                                } else {

                                                $language=1;

                                                }

                                                 

                                                The first line determines that a language has been selected and also makes sure a hacker has not injected code into the variable. This is accomplished by making sure the variable is numeric. Next, If no language has been selected, then the default language is made the language selection. And if no default language can be retrieved, the system default language, which is always "1" is selected. Then the language-specific content is pulled from the database with a simple SELECT, as follows:

                                                 

                                                 

                                                $sql=$dbh->prepare("SELECT * FROM pages, page_content WHERE pages.page_id='$page_id' AND pages.page_id=page_content.page_id and language_id='$language' ");

                                                • 21. Re: more languages on 1 website
                                                  hans-g. MVP

                                                  Hi Gramps,

                                                   

                                                  finally understood! I had to build these menu_xx.php's only in this in the abstract form from

                                                   

                                                  <ul id="MenuBar1" ...

                                                  ...

                                                  </ul>

                                                   

                                                  because they work like placeholders. My fault was, that I used a complete new DW file, with head section aso. Maybe my errors will be of even greater interest for people like me.

                                                   

                                                  Thanks Gramps,

                                                  Hans-Günter

                                                  • 22. Re: more languages on 1 website
                                                    Ben Pleysier MVP

                                                    @Hans-Günter,

                                                     

                                                    I reckon that if us two geriatrics get together, we'll have half a chance to rule this world and you won't have to say jetzt verstehe ich die Welt nicht mehr!!!

                                                     

                                                    Ben

                                                    a.k.a Gramps

                                                    • 23. Re: more languages on 1 website
                                                      hans-g. MVP

                                                      OT:

                                                      Hello Ben,

                                                       

                                                      glad to hear about your project improving the world by the two of us!Do have already specific plans for this? I look forward to your reply as soon as possible,

                                                       

                                                      Yours sincerely,

                                                      Hans-Günter, soon knocking on for 90.

                                                      • 24. Re: more languages on 1 website
                                                        hans-g. MVP

                                                        Hello Barbaraki,

                                                         

                                                        once more I have dealt with your Spry Menu and now I'm convinced that your SpryMenuBarHorizontal.css must be damaged. Please load the current Spry Assets down again and make a backup of it. Then use a "virgin" SpryMenuBarHorizontal.css and fit it to your needs, you will see everything will be fine.

                                                         

                                                        And please consider my advice from No. 4.

                                                         

                                                        Good luck!

                                                        Hans-Günter

                                                        • 25. Re: more languages on 1 website
                                                          barbaraki Community Member
                                                          Hello Hans, with the help from the dutch forum "helpmij.nl" I solved the problem with the menu with:

                                                           

                                                          ul.menuBarHorizontal ul.menuBarSubmenuVisible  { left: auto; visibility: visible; }

                                                           

                                                          But now the languages... I never heard of php and don't really understand the tips from Gramps. I will ask him some more info.

                                                          Thanks in any way for your help, it is great that there are people willing to help!!! Thanks!!!

                                                          PS Sorry, I did not respond earlier, but this weekend we celebrate Easter on Crete and this means partytime.

                                                          ευχαριστώ, και τα λεμε

                                                          Barbara

                                                           

                                                          • 26. Re: more languages on 1 website
                                                            barbaraki Community Member

                                                            Hello Gramps,

                                                            I am impressed by your solutions and the way you are helping!!! But... the php page is something I don't quite understand. I put an extra php page to my site with the codes you named? And this page is called index.php and is in the siteroot?

                                                            With the help of a dutch forum I fixed the menubar and are quite happy, but now the languages...

                                                            I hope you will help me a little bit further.

                                                            Because of the big Easter parties here on Crete this weekend I don't have much time to work at my site now, but from Monday everything is back to normal (I hope)

                                                            All the best, Barbara

                                                            • 27. Re: more languages on 1 website
                                                              hans-g. MVP

                                                              Hi Barbara and Arno, kαλό Πάσχα,

                                                               

                                                              after a while I understood Gramps hints and made website with four languages of it. If you want to get deeper, I'm sure Gramps will give you more explanations, or you could have a look to my (new in preparation) website where I used his hint. Please have a look at Nr. 21 of this thread > placeholder > only Gramps DW file.

                                                               

                                                              On the other hand, please start a new thread about this.

                                                               

                                                              Είστε ευπρόσδεκτοι, είστε ευπρόσδεκτοι.

                                                              Hans-Günter

                                                               

                                                              P.S.

                                                              Only to see what could happen: http://hansgd.de/AdobTest/MoreMenueGramps/index.php

                                                              • 28. Re: more languages on 1 website
                                                                barbaraki Community Member

                                                                Hi Hans-Gunter,

                                                                I looked at the site and it looks very good!!!

                                                                That is what I would like to make...but now the php is so new for me, it will take some time I think.

                                                                I will start a new thread about the languages.

                                                                χαιρετισματα, Barbara and Arno