I cant change change the system language after installation.

  1. install osTicket 1.14.3
  2. copy ru.phar from offocial site to i18n
  3. add Secondary Languages - Russian
  4. change Primary Language: -Russian and push button Save
  5. System languuage not change and i have error in apache logs
    [Tue Oct 13 12:13:41.954113 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: include(): Filename cannot be empty in /var/www/help/include/class.translation.php on line 565, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954149 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: include(): Failed opening '' for inclusion (include_path='./:/var/www/help/include/:/var/www/help/include/pear/') in /var/www/help/include/class.translation.php on line 565, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954275 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954321 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954347 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954369 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954410 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954433 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954453 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954476 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954497 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954519 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954544 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system
    [Tue Oct 13 12:13:41.954566 2020] [:error] [pid 14034] [client 172.16.8.8:54133] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.test.ru/scp/settings.php?t=system

Try another language pack to see if there is an error in ru.phar only.

I try japan langpack,nothing has changed, and errors are still displayed. The error disappeared only after removing all the extra languages. The interface is displayed in English only.

Agent Accounts have a language preference. Installing a language pack does not change your accounts language preference. Click Profile and click on Preferences and select the new language.

    7 days later

    I have the same problem and the preferences in the Agents profile are changed all to polish language and still nothing changes.
    I have also installed DE version for testing purposes and situation is the same - english, everything is in english.

    2 months later

    ntozier
    I log in via LDAP in system as Agent, in profile change language on russian or other, but inteface language not chenge, only in english.

    That's not your Agent profile.
    Your Agent profile is located in the upper right hand.
    In your screenshot it is at:

      ntozier
      First screen is setup in my profile.

      In Apache error logs after press button "Save Changes":
      [Thu Dec 10 11:15:28.777851 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: include(): Filename cannot be empty in /var/www/help/include/class.translation.php on line 565, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.777898 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: include(): Failed opening '' for inclusion (include_path='./:/var/www/help/include/:/var/www/help/include/pear/:phar:///var/www/help/include/plugins/auth-ldap.phar/include') in /var/www/help/include/class.translation.php on line 565, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778002 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778031 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778055 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778088 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778111 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778136 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778162 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778184 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778207 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778231 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778254 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778278 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778301 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778326 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778366 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778389 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778411 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778436 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778458 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php
      [Thu Dec 10 11:15:28.778482 2020] [:error] [pid 822] [client 172.16.8.8:50965] PHP Warning: array_key_exists() expects parameter 2 to be array, boolean given in /var/www/help/include/class.translation.php on line 419, referer: http://help.domain.ru/scp/profile.php

      Eek. I must have scrolled to fast and missed that. I have asked the devs to take a look at this thread.
      You might want to try upgrading to current first though.

      @kvolk

      You need to upgrade osTicket to the latest version, download the latest language pack, upgrade your PHP version to 7.0+, and retest. If you get the same error then you need to check the permissions/ownership of the translation files.

      Cheers.

        Side note. if you are upgrading to 1.15 upgrade your PHP to 7.2 to 7.4, as it will not run on PHP 5.6 (which is very end of life).

          KevinTheJedi
          ntozier

          I picked up a new virtual machine Ubuntu 20.04.1 LTS before that there was a server on Debian 8. Installed Apache, php7.4 and connected the old base, the problem disappeared. There were no errors in the Apache log. The system language changed as expected. I suppose that the problem is in the php version, and php 5.6 is not suitable for installation. Thanks for helping me solve the problem.

          Write a Reply...