Change "Virtual Server" to "Domain"

18 posts / 0 new
Last post
#1 Tue, 11/05/2013 - 12:45
yngens

Change "Virtual Server" to "Domain"

I totally accept and support the fact Virtualmin uses the correct naming, virtual servers, for the concept that is called "domains", "websites" in other control panel types. After all to host a website on any server you need to create a respective virtual host for a respective domain name on the Apache configuration, so it is in fact a virtual server.

However, after couple years of using Vitualmin/Webmin/Cloudmin, we've come to the conclusion that it is just too much time consuming to overcome the incorrect habit of calling virtual servers as domains, imposed by the whole industry to the absolute majority of regular users. Whatever detailed documentation we provide to customers and refer to the following line on http://www.virtualmin.com/documentation/system/cpanel:

cPanel refers to accounts as "Domains", while Virtualmin uses the term "Virtual Servers".

we have to deal with this naming confusion issue with almost every single new user of Virtualmin. Things especially get confused with customers who use virtual private servers by Cloudmin, even though Cloudmin avoids calling virtual private servers as virtual private servers (using just systems instead), it is quite confusing for some customers to differ virtual servers from virtual private servers .

We understand that we can't ask Virtualmin to change its naming concept, however we really hope that it is possible for the Virtlualmin creators' to make such key strings on Virtualmin UI as "virtual server", "Virtualmin", "Webmin", "sub-server" available for replacing per user likings.

For example, in Drupal world almost anything on Drupal UI is possible to replace with some custom naming. It would be just great if Virtualmin would allow the same. In that case, some Virtualmin users would be able just to replace all the occurrences of virtual server's and sub-server's to domain's and sub-domain's respectively and thus be finally done with customers get constantly confused about correct Virtualmin terminology with incorrect naming, which however and unfortunately has already become industry standards.

Tue, 11/05/2013 - 21:42
andreychek

Thanks for your thoughts! I can't make any promises, but I'll pass them along.

-Eric

Wed, 11/06/2013 - 22:08
nobodyfamous

I know nothing of how webmin/virtualmin is programed, but I would suggest avoiding unnecessary overhead at all costs. I find the major drawback of a CMS like joomla is the way it will write, then overwrite, and override the overwrite with another overwrite. while it is nice to be able to edit and change every little aspect of a system, waiting for it to load sucks.

keep it simple. I would normally suggest a simple find and replace, but again, I don't know what virtualmin/webmin is written in. At most if this could be done with a single variable file that would be nice.

less is more! keep it light, you don't need a system to control a system that runs a few programs that don't actually require the original system.

P.S. I love virtualmin/webmin so far. (it's been less than a month, and I have a few sites up and running already) It kicks the crap out of cPanel and every other open source panel going. keep up the good work.

Thu, 11/07/2013 - 15:48
andreychek

Interestingly, Jamie tells me that this is already possible :-)

Virtualmin currently has a system for handling different languages, and language customizations. So what you could do is simply make language customizations.

Jamie tells me that it's a matter of copying this file:

cp /usr/libexec/webmin/virtual-server/lang/en /etc/webmin/virtual-server/custom-lang

And then, edit /etc/webmin/virtual-server/custom-lang, and you can make your desired language changes.

-Eric

