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.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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,461
    Likes Received:
    22
    Trophy Points:
    38
    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?
     
  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