Update kopano webapp language to German
-
Hi,
I have updated kopano webapp language to german, meanwhile I could see “inbox”, “drafts” “outbox” “sentItems” etc are in english still. Rest of the things are in german. How can I make “inbox”, “drafts” “outbox” “sent Items” etc to be in german ?
See the screen shot attached.
-
Hi,
The language of the store is decided on creation time.
You can change the language of a store with the script kopano-localize-folders which is included with kopano.
-
Hi,
Can you please share the command example ? and language parameter being parsed ?
Does it mean it will change “inbox”, “drafts” “outbox” “sent Items” names to German ? -
Hi.
Example for user1
# kopano-localize-folders -u user1 --lang de_DE.UTF-8
Yes it does.
-
I am getting the below error, command used was
kopano-localize-folders -u username@domain.com --lang de_DE.UTF-8
user@domain.com: Changing localized folder names to “de_DE.UTF-8”
Traceback (most recent call last):
File “/usr/sbin/kopano-localize-folders”, line 113, in <module>
main()
File “/usr/sbin/kopano-localize-folders”, line 106, in main
folderobject.prop(PR_DISPLAY_NAME).set_value(localizedname)
AttributeError: ‘Property’ object has no attribute ‘set_value’ -
@nisamudeen97
Can you use the latest version on https://stash.kopano.io/projects/KSC/repos/core-tools/raw/localize-folders/localize-folders.py -
Just want to add I had the same problem before and this is how I have fixed it, basically using the file that @robing suggests:
curl https://stash.kopano.io/projects/KSC/repos/core-tools/raw/localize-folders/localize-folders.py?at=refs%2Fheads%2Fmaster > localize-folders.py python localize-folders.py -u user1 --lang de_DE.UTF-8 --verbose
–verbose is in there because I wanted the script to tell me what’s wrong in case of errors. It can safely be obmitted.
-
Here is the verbose output
Running in verbose mode
Changing MAPI “junk” -> Renaming “Junk E-mail” to “Junk E-Mail”
Traceback (most recent call last):
File “/usr/sbin/kopano-localize-folders”, line 113, in <module>
main()
File “/usr/sbin/kopano-localize-folders”, line 106, in main
folderobject.prop(PR_DISPLAY_NAME).set_value(localizedname)
AttributeError: ‘Property’ object has no attribute ‘set_value’ -
@irreleph4nt Any solution for above ?
-
@nisamudeen97 you either need to update your Kopano to the latest version (which contains a fixed script) (recommended action) or download the script from the link provided by @robing