Search engine and multi language

Author Message

laurent le cadet

Friday 09 September 2005 5:29:10 am

Hi,

I have a site with a lot of images (12 000).
Each images has keywords which are indexed for the search engine.

I need now to add more languages for the site but it will be a real hard job to translate the keywords for each image.

What I want to do is to make a single generic translation based on the default language (FR) of the site.

In example if you search for "plane" in the search engine, it will returned all images with "avion" keyword.

Is there a way to perform this ?

Another question about this, I will have probably about 5000 keywords, so that way, the system should check all the keywords for each search.

I'm afraid it will slow down the site. really ?

Thanks.

Laurent.

laurent le cadet

Wednesday 14 September 2005 8:49:44 am

I can't find something usefull for my problem. Really no way ?

Gabriel Ambuehl

Wednesday 14 September 2005 9:18:22 am

How's the site supposed to know how to translate stuff?

You could perhaps patch the search and translate the keywords to french, then search for the french version?

Visit http://triligon.org

laurent le cadet

Wednesday 14 September 2005 9:35:32 am

Yes I'm thinking about a file, a kind of translations.ts based on a french version but I don't know how to apply this.
If you have any hint for that it will be welcome.

Laurent

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 11:56:56
Script start
Timing: Jan 19 2025 11:56:56
Module start 'layout'
Timing: Jan 19 2025 11:56:56
Module start 'content'
Timing: Jan 19 2025 11:56:57
Module end 'content'
Timing: Jan 19 2025 11:56:57
Script end

Main resources:

Total runtime0.7039 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.1797152.6250
Module start 'layout' 0.00710.0042 741.804739.4453
Module start 'content' 0.01130.6912 781.2500544.0938
Module end 'content' 0.70240.0015 1,325.343812.1563
Script end 0.7039  1,337.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4870160.0002
Check MTime0.00140.1975160.0001
Mysql Total
Database connection0.00130.186910.0013
Mysqli_queries0.644791.5923600.0107
Looping result0.00060.0913580.0000
Template Total0.662794.120.3313
Template load0.00200.279320.0010
Template processing0.660793.856920.3303
Template load and register function0.00010.019510.0001
states
state_id_array0.00220.309010.0022
state_identifier_array0.00270.378620.0013
Override
Cache load0.00170.2384260.0001
Sytem overhead
Fetch class attribute can translate value0.00070.101320.0004
Fetch class attribute name0.00110.162150.0002
XML
Image XML parsing0.00060.088620.0003
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00090.1340160.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs