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!

Paper_lantern Translation

Discussion in 'User Experience' started by The Sky Heart, Feb 26, 2015.

  1. The Sky Heart

    The Sky Heart Registered

    Joined:
    Oct 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi Guys,


    I have a small issue with Translating only paper_lantern to other languages, i don't really care about X3 theme it's even disabled for our customers we only use paper_lantern on 11.48.0.13.

    i could find the locale files but my problem is that everything is in one file and i only need to translate the client area of cpanel without WHM.

    is there anything that i can rely on to break the translation between cpanel client area and WHM? or find the lines that are only for the client area.
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. The Sky Heart

    The Sky Heart Registered

    Joined:
    Oct 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    thanks Michael,

    but what i meant is to separate WHM UI form cPanel UI, I only need to translate cPanel UI spesificaly Paper_lantern them.
    I can edit the locale file and add my translation but what i need is just the lines that belong to cPanel UI, or is WHM UI has a separate locale files?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Hello,

    I'm happy to learn that Paper Lantern is working well for you!

    We don't make a distinction between WHM and cPanel when it comes to the strings. There is no simple or easy way to separate them in the editor, or the export. The only way I can think of is to do a search for all the strings in /usr/local/cpanel/base/frontend/paper_lantern and only modify those strings in the editor.

    If I may ask, which Locale(s) are you targeting?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. The Sky Heart

    The Sky Heart Registered

    Joined:
    Oct 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks Kenneth,

    what you suggested also will take much time, I need to translate to Slovakia, Latvia and Croatia.
     
Loading...

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