"Dernieres.com" wrote:
>
> Hi
>
> You will find that in htcommon/defaults.cc, before compiling, of course.
>
> The only remaining change is in htsearch/TemplateList.cc , to change
> "bytes" in the results page.
>
> I've translated htdig 3.1.4 in french if somebody's interested.
>
> antonio chavez wrote:
>
> > Hello,
> >
> > I'm translating the htdig's HTML files to spanish, but i don't know
> > where to change some of the INPUT fields in "nomatch.html"
> >
> > Where can i change the names in: METHOD, FORMAT and EXCLUDE ?
> >
> > i.e. "Short" to "Corto", "Long" to "Largo", etc ..
There is no need to hack the sources in order to customize Ht://Dig
for a specific language. In fact, all you need to do is to change
the configuration file. In particular this is done via the following
configuration directives (I'll list all which are of interest for
"porting" Ht://Dig to another language, including those that can be
used to tune the search performance by honoring language specific
characteristics):
http://www.htdig.org/attrs.html#bad_word_list
http://www.htdig.org/attrs.html#date_format
http://www.htdig.org/attrs.html#endings_affix_file
http://www.htdig.org/attrs.html#endings_dictionary
http://www.htdig.org/attrs.html#endings_root2word_db
http://www.htdig.org/attrs.html#endings_word2root_db
http://www.htdig.org/attrs.html#extra_word_characters
http://www.htdig.org/attrs.html#locale
http://www.htdig.org/attrs.html#maximum_word_length
* http://www.htdig.org/attrs.html#method_names
http://www.htdig.org/attrs.html#minimum_prefix_length
http://www.htdig.org/attrs.html#minimum_word_length
http://www.htdig.org/attrs.html#no_excerpt_text
http://www.htdig.org/attrs.html#no_next_page_text
http://www.htdig.org/attrs.html#no_page_list_header
http://www.htdig.org/attrs.html#no_page_number_text
http://www.htdig.org/attrs.html#no_prev_page_text
http://www.htdig.org/attrs.html#nothing_found_file
http://www.htdig.org/attrs.html#no_title_text
http://www.htdig.org/attrs.html#page_list_header
http://www.htdig.org/attrs.html#page_number_separator
http://www.htdig.org/attrs.html#page_number_text
http://www.htdig.org/attrs.html#prev_page_text
http://www.htdig.org/attrs.html#search_results_footer
http://www.htdig.org/attrs.html#search_results_header
http://www.htdig.org/attrs.html#search_results_wrapper
http://www.htdig.org/attrs.html#synonym_db
http://www.htdig.org/attrs.html#synonym_dictionary
http://www.htdig.org/attrs.html#syntax_error_file
* http://www.htdig.org/attrs.html#template_map
* http://www.htdig.org/attrs.html#template_name
http://www.htdig.org/attrs.html#valid_punctuation
Also have a look at
http://www.htdig.org/hts_templates.html
There is no template name called "EXCLUDE".
Hacking the sources in order to customize Ht://Dig for another
language is not only unneccessary, but also wrong.
hth,
Torsten
--
InWise - Wirtschaftlich-Wissenschaftlicher Internet Service GmbH
Waldhofstra�e 14 Tel: +49-4101-403605
D-25474 Ellerbek Fax: +49-4101-403606
E-Mail: [EMAIL PROTECTED] Internet: http://www.inwise.de
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.