Gossamer Forum
Home : Products : Links 2.0 : Discussions :

language translation

Quote Reply
language translation
Hi,

Iīm running my site in german language and translated most of the things in the templates and .cgi-files. But I donīt know where to change the following:

1) If somebody subscribes successfully to the newsletter. (itīs not in the subscribe.cgi as the error messages)
2) If somebody adds a site and itīs unsuccessfully.

Please help me in which files I can change these things. Thank you.

Best regards,

Rene



Quote Reply
Re: language translation In reply to
1) Yea...it is...Look for the following codes:

Code:

# Go to the success page.
&site_html_mailing ('subscribe');


in the sub subscribe routine in the subscribe.cgi.

Change subscribe in the above codes I posted to whatever you want to appear in the "success" page.

2) You need to change the text in the sub validate_record routine in the db_utils.pl file.

Look for text like Can not be left blank.

Hope this helps.

Regards,

Eliot Lee
Quote Reply
Re: language translation In reply to
Thanks for your answer.

to 1): I have changed the code to

# Go to the success page.
&site_html_mailing ('abgemeldet');

But with this change of the code no response appears on the screen.

to 2): works fine

Rene

Quote Reply
Re: language translation In reply to
And you have the following tag definition in your sub site_html_mailing routine in the site_html_templates.pl file:

Code:

message => $message


And you have the following tag in your email.html file?

Code:

<%message%>


Regards,

Eliot Lee
Quote Reply
Re: language translation In reply to
Yes, I have found both codes in the certain files.