kopano-localize-folders
-
@klausade then I’m out of immediate ideas.
-
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 -
I made a ticket for this issue. https://jira.kopano.io/browse/KC-874
Thanks!
-
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”.
-
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
-
Hi Robin.
I tested the new python script and this version works fine with the german locale.
Thank you very much.
Kind regards
-
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"
-
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-coreTo workaround this issue i created a custom .mo file with this change
https://owncloud.kopano.com/index.php/s/b9sXCbonCTFiUiEJust put this file in /usr/share/locale/nl/LC_MESSAGES/ (Debian)
-
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
-
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.
-
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