Submitted by 7stars on Wed, 05/17/2017 - 09:40
Hello, please take a look at this discussion with Ilia on github
https://github.com/qooob/authentic-theme/issues/779
thank you
Status:
Closed (fixed)
Hello, please take a look at this discussion with Ilia on github
https://github.com/qooob/authentic-theme/issues/779
thank you
Comments
Submitted by JamieCameron on Wed, 05/17/2017 - 21:03 Comment #2
I'm a bit confused by that thread ... what was the underlying issue?
Submitted by 7stars on Thu, 05/18/2017 - 02:24 Comment #3
Hello Jamie... the left menu links
trouble to translate ...please clarify
is there a cache or something like that on Usermin? is the translation system working as expected? thanks
Jamie, 7stars means that after he edited lang files, some strange cache issues don't let things apply unless: (as commented by 7stars on GitHub)
Submitted by 7stars on Thu, 05/18/2017 - 07:09 Comment #5
I think that was just a placebo...in reality I can't understand why changes are not applied.
Eg. the "Trash" link on the left menu by Mail (mailbox) usermin module.
Submitted by JamieCameron on Thu, 05/18/2017 - 23:11 Comment #6
There is some caching of translation files in RAM - you may need to run
/etc/usermin/restart
to refresh it.Submitted by 7stars on Fri, 05/19/2017 - 04:54 Comment #7
I have just start and stop in that folder here on CentOS 7... why? I guess is the same of
service usermin restart
?anyway, also did cleared browser cookies
/etc/usermin/stop
/etc/usermin/start
and the text "Trash" remains Trash lol no way...
something else? thank you
Submitted by JamieCameron on Sun, 05/21/2017 - 00:55 Comment #8
Wait, is "Trash" the actual name of the folder? Because if so, Usermin won't translate it.
Submitted by 7stars on Sun, 05/21/2017 - 04:56 Comment #9
what do you mean with "the actual name of the folder" ? And why shouldn't Usermin translate it? It's just a translation...if it doens't translate, it's wrong, anyway...
Submitted by JamieCameron on Sun, 05/21/2017 - 13:17 Comment #10
I mean, the name of the mail sub-directory under the user's ~/Maildir directory.
That said, as long as it's real directory name is "trash" or similar, it should be possible to translate it using the
folder_trash
language key in themailbox
Usermin module.Submitted by 7stars on Sun, 05/21/2017 - 14:21 Comment #11
indeed,
folder_trash
in the mailbox Usermin module, that's already translated...and this is the issueplease, can you test it instead of just write about it? sorry for that... here is not translated at all
Submitted by 7stars on Sun, 05/21/2017 - 14:28 Comment #12
eg. by
grep -r "folder_trash" /usr/libexec/
...
/usr/libexec/usermin/mailbox/lang/it:folder_trash=Cestino
/usr/libexec/usermin/mailbox/lang/it.UTF-8:folder_trash=Cestino
...
as you can see, for italian lang that's translated for it and it.UTF-8 both...
despite this, the text remains as is, "Trash"
Submitted by JamieCameron on Sun, 05/21/2017 - 22:50 Comment #13
Ok, I see the cause of this now - there's a bug that can cause the trash folder to not be shown with the correct name if Usermin is configured to not move deleted mail to the trash. I'll fix it in the next release.
Submitted by JamieCameron on Sun, 05/21/2017 - 22:52 Comment #14
Submitted by IssueBot on Sun, 06/04/2017 - 22:56 Comment #15
Automatically closed - issue fixed for 2 weeks with no activity.