Menu

Begin page

Help
2009-10-25
2013-05-30
  • Wilhelm Vleeshhouwer

    Hello,

    I wonder if the startpage of PHPGedview diplays differently for users all over the world. In my startpage (not the welcome page) it uses a dropdownmenu for the different languages, but the text pointing to that says "Wijzig taal", which is dutch for "change language". If somebody surfs to my page, he will get this, and not know what to do, as the rest of it is also in Dutch.
    Is there a way to change that page, so that flags are shown to change the language, just like it is on the Welcome page?

    Regards, Wim Vleeshhouwer

     
  • Stephen Arnold

    Stephen Arnold - 2009-10-25

    As administrator, you have access to PGV's extended help, as well as the wiki. The page to which you refer is the "Welcome Page".

    This page, if set for multiple languages, should recognize the browser's default language setting and present the correct language page to the visitor. This, of course, depends on how you have configured your site for languages, especially authorizing the language of the visiting browser. If you have not allowed French, and a visitor has a French-configured browser, PGV will then present the default language you have configured as it can not present the French translation. 
    -Stephen

     
  • Mark Hattam

    Mark Hattam - 2009-10-25

    Accessing …   http://www.vleeshhouwer.nl/PHPGedview/ …using either IE7 or FireFox gives me a Dutch language page … despite
    English en-gb being the only language that IE is set to use. FireFox has en-gb as 1st choice, en as 2nd choice.

    The change language selector doesn't appear to display its content correctly either. eg the Hebrew one is a collection of symbols, in both IE and FF. Selecting that gives mostly a good page, but with some rogue strings too. Perhaps though that is a limitation of the PC I happen to be on at the moment. The French option in the menu also doesn't have the c-cedilla correct.

    Mark

     
  • Wilhelm Vleeshhouwer

    I just surfed to some websites using PGV in the States and other countries and all the welcome pages I see, are all in the native language of the owner.
    On DXRARIO's last points, I had that problem as well, you have to enable these languages in your browser, then everythings shows up as it should be.
    What, however is going to happen to the first problem???

    Wim.

     
  • Gerry Kroll

    Gerry Kroll - 2009-10-26

    If you want the language flags to show instead of the textual language selector, you'll have to change your site's default theme.

    The Minimal, Ocean, and Standard themes use textual language selectors.  All the others use a flag icon.  I suggest you consider using the Xenea theme.

    Try accessing my site : http://keldine.ca/phpGedView

    Do you see the page in English or in Dutch?  If it's English, you should check your browser's language preferences, and make sure that Dutch is first in the list.

     
  • Wilhelm Vleeshhouwer

    Hi canajun2eh,

    I went ot your website, and it shows up in Dutch on my site! That is probably because you have the dutch language installed on your PGV.
    I have too, but mine does not seem to work. It shows up in dutch regardless of the language of the users browser.
    I think I will change the theme to Xenea, although I don't much like that.

    Wim.

     
  • Gerry Kroll

    Gerry Kroll - 2009-10-27

    Wim:
    I connected to my site with the browser's language set to only Dutch, and it still displayed in English. 

    I know this used to work - I wrote the code.  I have no reason to believe that the code was changed.  I'll investigate further, using other browsers too.  I have Internet Explorer 6, Opera, and Safari available too.

     
  • Wilhelm Vleeshhouwer

    Glad you agree with me (for once), and I hope you can repair whatever is going on.
    I just changed over to Xenea, but when I go to my site, it still gives me the old "first page" in dutch in the standard theme. Only after I login, it changes to Xenia. Is that normal? Because I want the first page as it is in Xenea, with the flags.
    Regards, Wim.

     
  • Gerry Kroll

    Gerry Kroll - 2009-10-29

    Wim:
    The default theme for the site is defined in the "User Options" section of the GEDCOM configuration.

    If you have several GEDCOMs, the default theme is the one that's defined in the GEDCOM configuration of the default GEDCOM.

     
  • Wilhelm Vleeshhouwer

    Hi there,

    Thanks for the help, I just changed the Gedcom default settings, and now it shows the cloudy theme, which has flags!
    At least a user anywhere on the world can now change the language easily to the ones available and does not have to bother with Dutch.
    Regards, Wim.

     
  • Wes Groleau

    Wes Groleau - 2009-10-30

    In cloudy theme (and I suspect all others), you can choose flags or names by a single parameter in a function call in one file.

    If you are getting crap instead of hebrew in the hebrew item, you might have your browser's encoding set to ignore the UTF-8 that PGV asks for.

     
  • Gerry Kroll

    Gerry Kroll - 2009-10-31

    Wim:
    Bug report 2890066 was opened ofr this problem.

    The problem has been fixed in SVN, and I'll be posting an updated "session.php" file for version 4.2.2 soon.  It will be an attachment to the bug report.

     

Log in to post a comment.