Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Change language of login screen.

    Kopano WebApp
    3
    5
    1635
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gladston3
      gladston3 last edited by

      Hello,

      I am trying to change the login screen of the webapp to german but without any success.
      I edited the following lines in /etc/kopano/webapp/config.php

       if (isset($_ENV['LANG']) && $_ENV['LANG']!="C"){
              //      define('LANG', $_ENV["LANG"]); // This means the server environment language determines the web client language.
                      define('LANG', 'de_DE');
              }else{
                      define('LANG', 'de_DE'); // default fallback language
      
              // List of languages that should be enabled in the logon
              // screen's language drop down.  Languages should be specified
              // using <languagecode>_<regioncode>[.UTF-8], and separated with
              // semicolon.  A list of available languages can be found in
              // the manual or by looking at the list of directories in
              // /usr/share/kopano-webapp/server/language .
              define("ENABLED_LANGUAGES", "cs_CZ;da_DK;de_DE;en_GB;en_US;es_CA;es_ES;fi_FI;fr_FR;hu_HU;it_IT;ja_JP;nb_NO;nl_NL;pt_BR;ru_RU;sl_SI;tr_TR;z
      h_TW");
      

      I know, it’s not the most beautiful solution but shouldn’t that do the trick?

      cheers
      -gladston3

      1 Reply Last reply Reply Quote 0
      • klausade
        klausade last edited by

        Try using de_DE.UTF-8

        1 Reply Last reply Reply Quote 0
        • gladston3
          gladston3 last edited by

          Thank you for the suggestion but unfortunately that didn’t work either ):

          1 Reply Last reply Reply Quote 0
          • bhuisman
            bhuisman last edited by

            Hi,

            Do you have the de_DE locale installed on your server? If not, you will also need to restart your webserver (and php-fpm if applicable) after installation.

            -Bob

            Regards, Bob

            Need support?
            Have a look at https://kopano.com/support/ for options.

            Helpful resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            1 Reply Last reply Reply Quote 0
            • gladston3
              gladston3 last edited by

              Hi,

              it turned out, that a combination of the two suggestions from @bhuisman and @klausade fixed the problem. I had only the de_AT and de_AT.UTF-8 locales installed which did not work in kopano for me.
              So I added the de_DE and de_DE.UTF-8 locales and changed de_DE to de_DE.UTF-8 and now it works.
              What I do not fully understand though, is why de_DE is not working even with the correct locales installed?

              1 Reply Last reply Reply Quote 0
              • First post
                Last post