Direct URL to language and/or country flags on Virtualmin Homepage

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


  • and/or country flags (inline or dropdown 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

Closed (fixed)


Ilia's picture
Submitted by Ilia on Fri, 11/07/2014 - 11:34

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?

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.

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

Ilia's picture
Submitted by Ilia on Fri, 11/07/2014 - 14:58

you'd be great

Jamie is already great! ;)

sure, and after this... the greatest lol

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).

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


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!

This feature has been implemented for inclusion in the 4.13 Virtualmin release.

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

Hey :-D

Virtualmin French UTF8


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 ;-)

Thanks! These will go into the next Webmin and Virtualmin releases.

Joe's picture
Submitted by Joe on Fri, 11/14/2014 - 16:09 Pro Licensee

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?

That menu or one similar to it will be visible on all pages within Virtualmin.

Ilia's picture
Submitted by Ilia on Sat, 11/15/2014 - 12:22

Added quick menu in Authentic Theme version 6.3.0.

Please try and tell me what you think. ;)


@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

Ilia's picture
Submitted by Ilia on Sun, 11/16/2014 - 12:02

@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?

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

The left-frame language change feature that will be in the next Virtualmin release will refresh the whole page, and clear the cache.

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

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.

i don't know how you want it...

i should create

/usr/libexec/webmin... etc ?

Automatically closed -- issue fixed for 2 weeks with no activity.