hi, really, for Admin should not be needed 'cause usually the Admin can manage everything in English and if he wants can translate with calm... but
we are in 2014, this software has a truly good potential but lacks of modern features which would make it definitely strong. Unfortunately i know well PHP and not PERL, otherwise I would have helped more...
to me it's not possible to do 7-8 steps to change language and finally even reload the page... the users could find it boring
IMO it would need to:
better linking, so direct URL to language e.g. for spanish
https://yourdomain.com:10000/?virtualmin&language=es_utf8
and/or country flags (inline or dropdown etc...as you want) for desired countries choosen by Admin on the Virtualmin user homepage
session that immediately changes the language without those many steps
better translation support, e. g. wbm translator doesn't distinguish between Admin and User interface and puts all the translation strings together. This is difficult for Admins which have to translate the correct strings for users only, instead of the whole interface... this way Admin often can't know what are the priorities... Furthermore, when you translate UTF-8 files with wbm translator, instead of the correct accented and special chars it puts foreign characters inside (e.g. if you see it by notepad++) and you have to do double work to convert again.
hope this helps
best regards
Comments
From my opinion there is no practical use of having those switches. I might implement them with ease with I have more free time. So far, why don't you just use
Webmin->Change Language and Theme.
Kindda one step?
Submitted by JamieCameron on Fri, 11/07/2014 - 14:04 Comment #2
Perhaps a drop-down on the main page of Virtualmin to change the language would be possible to add - this would be more accessible than the current Change Language module.
Regarding translating admin vs user strings, it isn't really possible to separate them as almost all pages in Virtualmin are visible by both kinds of user.
Submitted by 7stars on Fri, 11/07/2014 - 14:50 Comment #3
yes, please... you'd be great :-D a dropdown on Virtualmin homepage with the Admin allowed to choose WHAT languages must be available there to the users (or even to disable it, if the Admin prefers english only)
and a one-click apply... so no need to manually reload the page
this is my feedback and my kind request
best regards
you'd be great
Jamie is already great! ;)
Submitted by 7stars on Fri, 11/07/2014 - 15:16 Comment #5
sure, and after this... the greatest lol
Submitted by JamieCameron on Fri, 11/07/2014 - 17:01 Comment #6
FYI, if I was to implement this it would be a per-user setting, so there's no need to have the admin restrict available languages (except maybe to exclude those with low translation coverage).
Submitted by 7stars on Fri, 11/07/2014 - 19:32 Comment #7
sorry, i can't understand what you mean as "per-user setting" in this case
anyhow, important is that the user, since the first time he logs in the control panel, can clearly see the dropdown to easily and quickly change the language...
then how you want to do it is your choice :-)
indeed, the user could choose the language even starting from the first login window... even better
In the meanwhile I'm translating the whole Virtualmin italian interface in UTF8, then will proceed with all the tooltips (help) and so on for es, fr, de and pt... when i will finish i will send you the files... but UTF8 only... no ISO
greets
Submitted by JamieCameron on Sat, 11/08/2014 - 18:45 Comment #8
By "per-user" , I mean the setting only applies to the current user, and will continue to apply to him (only) from then on.
If you do a translation, please please send it to me so I can include it in the next release!
Submitted by JamieCameron on Sat, 11/08/2014 - 19:34 Comment #9
This feature has been implemented for inclusion in the 4.13 Virtualmin release.
Submitted by 7stars on Sun, 11/09/2014 - 07:24 Comment #10
yes, sure... i think that in the next week i will have something ready, sincerely i don't know if can translate everything 'cause i will not provide anything to my users... e. g.
backup_ backuplog_ viewbackup_ nicetime_ nf_ restore_
those for sure and those ones related to edit users/databases(MySQL)/proxy etc. and relative html help files... but not everything... furthermore, there is the difficulty using the wbm translator, 'cause when i edit through that the utf8 files, it adds foreign characters instead of correct accented etc., so i had to give up and compare the files by notepad++, sort by alphabetical order and remove duplicates already translated to do it more quickly... if the wbm translator developer would fix this it could be easier for anyone, instead...
thank you very much best regards
Submitted by 7stars on Wed, 11/12/2014 - 18:35 Comment #11
Hey :-D
Virtualmin French UTF8
Link: https://mega.co.nz/#!xQ5AzaJa!ZabGe8BmYqo4gu_IoDlXZN9h_yy2E0DQu6zah7g4S-A
There are:
1 file in root ( for /usr/libexec/webmin/virtual-server/lang )
3 folders:
mysql ( for /usr/libexec/webmin/mysql/lang/ )
mailboxes ( for /usr/libexec/webmin/mailboxes/lang/ )
help/fr ( for /usr/libexec/webmin/virtual-server/help )
This is hard work (maybe awesome?) ^__^
Clean UTF8 files
Works like a charm with Authentic Theme, 'cause it adds the meta charset in html source. Don't know for your default themes, you should fix about this for languages other than english.
Maybe tomorrow or Friday i will have even Italian ready, and so on... Hope you can release your 4.13 version soon... 'cause I would need it
All the best ;-)
Submitted by JamieCameron on Wed, 11/12/2014 - 22:14 Comment #12
Thanks! These will go into the next Webmin and Virtualmin releases.
To go back to the original issue the new theme that I've been working on has a profile menu in the upper right corner, which will take the user to the Change Language and Theme page (see screenshot for what this looks like). Would that resolve your issue?
http://i.imgur.com/e82bj6Z.png
That menu or one similar to it will be visible on all pages within Virtualmin.
Added quick menu in Authentic Theme version 6.3.0.
Please try and tell me what you think. ;)
Thanks!
Submitted by 7stars on Sun, 11/16/2014 - 12:02 Comment #15
@Joe this is better for sure, but isn't resolutive.
Sincerely, that is an old method, old approach.
We'd need users to immediately change session language by one-click (link or country flag and/or direct URL address like ?virtualmin&lang=fr.UTF-8 )
for Admins no problem, for users, instead... they should not be confused and have not to see something as if it were not working or broken...
When i change language here as user,
1) i have to reload the page at the end
2) /etc/webmin/virtual-server/links-cache for the user is not emptied when you change the language and so this can do a mess with mixed language content... if a click on my user to edit something i see mixed content, e.g. something in italian and something in french...
e.g. an old 141341030325393-actions-username is still there...IMO should not be there anymore if not for the new settings only, instead.
hope this helps
@7stars to be honest, I find it's not a real world scenario! Why? Well, simply because people don't toggle their language more than once in a life.
What is the point of having a list of languages in a dropdown, if it's done so rarely?
Submitted by 7stars on Sun, 11/16/2014 - 12:13 Comment #17
the answer is: 'cause your thinking as Admin
a dropdown is not hurting anyone
but, above all, the real errors are:
when you change the lang, you have not to force users to reload the page
after you change lang, the old xxx-links-username AND xxx-actions-username must be removed from /etc/webmin/virtual-server/links-cache
Submitted by JamieCameron on Sun, 11/16/2014 - 16:05 Comment #18
The left-frame language change feature that will be in the next Virtualmin release will refresh the whole page, and clear the cache.
Submitted by 7stars on Sun, 11/16/2014 - 16:29 Comment #19
yes, thank you very much ;-) ASAP i will send you link for Italian and an updated fr.UTF-8 for UI ... it had some little typo inside
Submitted by 7stars on Tue, 11/18/2014 - 18:12 Comment #20
UPDATE:
https://mega.co.nz/#!8ZxWgT6S!BIHAkQBxdwIIQ_xbZCg6zHkKe38ftVDH45a7i4DGwW4
Submitted by JamieCameron on Tue, 11/18/2014 - 19:11 Comment #21
Thanks for the file ... but could you structure the ZIP so that the sub-directories mirror the directories in Webmin/Virtualmin? That will make it much easier for me to import.
Submitted by 7stars on Wed, 11/19/2014 - 03:33 Comment #22
i don't know how you want it...
i should create
/usr/libexec/webmin... etc ?
Submitted by Issues on Wed, 12/03/2014 - 03:40 Comment #23
Automatically closed -- issue fixed for 2 weeks with no activity.