chajadesign Posted February 19, 2013 Share Posted February 19, 2013 Hello, After changing to the language Dutch, the search button in the knowledge base still remains to show the word 'Search'. I checked the dutch.php and saw an entry but seems that is has no effect on the button text. $_LANG['knowledgebasesearch'] = "Zoeken"; Also I like to know where to change the pre shown text in the searchbox: Have a question? Start your search here. Furthermore the code to change the text of the dropdown for the province which shows the text 'Choose one ...' in the client information page. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
asiams Posted February 20, 2013 Share Posted February 20, 2013 I have the same issue too. $_LANG['knowledgebasesearch'] = "xxxx"; It was translated and uploaded, but still does not resolve to the new translation. Any idea? 0 Quote Link to comment Share on other sites More sharing options...
Mr Smith Posted February 21, 2013 Share Posted February 21, 2013 In this issue you can get help form Google translation. 0 Quote Link to comment Share on other sites More sharing options...
asiams Posted February 23, 2013 Share Posted February 23, 2013 (edited) I have found the answer. The problem was not on the language file, but the template bug. /template/default/knowledgebase.tpl Modify above file where you want to translate. And that affects the translation. Here is my example: <div class="well"> <div class="textcenter"> <form method="post" action="knowledgebase.php?action=search" class="form-inline"> <fieldset class="control-group"> <input class="bigfield" name="search" type="text" value="検索" onfocus="this.value=(this.value=='検索') ? '' : this.value;" onblur="this.value=(this.value=='') ? '検索' : this.value;"/> <input type="submit" class="btn btn-large btn-primary" value="検索" /> </fieldset> </form> </div> </div> This is not the best solution, but this is a bug on the default template. Hope this helps. Edited February 23, 2013 by asiams 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.