Gossamer Forum
Home : Products : Links 2.0 : Customization :

problems with translation

Quote Reply
problems with translation
i am now translating the links 2.0. what to do now is the translating of "(Added: 7-Apr-2001 Hits: 0 Rating: 0 Votes: 0) Rate It ". i did the changes in the site_html.pl :

$output .= qq~ <small class="date">(Added: $rec{'Date'} Hits: $rec{'Hits'} Rating: $rec{'Rating'} Votes: $rec{'Votes'}) <a href="$build_rate_url?ID=$rec{'ID'}">Rate It</a></small>
</ul>

and then built all the templates, but the changes which i made did not effect at the pages. i have been trying to do it for four hours. i'll go crazy :) can someone please tell me, where i make a mistake?

best regards

Quote Reply
Re: problems with translation In reply to
Uh...if you are not using templates, you need to TURN OFF templates in the links.cfg file:

Code:

$build_use_templates = 0;


As discussed probably as much as I am old today: 29....Wink

Regards,

Eliot Lee
Quote Reply
Re: problems with translation In reply to
hi,

set in links.cfg
this
Code:
$build_use_templates = 1;
to
Code:
$build_use_templates = 0;
if you don't use templates



ciao
nicky
German Links Version
http://nicky.net/links
Quote Reply
Re: problems with translation In reply to
Uh...like I already stated...

Regards,

Eliot Lee
Quote Reply
Re: problems with translation In reply to
but i am using the templates. turning of the templates is not the way to go for me. :)

Quote Reply
Re: problems with translation In reply to
In Reply To:
i did the changes in the site_html.pl :
site_html.pl is for NON-TEMPLATE users.
site_html_templates.pl is for TEMPLATE users.

Make your mind up.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: problems with translation In reply to
can you please tell me, in which template or cgi i can find and change the following line? (i am using templates)

"(Added: 7-Apr-2001 Hits: 0 Rating: 0 Votes: 0) Rate It ".

thank you very much

Quote Reply
Re: problems with translation In reply to
If you ARE using TEMPLATES, then you should edit the link.html file.

If you searched for Added, you would've found a bunch of Threads where this has been discussed before...

Regards,

Eliot Lee
Quote Reply
Re: problems with translation In reply to
great, it was just what i have been looking for 4 hours. :) thank you.