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

    localized folder names

    Kopano Groupware Core
    5
    12
    2574
    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.
    • l4k3k3m4n
      l4k3k3m4n @marcus.bauch last edited by

      Hello Marcus,

      thanks for your help.
      Apache is set to system default locale.

      I installed a fresh kopano test system and have the following observation:

      I create a user:

      kopano-cli --create --user "robin.mueller" --fullname="Robin Müller" --email="robin@mueller.de" --password="1234" --admin-level=0
      

      This is the result:

      kopano-cli --list-user
      User list for Default (2):
                  User           Full Name          Homeserver                                   Store
      ------------------------------------------------------------------------------------------------
                SYSTEM              SYSTEM              Kopano        8962FFEFFB7B4D639BC5967C4BB58234
         robin.mueller       Robin Müller              Kopano        4AD937BBEE444FBBBB5CA59D1F6C5D45
      

      And here we have a screenshot from the webapp:
      0_1518599383560_Unbenannt.JPG

      One week ago all worked well without problems.
      How can I change this behaviour?

      Thanks

      1 Reply Last reply Reply Quote 0
      • A Former User
        A Former User last edited by

        Look at your /etc/default/kopano file, setting: KOPANO_USERSCRIPT_LOCALE=“de_DE.UTF-8”
        is this set at German?

        1 Reply Last reply Reply Quote 0
        • marcus.bauch
          marcus.bauch last edited by

          Hej l4k3k3m4n .

          Please post your system…

          Linux-Version…Kopano-Version a.s.o…

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

            This is in /etc/default/kopano

            KOPANO_LOCALE="de_DE.UTF-8"
            KOPANO_USERSCRIPT_LOCALE="de_DE.UTF-8"
            

            I am running

            Distributor ID: Ubuntu
            Description:    Ubuntu 16.04.3 LTS
            Release:        16.04
            Codename:       xenial
            
            WebApp 3.4.6.1233+718.1
            Kopano Core 8.5.81
            
            marcus.bauch 1 Reply Last reply Reply Quote 0
            • marcus.bauch
              marcus.bauch @l4k3k3m4n last edited by

              @l4k3k3m4n

              …change your

              /etc/apache2/envvars
              

              …like described, if you use Apache, and restart your webserver

              Maybe it is a bug in WebApp.

              Curretly i use:

              WebApp: 3.4.5.1200+703.1
              Kopano Core: 8.5.81

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

                Changing envars in apache does not make a difference.

                I can use this script to rename the folders:

                https://stash.kopano.io/projects/KSC/repos/core-tools/browse/localize-folders

                After that the folder names are right.
                So I dont think this can be a webapp bug. There must be something wrong during folder creation process.

                marcus.bauch 1 Reply Last reply Reply Quote 0
                • marcus.bauch
                  marcus.bauch @l4k3k3m4n last edited by marcus.bauch

                  @l4k3k3m4n

                  Hmm…okay.

                  There is another difference…

                  You use kopano-cli
                  …i use kopano-admin

                  Could you try to create a new user with kopano-admin and see what happens?
                  Should be the same…but, who knows… ;o)

                  Looks like kopano-admin is a binary and kopano-cli a Python-Script

                  # file kopano-admin
                  kopano-admin: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV)
                  
                  # file kopano-cli
                  kopano-cli: Python script, ASCII text executable
                  
                  # cat kopano-cli
                  #!/usr/bin/env python2
                  import sys
                  import kopano_cli
                  from kopano_cli import __version__
                  
                  if __name__ == '__main__':
                      sys.exit(kopano_cli.main())
                  
                  1 Reply Last reply Reply Quote 0
                  • l4k3k3m4n
                    l4k3k3m4n last edited by

                    Its the same behaviour with kopano-cli and kopano-admin.

                    1 Reply Last reply Reply Quote 0
                    • fbartels
                      fbartels Kopano last edited by

                      Are the folder names now in english (like the opening post claims) or german, but with broken umlauts (as the screenshot shows)?

                      If the first, then /etc/default/kopano is the solution to have new stores created in the correct language.
                      if the latter then there is still php which could mingle the umlauts and should also be supplied with the correct locales.

                      Regards Felix

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

                      Support overview:
                      https://kopano.com/support/

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

                        Hello @l4k3k3m4n,

                        i got the exact same problem in the past, my fix was to rely on the case sensitive utf8.

                        your “locale -a” shows

                        de_DE.utf8
                        

                        so set the /etc/sysconfig/kopano setting to "KOPANO_LOCALE=“de_DE.utf8” and "KOPANO_USERSCRIPT_LOCALE=“de_DE.utf8"”
                        not “de_DE.UTF8” or “de_DE.UTF-8” (note the dash)

                        this should do it. In some cases its useful to rename all folders to english and back to german with your mentioned script

                        coffee_is_life

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