Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...dnnSearch skin object localizationdnnSearch skin object localization
Previous
 
Next
New Post
7/11/2012 11:20 AM
 

Hi! I'm no able to localize dnnSearch skin object. Looking at html code I can see:

<input name="dnn$dnnSEARCH$txtSearch" type="text" value="Search" maxlength="255" size="20" id="dnn_dnnSEARCH_txtSearch" class="NormalTextBox" onkeydown="return __dnn_KeyDown(&#39;13&#39;, &#39; __doPostBack(%27dnn$dnnSEARCH$cmdSearch%27,%27%27)&#39;, event);" />&nbsp; <a id="dnn_dnnSEARCH_cmdSearch" class="searchcss" href=" __doPostBack(&#39;dnn$dnnSEARCH$cmdSearch&#39;,&#39;&#39;)">Ricerca</a>
The problem is that value="Search" of the input text is no localized, it is coded inside dotnetnuke.dll. How you can see below only the command text is localized.

It is the value that disappear when the user click on the box to insert the text to search.

Any help about?

Thanks!

 
New Post
7/13/2012 8:51 AM
 
2 Solutions that come to mind are: (If you are a programmer)

1) create your own search skin object that does what you need. (Use the DNN one as a starting point)

2) Add a bit of jQuery code to your skin that will set the value "Search" to the translated value you want. (you can also use this to style the search box the way you want)

 
New Post
7/14/2012 3:41 AM
 
there is a resource file for each of the skin objects, you should rely on, instead of providing hardcoded text within the skin.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/29/2013 9:40 AM
 
Using the language editor I have changed the Resource Name: Search.Text under \Admin\Skins\App_LocalResources, but the search text inside the input area remains 'search'.
I checked that the locale-portal-n.resx file is well created in the folder.
Am I on the right resource or is the search module hardcoding the key?

DNN 6.1.5

Franco
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...dnnSearch skin object localizationdnnSearch skin object localization


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out