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

    kopano-localize-folders

    Kopano Groupware Core
    7
    17
    3898
    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.
    • fbartels
      fbartels Kopano @klausade last edited by

      @klausade but is it also used in your current session? I’ve seen such errors popping up when the current session was only using the c locale.

      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
      • klausade
        klausade last edited by

        @fbartels I would say “yes it used in the session”

        klaus@mail:~$  cat /etc/default/locale 
        #  File generated by update-locale
        LANG=nb_NO.UTF-8
        LANGUAGE="nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en"
        klaus@mail:~$ locale
        LANG=nb_NO.UTF-8
        LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en
        LC_CTYPE="nb_NO.UTF-8"
        LC_NUMERIC="nb_NO.UTF-8"
        LC_TIME="nb_NO.UTF-8"
        LC_COLLATE="nb_NO.UTF-8"
        LC_MONETARY="nb_NO.UTF-8"
        LC_MESSAGES="nb_NO.UTF-8"
        LC_PAPER="nb_NO.UTF-8"
        LC_NAME="nb_NO.UTF-8"
        LC_ADDRESS="nb_NO.UTF-8"
        LC_TELEPHONE="nb_NO.UTF-8"
        LC_MEASUREMENT="nb_NO.UTF-8"
        LC_IDENTIFICATION="nb_NO.UTF-8"
        LC_ALL=
        klaus@mail:~$ env|grep -i lang
        LANG=nb_NO.UTF-8
        LANGUAGE=nb_NO:nb:no_NO:no:nn_NO:nn:da:sv:en
        
        fbartels 1 Reply Last reply Reply Quote 0
        • fbartels
          fbartels Kopano @klausade last edited by

          @klausade then I’m out of immediate ideas.

          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
          • sebschremser
            sebschremser last edited by

            Hello.

            I have the same behavior.

            The locale is installed:

            root@srv:~# locale -a
            C
            C.UTF-8
            de_AT.utf8
            de_DE.utf8
            POSIX
            

            I don’t get it why i can change the language to english but not back to german?

            Kind regards
            Basti

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

              I made a ticket for this issue. https://jira.kopano.io/browse/KC-874

              Thanks!

              1 Reply Last reply Reply Quote 0
              • linnea-s
                linnea-s last edited by

                The problem is that the script mixes byte and unicode strings. This means that python’s implicit conversion to ascii is triggered, and because the folder names contain characters that can’t be represented in ascii, an exception is thrown.

                The script probably has other hidden encoding bugs too. Unfortunately it’s really hard to get this right in Py2, I think the consensus is that the only way to really deal with it is to use unicode everywhere, converting at the “borders”.

                1 Reply Last reply Reply Quote 0
                • robing
                  robing Kopano (Inactive) last edited by

                  Hi,

                  Can you try the version on https://stash.kopano.io/projects/KSC/repos/core-tools/browse/localize-folders.py
                  This should already have the fix for this.

                  Kind regards,

                  Robin

                  Regards Robin,

                  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
                  • sebschremser
                    sebschremser last edited by

                    Hi Robin.

                    I tested the new python script and this version works fine with the german locale.

                    Thank you very much.

                    Kind regards

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

                      Hi,

                      Is it possible to change the names of a folder.
                      In outlook “Ongewenste E-mail” is spelled with a small “e” (Ongewenste e-mail)
                      Now i’ve to folders in Outlook.

                      Running in verbose mode
                      Running in dry mode no changes will be made
                      Changing MAPI "junk" -> Renaming "Ongewenste E-mail" to "Ongewenste E-mail"
                      Changing MAPI "tasks" -> Renaming "Taken" to "Taken"
                      Changing MAPI "journal" -> Renaming "Logboek" to "Logboek"
                      Changing MAPI "wastebasket" -> Renaming "Verwijderde items" to "Verwijderde items"
                      Changing MAPI "inbox" -> Renaming "Postvak IN" to "Postvak IN"
                      Changing MAPI "sentmail" -> Renaming "Verzonden items" to "Verzonden items"
                      Changing MAPI "outbox" -> Renaming "Postvak UIT" to "Postvak UIT"
                      Changing MAPI "calendar" -> Renaming "Agenda" to "Agenda"
                      Changing MAPI "rss" -> Renaming "RSS-kanalen" to "RSS-kanalen"
                      Changing MAPI "drafts" -> Renaming "Concepten" to "Concepten"
                      Changing MAPI "contacts" -> Renaming "Contactpersonen" to "Contactpersonen"
                      Changing MAPI "notes" -> Renaming "Notities" to "Notities"
                      Changing MAPI "suggested_contacts" -> Renaming "Voorgestelde Contactpersonen" to "Voorgestelde Contactper                            sonen"
                      
                      1 Reply Last reply Reply Quote 0
                      • robing
                        robing Kopano (Inactive) last edited by

                        HI @madpatrick,

                        This script is using the translation files of kopano-core so it’s need to be change there.
                        I notified the core team so they can make the change in the next release of kopano-core

                        To workaround this issue i created a custom .mo file with this change
                        https://owncloud.kopano.com/index.php/s/b9sXCbonCTFiUiE

                        Just put this file in /usr/share/locale/nl/LC_MESSAGES/ (Debian)

                        Regards Robin,

                        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/

                        madpatrick 1 Reply Last reply Reply Quote 0
                        • madpatrick
                          madpatrick @robing last edited by

                          Hi @robing

                          I’ve found a script junk-folder-fix.py which rename the folder to the correct name.

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

                          The only thing is now that i’ve double foldernames : Ongewenste e-mail

                          1 Reply Last reply Reply Quote 0
                          • robing
                            robing Kopano (Inactive) last edited by

                            Do you see the two folders in WebApp or on a client that is using z-push.
                            In case of the last one the only thing you can do is recreate that profile.

                            The Junk folder is not a system folder and therefore a client just checks if it can find a folder that has that name and will just create a local folder if it can’t.

                            Regards Robin,

                            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
                            • madpatrick
                              madpatrick last edited by

                              Hello Robing,

                              I see in Webapp just 1 folder.
                              The problem accurs only in Outlook.
                              In outlook the system folder is not the same as in Webapp

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