The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Default Language File ?

Discussion in 'General Discussion' started by cass, Sep 23, 2002.

  1. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    Hello anyone ...

    I want to know ... WHERE can I change the default &english& language that is selected to all new accounts to another one.
    It has to be a way to do that ...

    or maybe ... I need to submit a ticket for a new feature ?? ;)

    Please, if you know where can I change it so all accounts are created with &some other lang& as default.

    Regards.
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    [quote:b210f7756e][i:b210f7756e]Originally posted by cass[/i:b210f7756e]
    or maybe ... I need to submit a ticket for a new feature ?? ;)
    [/quote:b210f7756e]
    Yes please :)
     
  3. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    btw... Ticket is :
    http://web.cpanel.net/bugzilla/show_bug.cgi?id=865

    Hope to get this thing added soon :)

    please please please! :)
     
  4. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    any news on this ??

    I really need this language thing...
    as I have resellers on various languages... and each one needs to select a default lang for the cpanel &lang.aware& theme I'm using....

    can this be done soon??

    please! :)
     
  5. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    What I need :

    One or another thing... or all.... let see....

    1) An option to select the language on the ACCOUNT CREATION (so you dont need then to go and modify it)

    2) An new link to select the default LANGUAGE FILE for the account creation (it should work on a reseller basis...)

    3) The option to REMOTLY (accounting module) Create the account selecting the language file, or any posibility to send some command after creation to set the language of the account.

    too hard? :)
    It's more than a simple enchancment to non-english or multi-lang people/companies ... it's a MUST ;)

    Regards.
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    It looks like the default language (english) is hardcoded in Cpanel.pm in /usr/local/cpanel
     
  7. cass

    cass Well-Known Member

    Joined:
    Jul 17, 2002
    Messages:
    354
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Argentina/USA/Mexico
    Nick, can you please tell us something about this ?

    at least the option to select the lang when creating the account will be VERY usefull :)
    so I can create accounts on ONE step... and also REMOTELY (I'll start using MBill to do this...)

    It's too dificult to make this ?

    Then... we can leave the default lang file for each reseller for later... :)

    Regards.
     
  8. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    There's an easy workaround to this (in fact it's so easy that I can't understand why I didn't think of it before :p)

    The file /scripts/postwwwacctuser is executed automatically (if it exists) upon successful account creation with the username as argument. So one just has to post-edit the corresponding user cpdata file, something like this:

    http://html.conclase.net/cp/scripts/deflang.txt
     
Loading...

Share This Page