From: Tomas K. <to...@us...> - 2006-05-16 17:32:34
|
> On 16.05.2006 16:14 (+0100), Fredrik Jervfors wrote: >> http://thread.gmane.org/gmane.mail.squirrelmail.devel/7434/ >> http://thread.gmane.org/gmane.mail.squirrelmail.devel/7439/ >> >> Maybe the above links are of any help. I don't know which other clients >> you use, and if they translate the folder names or not, so I can't give >> any good advice about this. In SquirrelMail, only the INBOX is >> translated, >> since that's the only folder the user can't name himself. If you want to >> add folder name translations, you have to hack the source yourself. > > Sorry, no, that doesn't help. I know that I have to code it myself, and > I already did. But the translation system is somewhat intransparent. In > fact I can prove that the only function that can ever read my de locale > files is never being called. I have no idea how that works. Maybe I > should address it to the other devel mailing list. > > Even my "INBOX" isn't translated at all. Reading squirrelmail.po, I > found this: > > msgid "INBOX" > msgstr "INBOX" > (...) > msgid "INBOX" > msgstr "Posteingang" > > Now, what's that supposed to be? No. It is not supposed to be that way. One catalog can't store two entries with same msgid string. Please use gettext editors to modify .po files. If you prefer plain text editors - make sure that you don't break gettext catalog format. If you suspect that your translation changes are not applied, regenerate squirrelmail.mo file with 'msgfmt -v -c -o squirrelmail.mo squirrelmail.po' command and restart apache in order to remove cached gettext translations. > My other mailer is Thunderbird. This one, Outlook Express, Apple Mail, > IlohaMail and who knows what else will show the default folders in my > local language, so I expect SquirrelMail to do the same. And Thunderbird > will create these folders for me if they don't exist, with the physical > name in English and the displayed name in my local language. Have you tried creating other IMAP folder with same name in German? Even if Thunderbird does not allow you to do that, other imap clients can create folder that uses same name as name used by Thunderbird translation and you will end up with two folders that use same name. > Btw, Apple Mac OSX does this in its file system, too. The folder > /Benutzer/Yves/Dokumente is actually /Users/Yves/Documents on the disk. > I find this a lot better than what Windows does for example. Same thing. How OS handles two folders/directories that have same name? We don't rewrite other folders because it can cause confusion. -- Tomas |