Forum

Guest Access language

Hi!

Is there a way to change guest access language?

Thanks

Comments

  • I have the same need.
    And also: How can you have a login mask in different language?
    Thanks a lot

    Rocco

  • amyamy
    edited March 21

    Currently, you can only change the login page(anonymous) and/or the default language for the system. You can also set an interface language for each user as well as for each test-taker.

    As always any contributions to the code are welcome!

    Thanks,

    Amy

  • Ok, so it's possible.
    But how do you do it? Which parameters should be modified?
    Thank you

  • You will find the LANG parameters in generis.conf.php.

    Thanks,

    Amy

  • Hi,

    Actually there is that undocumented DEFAULT_ANONYMOUS_INTERFACE_LANG constant that you can add in config/generis.conf.php. This will force use the specified interface language only when no user is currently logged in.

    Example to force the Italian locale for any anonymous user:

    define('DEFAULT_LANG','en-US');
    define('DEFAULT_ANONYMOUS_INTERFACE_LANG','it-IT');

    Regards,
    Cyril

Sign In or Register to comment.

We use cookies on our website to support technical features that enhance your user experience. Cookie Policy Privacy Policy

×