Hi everyone,
I'd like to configure a feature that, based on userdb locale settings, returns with differently translated string for the same virtual namespace mailbox name.
This is where I ended up so far:
group @namespaces virtual-virtual-english { mailbox All { auto = no special_use = \All } }
group @namespaces virtual-virtual-hungarian { mailbox "Összes levél" { auto = no special_use = \All } }
namespace virtual-virtual { prefix = Virtual/
separator = / mail_driver = virtual mail_path = /var/lib/dovecot/virtual/virtual mail_index_path = %{home}/index/virtual/virtual namespace_subscriptions = no
list = children hidden = no }
UserDB query works:
Debug: Added setting via userdb: namespace/virtual-virtual/@namespaces=virtual-virtual-hungarian
I had to create symlinks in the virtual/virtual directory (otherwise the Hungarian version wouldn't work):
virtual/virtual
All &ANY-sszes lev&AOk-l -> All/
When I list the mailboxes, however, I get back all of them, not just the matching-language elements:
- LIST (\Noselect \HasChildren) "/" Virtual
- LIST (\HasNoChildren) "/" "Virtual/&ANY-sszes lev&AOk-l"
- LIST (\HasNoChildren \All) "/" Virtual/All
"list", "hidden", and "prefix" are seemingly not allowed within a group.
How can I offer different translations for different users in my home setup? Is it possible to translate the namespace prefix?
Dovecot version: 2.4.1.
Thank you,
Ákos