Registrarse | Entrar
lunes, 06 de septiembre de 2010
  Buscar
 Foros de discusión en Locopon's Minimizar
 
  Forum / Foros  Modules/Modulos  DSLocalizator  Adding a localised text
Anterior Anterior
 
Siguiente Siguiente
New Post 18/05/2008 04:23 a.m.
User is offline Declic Video
29 publicaciones
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 11/06/2008 01:42 a.m.
User is offline Declic Video
29 publicaciones
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 21/07/2008 09:46 p.m.
User is offline Locopon
1185 publicaciones
1st Level Poster


Re: Adding a localised text  (Bolivia)

Have you tried the replacement option in DSLocalizator?


Locopon
 
New Post 26/07/2008 01:43 p.m.
User is offline Declic Video
29 publicaciones
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 26/07/2008 09:01 p.m.
User is offline Locopon
1185 publicaciones
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
 
Anterior Anterior
 
Siguiente Siguiente
  Forum / Foros  Modules/Modulos  DSLocalizator  Adding a localised text