Thu, 11/07/2013 - 20:36 (Reply to #4)
yngens

Wow, that is really cool! Going to try try right away!

Edit: Having trouble in getting newly created custom langauge reflected in Webmin UI. I copied the file as you suggested, then restarted Webmin, but whatever I do it is not coming up in the list of available languages in Webmin > Webmin > Change Language and Theme

Thu, 11/07/2013 - 20:56 (Reply to #5)
yngens

For some reason my instance of Webmin doesn't take effect for any language change in Webmin > Webmin > Change Language and Theme. I tried to set several different languages present in the system, for example, German, and, unfortunately, nothing is changed. What could be the problem in my case?

Sun, 11/10/2013 - 16:38 (Reply to #6)
yngens

Hi Eric,

Could you please confirm the copy path should be "/etc/webmin/virtual-server/custom-lang" and not "/usr/libexec/webmin/virtual-server/lang/custom-lang"? The option for custom language is not showing up in UI's language selector. What should be a language name in the list?

Another strange thing is that if I login to Webmin through IP address of the server like https://guest-system-ip:10000 and change to any language then I see no effect. However, If I login to the same system (KVM guest) through Cloudmin's "Open Webmin" link like https://cloudmin-ip:10000/servers/link.cgi/138378065872550, then I can change language. Can't understand why so.

Fri, 11/08/2013 - 06:24
nobodyfamous

I just gave it a try, and the first few times, mine did not change either, BUT it was my error.

Make sure you choose the bullet "Personal choice .." and then choose the language in the drop down list. Then refresh the whole page.

Mon, 11/11/2013 - 03:27
yngens

Hi Eric,

I've copied /usr/libexec/webmin/virtual-server/lang/en to /etc/webmin/virtual-server/custom-lang and edited /etc/webmin/virtual-server/custom-lang as you instructed, namely replaced Create Virtual Server to Create Domain wiht no luck. Restarting Webmin or even rebooting the VPS doesn't help.

Could you please help me to get this work? Thanks.

Mon, 11/11/2013 - 04:04
yngens

It only starts changing strings if I edit /usr/libexec/webmin/virtual-server-theme/lang/en But I really don't want to edit core files. There should be some kind of custom-lang overriding approach.

Mon, 11/11/2013 - 07:53
andreychek

It worked for me when I performed these steps:

  • cp /usr/libexec/webmin/virtual-server/lang/en /etc/webmin/virtual-server/custom-lang

  • Restart Webmin with: /etc/init.d/webmin restart

I didn't even find that I needed to change the language within Webmin, my custom changes began working after making changes to the custom-lang file.

For example, I searched for this particular line in the custom-lang file:

form_header=New virtual server details

And changed that to:

form_header=New domain details

After doing that, I went into "Create Virtual Server" in Virtualmin, and it showed "New domain details" at the top of the Create Virtual Server form.

-Eric

Mon, 11/11/2013 - 13:23 (Reply to #11)
yngens

Eric,

I now see where is the confusion. The described method indeed changes some elements in the right frame window, however it does not UI strings on the left frame. Remember my main goal was to replace "Create Virtual Server" to "Create Domain". So changing that string in /etc/webmin/virtual-server/custom-lang doesn't change it in the left frame.

Please let me know how could I change strings in the main menu on the left frame? Thank you very much!

Mon, 11/11/2013 - 14:29
yngens

I've finally got it. I needed to create "/etc/webmin/virtual-server-theme" directory and copy /usr/libexec/webmin/virtual-server-theme/lang/en to /etc/webmin/virtual-server-theme/custom-lang.

Thank you very much for pointing me to the right direction.

Mon, 11/11/2013 - 17:54
andreychek

Sounds like you're spot on!

I had asked Jamie about your question, and he indeed said what you just said above --

mkdir /etc/webmin/virtual-server-theme
cp /usr/libexec/webmin/virtual-server-theme/lang/en /etc/webmin/virtual-server-theme/custom-lang
Tue, 11/12/2013 - 03:38 (Reply to #14)
yngens

I was able to modify lot's of things to make it much easier for end-user, however even after looking high and law everywhere in /lang/en files couldn't find the one which is responsible for the following strings in Webmin's UI:

[–] Webmin Webmin Actions Log Webmin Configuration Webmin Servers Index Webmin Users

Could Webmin creators to point which file I should look into? Thanks!

Tue, 11/12/2013 - 08:50
andreychek

Those strings are part of Webmin.

You can search for them running a command such as this:

`find /usr/libexec/webmin/ -name en | xargs grep 'Webmin Configuration'

For that particular example, it shows that file being available here:

/usr/libexec/webmin/webmin/lang/en

Tue, 11/12/2013 - 12:58 (Reply to #16)
yngens

Thanks Eric, however unfortunately copying /usr/libexec/webmin/webmin/lang/en to /etc/webmin/webmin/custom-lang and modifying "Webmin Configuration" string doesn't take any effect. IT also doesn't change if I modify it directly in /usr/libexec/webmin/webmin/lang/en.

Tue, 11/04/2014 - 11:31
7stars

hi, here is difficult... and you should make it easier, instead

i have 2 webmin locations: /usr/libexec/webmin and /etc/webmin

  • i need 6 languages for my clients
  • e. g. i need to translate "Edit Users" and others in Virtualmin (virtual-server) for users...

what i have to copy and exactly WHERE? What is the correct destination for the language file (FROM/TO) and remember that are 6 languages to translate from english.... i don't need only "custom-lang" IMO the documentation should be more clear about this

thank you

p.s.: and what about the theme? why any theme has its own language? this way is a mess... really...too many lang dirs...too many locations in this way i'm not able to understand what string matches what translation... this type of traslation system IMO has to be changed soon. Only ONE location for any string...

Topic locked