Register | Login
Thursday, March 11, 2010
  Search
 Discussion Forums at Locopon's Minimize
 
  Forum / Foros  Modules/Modulos  DSLocalizator  Adding a localised text
Previous Previous
 
Next Next
New Post 5/18/2008 8:23 AM
User is offline Declic Video
29 posts
declic-video-fx.com
No Ranking


Adding a localised text  (France)

Hello Locopon,

 I would like to know if it is possible with your module to insert a text in a skin.
I would like to replace in the skin the "search box and text" by a localised text with a link to a hidden page (I am trying to replace the search engine which is currently problematic for me).

I would like to put SEARCH for english, and CHERCHER for french (in the skin). And the text must link to a hidden page. Is it possible ??

DV FX

 
New Post 6/11/2008 5:42 AM
User is offline Declic Video
29 posts
declic-video-fx.com
No Ranking


Re: Adding a localised text  (Switzerland)

Hello Locopon,

I found how to insert it into the skin, nevertheless, I am still blocked to do the replacement.

I manage to replace the word Search with Chercher, but I would like to do more than this. In my skin, I would like to include the hyperlink. And the hyperlink must include the locale (en-US or fr-FR) depending on the page currently displayed. How could I do that please ?
Currently, I have added the following to my skin:
{span id="SearchTextBox" CssClass="Search"}{a href="http://mydomain.com/Search.aspx"}Link-Search{/a}{/span}

And I have used the Localised replacement to detect Link-Search and to replace it with "Search" for en-US and "Chercher" for fr-FR
But now, I would like the URL to be different. Can you help me please ? Surely not so difficult, but I do not know how to do it.

DV FX

 
New Post 7/22/2008 1:46 AM
User is offline Locopon
1182 posts
1st Level Poster


Re: Adding a localised text  (Bolivia)

Have you tried the replacement option in DSLocalizator?


Locopon
 
New Post 7/26/2008 5:43 PM
User is offline Declic Video
29 posts
declic-video-fx.com
No Ranking


Re: Adding a localised text  (France)

No... What is it, and how could I use it ???

DV FX

 
New Post 7/27/2008 1:01 AM
User is offline Locopon
1182 posts
1st Level Poster


Re: Adding a localised text  (Bolivia)

The module includes an option named "Localized replacements" where you can specify a regular expresion to be found and to be changed into something depending the current locale

For example: If in your page there are lots of occurrences of the word "Hello", you can change it to say "hola" if the current language is Spanish


Locopon
 
Previous Previous
 
Next Next
  Forum / Foros  Modules/Modulos  DSLocalizator  Adding a localised text