Set Language with Package Creation

compibot

Verified User
Joined
Aug 21, 2005
Messages
690
Location
Spain
Hello team,

When we create packages, we can assign all different kinds of default parameters.

Except one: Language.

My company is strickty spanish speaking client base and all we use is spanish. I have a spanish translation of Enhanced, but I have to go into every single new account and set and save the language to ES, now that I'm using WHMCS.

With my previous custom made system, it was no issue, since I would throw an API command to change the language.

This would be great to be able to set in the package creation for other reasons, like I have some spanish resellers that preffer English as the panel language anyways, cause they are use to it, or to practice english (no joke).

So allowing us the ability to assign a language to a package would save us from going into each account and setting it to ES (a royal pain and counterproductive) and give us the flexibility of creating packages like "Basic-en" , or "Basico-es"

¡ Cheers !
 
Last edited:
Off-topic reply

I have some Spanish resellers that preffer English as the panel language anyways, cause they are use to it, or to practice English (no joke).
I smiled when I read that; I've recently started brushing up on my Spanish (which I haven't spoken in almost 40 years) by watching two episodes of Everybody Loves Raymond every weekday night, with the language set for Spanish and the subtitles set for English. I've also set the subtitles to be very small, and I only look at them when I need clarification. I think the method works; my ex-wife used television (without subtitles) to learn English when she moved to the U.S. from Germany back in the early 60s.

Jeff
 
Hehehe,

Not sure how good Everybody Loves Raymond would be in spanish, but yeah, same thing. Most technologies are in english (programming, network protocols, control panels, tutorials...) I mean just about everything. So some clientes prefer the english language , cuase they don't understand literal translations. I actually do not translate technical terms, cuase we are all used to seeing them in English.

But most of the text is translated into Spanish, and most of my users would not understand annything if it wasn't in spanish.

I guess when DA started out the language thing was really not an issue. But DA has come a long ways. I think the language parameter deserves it's importance. Maybe not in translating the panel, but at least in being able to select the language we've translated ourselves when creating and assigning a package.

What do you think jlasman ?
 
I'm glad I don't have to do the programming ;) .

Hopefully John will look at the thread.

Jeff
 
Although language isn't currently package option, you can set a default value for new users.

Edit the directadmin.conf and add:

language=es

or whatever the spanish code is. New users will have that language code as their default instead of en.

John
 
Excellent !

Thanks for the tip :) It would be nice to have that switch somewhere in DA, to avoid going into shell (for unexperienced shell users like my self )

Thanks a bunch :)
 
Hello guys,

For some reason, this parameter isn't working on my new shared da server with v1.315 . I have it in directadmin.conf:

...
ftpconfig=/etc/proftpd.conf
ftppasswd=/etc/proftpd.passwd
ftpvhosts=/etc/proftpd.vhosts.conf
language=es
license=/usr/local/directadmin/conf/license.key
logdir=/var/log/directadmin
logger=/usr/local/directadmin/logger
...

restart DA a few times, and new accounts still have "en" language selected.

Any suggestions ?
 
Hello,

It is a package option now, so you'd have to set the language in the package itself. Set the skin first and save (if you need to change it) so that all languages in that skin show up when you edit it again.

The directadmin.conf option is only a default that's set before package and user settings override it internally (basically a last restore fallback value). It's also the default used when creating new package I believe, assuming that language exists in that skin.

John
 
Ahh !

Thanks John :) I see what's going on. Walo hasn't updated Marina yet to show the language options in package admin :)

Excellent work :) Keep up the good work guys !
 
Back
Top