Changing the default language (2.4.1 and earlier)

Currently the default language for Family Connections is hard coded to 'English'. This can be changed relatively easily, but requires altering some of the source code.

  1. Open up the inc/util_inc.php in your favorite text editor and change the return value on the getLanguage function (around line 105).

    This return value is based on the ISO-639 language code (e.g. pt for Portuguese) followed by the ISO-3166 country code (e.g. PT for Portugal or BR for Brazil).

    This will change the default language for all logged in users but we need step two, to changed the default language for the login/register screens.

  2. Open up the index.php in your favorite text editor and change the locale used in the T_setLocale function call (around line 29).

    This value also need to match the value from step 1.