PDA

View Full Version : Some little translations & modifications


infoland
08-01-2004, 05:42 AM
As i'm french, i was a little bit desapointed when i saw that the words

"Choose a template"
"Select a site to search"
"Restart"
"Narrow Path to Search"

has not been translated (seems hard coded in the source).

I've found where to change it

in libs\function_phpdig_form.php

For the 1st words, change the line 42

(for this one, you can also change the list diplayed. For example, on my site, i've decided to propose a simple search and and a complete search)

For the 2nd words, change the line 138

For the 3rd words, change the line 142

For the 4th word, change the line 101

I hope it can help someone and that theses translations will be implemented as vars in the future revisions.

You can see the result on :

http://infoland.no-ip.com/rech/search.php

Have a nice day ;)

PS : sorry for my english...

Charter
08-01-2004, 10:12 AM
Hi, oops I forgot some words. You can use phpdigMsg('key_here') and then add 'key_here' => 'value here', in the language pack.

Choose a template = Choisissez un mode de recherche

Select a site to search = Site Ã* rechercher

Restart = Remise Ã* zéro

Narrow search to path = Préciser la recherche sur