.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Search: How to add a new language to languages detected by crawler?

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :SharePoint

Dear all,


I think my question is not so well formulated, so let me explain:

In the advanced search web part, it possible to add a filter on the language of the results. By default the list of language proposed to end-users is English, French, German and some others.

When editing the properties of that web part, it is possible to modify that list to propose different languages (in "Languages" element of the xml). BUT you can only choose from the languages previously defined ("LangDefs" element).


What I would like to do is to add/install a new language definition, because the language I am interested in is not listed under "LangDefs".

Obviously, just editing the XML won't do the trick.


From what I understood, language of documents in automatically detected by IFilter when crawling documents.

So, do I need a new IFilter for my specific language?

I justed installed the language pack for SharePoint, so maybe it also includes the new IFilter?


And when correct crawler is installed, where do I find the LangDef information (including custom id for the language, that is not standard language id)?


I hope someone here is able to help me.

Many thanks in advance!

View Complete Post

More Related Resource Links

Search content of different languages in one language of MOSS

Hi, Hope you guys can help to answer this Search question. E.g. English MOSS is installed, content in English, Traditional Chinese, Simplified Chinese and Japanese are input to the system (either in Word/Excel file, ASPX page, Blog entry or Wikis page). In this case, how can the user search content by entering search keywords in languages other than English? The reason I ask this question is that: MOSS Search Engine uses English work-breaker/stemmer in the crawling and query process in MOSS English Version. Then, it cannot distinguish which languages are being crawled, e.g. pretending Japanese and Chinese as English when crawling the content. Is there any advanced way to solve this issue in MOSS 2007, besides installing various languages of MOSS in different servers? This problem exists in SharePoint 2003, so now I wonder if there is any improvement in 2007. As you know this is especially important in HK environment. Every customer ask the same question in Pre-Sales demo. Thanks in advance. Paul

Search crawler 'breaks' Document ID link

Hi all - we have a Sharepoint 2010 development server up and running (very much Out of the Box configuration). The Document ID functionality has been enabled and appears to be working OK - each document has its own unique ID as predicted. In a team site (Corporate Comms), we have a document library where our corporate logo has been loaded (a small .bmp file). This image file has a unique Document ID. On the top level site, I have created a link to the corporate logo so that it appears on the 'entry' web page. The link to the image is : http://<servername>/_layouts/DocIdRedir.aspx?ID=CH07-7-1  where CH07-7-1 is the Document ID When first created, everything works OK and the image appears on the front page. However, once a search crawl has been run (either full or incremental), the image disappears and is replaced by a red cross (i.e. the URL link has been broken). I have tried this with a word document link (as opposed to a .bmp image) and this still works OK. I have also tried storing the image in a picture library (as opposed to a document library) and the same thing happens. Is there something funny happening specific to the .bmp image/Document ID/crawler ? Anything I need to configure ? Any help would be appreciated. Thanks, Richard.    

Internal server error exception on search results page when no language is set in browser

We have some users who receive an internal server error exception when they enter a search query on our SPS 2010 site. The SharePoint log shows the following: Internal server error exception: System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() System.ArgumentNullException: Value cannot be null.  Parameter name: The property RequestedLanguage cant not set to NULL     at Microsoft.Office.Server.Search.Query.Location.set_RequestedLanguage(CultureInfo value)     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.CreateLocationList()     at Microsoft.Office.Server.Search.WebControls.CoreResultsDatasourceView.SetPropertiesOnQdra()     at Microsoft.Office.Server.Search.WebControls.SearchResultsBaseWebPart.EnsureWebpartReady() After some more diggin

SharePoint 2010 Search Crawler excluding items

Hi All I'm trying to setup the Search functionality in SharePoint Server 2010, but I'm having trouble getting it working. I have set up a crawler for the site with a user that has Full Read permissions to everything. I also set up a crawl rule for the site including all items in the path with the "Follow links on the URL without crawl itself" option checked. The crawler runs across the entire Site Collection and sub-sites, but I keep seeing warnings that content was excluded and the search can return no results. The error message I keep seeing is "The content for this address was excluded by the crawler because this item was marked with a no-index meta-tag. To index this item, remove the meta-tag and recrawl." I have looked for a no-index meta-tag, and have been unable to find it anywhere. I have also done searching on this issue, and set site settings to Always index all WebParts and to Appear in Search Results. Neither of those settings appear to have helped.   Does anyone know what I am doing wrong, or know of good documentation that could point me in the right direction? Thanks

Search returns nothing, crawler works fine(i believe) in MOSS 2007



i did some research in the forum before posting, but i can't seem to find a real solution for my problem, even though there are many threads discussing similar or maybe even the same problem. I will describe the problem in short, and then if someone can help me out and needs more info i can give more details etc.

