Menu

Redirect by language not working PhpGedView 4.3

Help
Samar
2015-10-17
2015-10-19
  • Samar

    Samar - 2015-10-17

    Hi All, I have Arabic and English installed on my site but when users login for the Arabic page it redirects them to English. Same thing with Logout. How do I fi this? Is there an easy way to set this up?
    Thanks

     
  • Gerry Kroll

    Gerry Kroll - 2015-10-17

    If you want your users to see the Arabic version of your pages before they're logged in or after they have logged out, they will need to set their browser's preferred language to Arabic. This is a browser configuration.

    Unless told otherwise by the logged-in user's language preference setting, PhpGedView will deliver its pages in the language requested by the browser's language setting, in descending order of preference. If the browser is set to request a language that is not set "active" in the PhpGedView language configuration, PhpGedView will default to English.

    The "default language" option in the GEDCOM configuration only works if the site has been configured to not allow users to change the language in which they wish to view the site.

     
  • Samar

    Samar - 2015-10-18

    No, I don't mean before login. What I mean is if a user is on the Arabic login page and enters the username and password, they are immediatley redirected to the English version of the mygedview page. Why does it go back to English if they have already selected Arabic?

     
  • Gerry Kroll

    Gerry Kroll - 2015-10-18

    That will happen if the user's own language preference has been set to English instead of Arabic. That's part of the User Configuration, and is individually configurabe for each user.

    The user can configure this himself on the "My Account" page accessible as a menu option under the "MyGedView Portal" top menu, or the Administrator can do this from the User Administration page accessible either as an option under the Admin's "MyGedView Portal" top menu or as a link on the Admin page.

     

    Last edit: Gerry Kroll 2015-10-18
  • Samar

    Samar - 2015-10-19

    That fixed the login (not logout which still goes to English) Thanks!

     

Log in to post a comment.