Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Default Language Files

Discussion in 'User Experience' started by frankiejr, Nov 16, 2004.

  1. frankiejr

    frankiejr Member

    May 29, 2004
    Likes Received:
    Trophy Points:
    I'm assuming the language files that cPanel uses are overwritten upon each upgrade. Is there any way to link to a secondary file instead (when developing a custom theme) so that I can use my own language file? I've thought about doing it through PHP echo tags but would rather do it through cPanel tags if at all possible.

    I don't like the way many things are worded and/or capitalized in the default language file and would like to change it. I'd rather not hard-code the titles directly; I'd like to pull all text from an external file.

  2. Donna

    Donna BANNED

    Feb 15, 2003
    Likes Received:
    Trophy Points:
    Toronto, Canada
    cd /usr/local/cpanel/lang
    rm -rf english
    ln -s /path/to/language/filename english

    Note that there is a space between filename and english.

    This will still get overwritten by cpanel but then you can just remake the symlink with a couple of cut and paste commands.

    Heard of some people making a /scripts/postupcp script to do this for them after cpanel updates but haven't tried it yet so not sure if it'll run automatically or you have to manually run it
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice