Jump to content

Translation problem


wp4all

Recommended Posts

Hi Chris,

Are you referring to the search wording?    These are the language overrides that you can you can use.

$_LANG['kbquestionsearchere'] = "Have a question? Start your search here.";
$_LANG['kbsearchexplain'] = "Have a question? Start your search here.";
$_LANG['clientHomeSearchKb'] = "Enter a question here to search our knowledgebase for answers...";

 

Link to comment
Share on other sites

Chris (both of you!),

20 hours ago, wp4all said:

have somebody an idea where  I can find the location to translate the error message in the knowledge database ?

16 hours ago, WHMCS ChrisD said:

Are you referring to the search wording?    These are the language overrides that you can you can use.

using overrides wouldn't initially help - because the string is hard-coded in English in the knowledgebase.tpl template. 9_9

<input type="text" id="inputKnowledgebaseSearch" name="search" class="form-control" placeholder="What can we help you with?" />

you would need to edit the template and replace that string with an override language string (e.g one of the one's suggested by @WHMCS ChrisD)...

<input type="text" id="inputKnowledgebaseSearch" name="search" class="form-control" placeholder="{$LANG.kbquestionsearchere}" />

OykC206.png

then if you need to edit that string for any language, just use the Language Overrides process to change them. :idea:

also, make a note of the above change, because unless WHMCS notice that the string is hard-coded in the template and fix it themselves, you will need to edit the template again after a WHMCS update.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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