cancel
Showing results for 
Search instead for 
Did you mean: 

search = no results in additional language

golemwashere
Champ in-the-making
Champ in-the-making
Hello,
In my perfectly working alfresco installation,
I added Italian Language pack, following the wiki instructions.
When I search logged in italian language I get no results (same queries
work Ok in English).
I have the latest version with a customized model-context (added a couple of properties and an aspect) that work great in English….

do I have to fiddle with
language-specific-index-and-search-context.xml
?
anone has any hint?
Thanks a lot!
G.
5 REPLIES 5

andy
Champ on-the-rise
Champ on-the-rise
Hi

This is most likely down to the two languages generating different tokens for the same words. If you can find the docs you added in Italian using the search when logged in with the Iatl.ian locale, this will be it. You can tokenise all languages one way (which means you will not get stemming and the correct stop words for Italian) or you can accept that cross language search will never be perfect.

If you write your own queries the back end can tokenise for several languages - it is not yet supported in the UI - it just uses the one selected on the login screen.

Andy

golemwashere
Champ in-the-making
Champ in-the-making
Hi,
thanks for the answer,
it's exactly my case
can you please give me a hint on how I can tokenise all languages one way?
Thanks a lot
G.

ale_carraro
Champ in-the-making
Champ in-the-making
Hi, I have the same problem. Since software is often mostly poorly translated in my native language (Italian) (unfortunately Alfresco is not an exception), I prefer to use it in English. So I fed the repository using an English login, but now my customer (logged as Italian) can't find anything using the web UI search. How can I rebuild the index using another (in this case italian) locale?

thanks.

Alex

p.s.
If you wait a bit I'll upload my Italian messages which is much better (compared with 2.1) than the old one!

andy
Champ on-the-rise
Champ on-the-rise
Hi

You can change the analyzer setting used for Italian in
config/alfresco/model/dataTypeAnalyzers_it.properties. You could remove all the language varients for this file then all languages will use the same tokneiser. In the future you will be able to say tokenise in English and Italian for my search - it will take longer, cross language search will be better, but not perfect.

Andy

golemwashere
Champ in-the-making
Champ in-the-making
Thanks ,
I commented out the lines in
/opt/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/dataTypeAnalyzers_it.properties
and now Italian search is showing everything.
I'm eagerly waiting for the new translation,
Ciao e Grazie

G.