Jump to content

Some help with translation


ocastaned

Recommended Posts

I need some help translating some "view ticket" section into spanish, as you can see on this image:

kk2tZh.png

 

I already created my override file into spanish, but I am not sure what to put there to translate that above.

 

Also if possible, I need to translate this other section:

 

6DDGd1.png

 

 

Thank you guys in advance. 

 

Note: I am currently using WHMCS version  7.9.2.

 

 

 

 

 

 

Edited by ocastaned
Link to comment
Share on other sites

1 hour ago, ocastaned said:

I need some help translating some "view ticket" section into spanish, as you can see on this image:

kk2tZh.png

 

I already created my override file into spanish, but I am not sure what to put there to translate that above.

 

Also if possible, I need to translate this other section:

 

6DDGd1.png

Thank you. I just put the images again.

 

Thank you guys in advance. 

 

Note: I am currently using WHMCS version  7.9.2.

 

 

 

 

 

 

 

Link to comment
Share on other sites

19 hours ago, ocastaned said:

I need some help translating some "view ticket" section into spanish, as you can see on this image:

CC Recipients & Email...

$_LANG['support']['ccRecipients'] = "CC Recipients";
$_LANG['support']['addCcRecipients'] = "Enter Email Address";

This ticket is closed...

$_LANG['supportticketclosedmsg'] = "This ticket is closed.  You may reply to this ticket to reopen it.";

Manage SSL Certificates (I think)...

$_LANG['navManageSsl'] = "Manage SSL Certificates";

Manage SSL table headings (and a lot of other text strings) are hardcoded in the managessl.tpl template - and have been for nearly 3 years, but I can't see why they need to be... *sighs* headshake.gif

            <tr>
                <th>Domain</th>
                <th>SSL Product</th>
                <th>Order Date</th>
                <th>Renewal Date</th>
                <th>Actions</th>
            </tr>

so there are a few ways to resolve this...

you could replace these hardcoded strings with Language Overrides... Domain/Order Date and Actions already exist as language strings used elsewhere, so assuming their Spanish translations are correct in this context, then you only have to worry about making new translations (in English & Spanish) for the other two (SSL Product & Renewal Date)... if they're wrong, then just make 5 new translations for each of the above hardcoded strings and then update the template with these language strings...

$_LANG['ManageSSL']['Domain'] = "Domain";
$_LANG['ManageSSL']['OrderDate'] = "SSL Product";
$_LANG['ManageSSL']['SSLProduct'] = "Order Date";
$_LANG['ManageSSL']['RenewalDate'] = "Renewal Date";
$_LANG['ManageSSL']['Actions'] = "Actions";

and then you reference the language overrides in the template...

<th>{$LANG.ManageSSL.Domain}</th>

and so on..

the other way would be to use a hook and replace the five table headings if the language was anything other than English (in your case Spanish)... those five Spanish heading titles would need to be defined either as language overrides or within the hook itself - for two languages, I don't think it would particularly matter which... if it were 25+ languages, then you would use language overrides and reference them in the hook.

Choose File / No File chosen... these are defined by the browser, e.g No FIle chosen is shown in Chrome, No File Selected is used in Firefox and it's left blank in Edge... you can't change the text shown, so about the only other option would be to hide the default input and use css restyled code to reproduce the file input.

Link to comment
Share on other sites

1 hour ago, brian! said:

 

 

Thank you,  It worked fine.

 

 

 

 

 

 

 

Quote

and so on..

the other way would be to use a hook and replace the five table headings if the language was anything other than English (in your case Spanish)... those five Spanish heading titles would need to be defined either as language overrides or within the hook itself - for two languages, I don't think it would particularly matter which... if it were 25+ languages, then you would use language overrides and reference them in the hook.

Choose File / No File chosen... these are defined by the browser, e.g No FIle chosen is shown in Chrome, No File Selected is used in Firefox and it's left blank in Edge... you can't change the text shown, so about the only other option would be to hide the default input and use css restyled code to reproduce the file input.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated