Jump to content

Language translation issues


chajadesign

Recommended Posts

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!

Link to comment
Share on other sites

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 by asiams
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