So, i am new in my enterprise, and also to "real" informatics (recently graduated master 2) and i am supposed to administer the internal IT of the company. The SharePoint expert of my company just changed job, so i was kinda hired to replace him. The problem is, i have limited experience with SharePoint, just had my 70-630 yesterday but i am no expert. 

The problem with our SharePoint is that the search won't work(doh!). The crawler is working fine, we get things indexed etc, but then searches return nothing. I tried playing with scopes but as far as i can see, it's not that. What's weird is that apparently the search worked fine at some point in the past, then just mysteriously stopped. I discussed with the ex-admin and we tried to fix it, but we couldn't get it working.


I am kinda stuck, don't know where to look and which settings i need to check, on what le

SharePoint Detected Language Proerty

Hello All,

Does anyone know where I can get the full list of languages in the SharePoint Detected Language list.

I cannot seem to locate this list any where in MOSS.

Thanks so much for any help :o)

SharePoint Novice

Ajax toolkit error : System.InvalidProgramException: Common Language Runtime detected an invalid pro


I have website that uses .NET 3.5 and Ajax tool kit.  The strange thing is it works fine in two environments but it errors with the following error on production site:


Server Error in '/UPS' Application.

Common Language Runtime detected an invalid program.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidProgramException: Common Language Runtime detected an invalid program.

Source Error:

Line 13:     <aj:ComboBox ID="ComboBox1"  runat="server">
Line 14:     </aj:ComboBox>
Line 15:     <aj:MaskedEditExtender MaskType="Number" ID="MaskedEditExtender1" Mask="(###)" TargetControlID="txt1" runat="server">
Line 16:     </aj:MaskedEditExtender>
Line 17:   

Source File: d:\Search\UPS\TestAjax.aspx    Line: 15

Stack Trac

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.

New Language features in .NET4.0

The site explains the new features and enhancement to VB.NET and C# in .NET framework 4.0. The new enhancements are described in detail with examples and code snippets. One can easily understand the new features from this site. This is a must visit site for every .NET professional.

SharePoint Gets Search Analytics

Microsoft's SharePoint Portal Server 2003 was sold into a large number of organizations based solely on the strength of the search tool. Organizations hungered for a way to find the data they had generated.

Using SharePoint Search feature in ASP.Net Application

Integrating ASP.Net application in to MOSS 2007 to utilize SharePoint Enterprise Search Feature can be done by using Business Data Search.

Get more then google search from here

Just make it home page and enjoy more then google search you not only get google result and prizes for searching but also free ebooks and link from here like orkut,facebook,twitter,yahoomail etc...


Adding Search Refinements in SharePoint 2010

I have been playing around with SharePoint 2010 Search this morning. I love the new UI. The search refinements panel is just begging to be messed with. In my case I wanted to add the file extension JPG as an Image Type refiner.

How to Localize Windows Forms and Change the Language at Runtime

Localization is the process of customizing your application to a particular language, culture or locale. Visual Studio provides support for localizing Windows Forms with much ease. In this article, we will see how to localize windows forms and give the user the ability to change to his preferred language at runtime.
When you run a localized application, the appearance is determined by two culture values. The UICulture property is used to specify which resource files will be loaded for the form. The Culture property, on the other hand, determines how strings such as dates, numerals, and currency amounts are formatted.
Let us see the steps required to create a localized form. You can then expand this example and adopt the same approach for the rest of the forms in your project

Voice eXtensible Markup Language


This document specifies VoiceXML, the Voice Extensible Markup Language. VoiceXML is designed for creating audio dialogs that feature synthesized speech, digitized audio, recognition of spoken and DTMF key input, recording of spoken input, telephony, and mixed-initiative conversations. Its major goal is to bring the advantages of web-based development and content delivery to interactive voice response applications.
Status of This Document

This document is a submission to the World Wide Web Consortium from the VoiceXML Forum (see Submission Request, W3C Staff Comment). For a full list of all acknowledged Submission, please see Acknowledged Submissions to W3C.

This document is a Note made available by W3C for discussion only. This work does not imply endorsement by, or the consensus of the W3C membership, nor that W3C has, is, or will be allocating any resources to the issues addressed by the Note. This document is a work in progress and may be updated, replaced, or rendered obsolete by other documents at any time.

Search Engines and Multilanguage Websites - using .resx


I have a website (asp.net 3.5+c# +linq ) having thopition to change languages (2) by the user, Am using the search engine like in the example of:


this search will find any searched word in all the pages and return the link in the default language of the site, but problem for the second language , because by default the site language is English and the user have the option to change to other language.

and as I understood that the .resx files can not be searched like the aspx by the search engines.

I looked in many blogs and discussion boards for similar  case but unfortunately no clues on this issue .
The only same case posted :


and also I could not find any clue to move on, 

 Kindly requsted to guide me for the soultio

Thanks for your time and wish you all the best
your help is always appreciated


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend