[interchange-i18n] Product database

Stefan Hornburg Racke racke at linuxia.de
Thu Feb 14 09:38:00 UTC 2002


Francisco Sánchez <lists at e-civitas.com> writes:

> No way.  I have search documentation and there is nothing like CommentField.
> I can only think of using [item-[L]field comment[/L]] in flypage.html.

A nicer way of doing this is sth. like this below, but the above method is
the fastest one.

UserTag language-field Order base field code
UserTag language-field Routine <<EOF
sub {
	my ($base, $field, $code) = @_;
	my $data;
	my $locale = $Scratch->{mv_locale};

	if ($locale) {
		$data = $Tag->data($base,"${field}_$locale",$code);
		return $data if $data =~ /\S/;
	}
	$Tag->data($base,$field,$code);
}	
EOF

[language-field products comment [item-code]]

Ciao
        Racke

-- 
Think of it !

For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info at cobolt.net; Phone: 0041-1-3884400)



More information about the interchange-i18n mailing list