Additional Windchill Capabilities > Service Information Management > Configuring Windchill Service Information Manager and Service Parts > Setting Up Translation > Using Translated Text Attributes > Searching with Translated Text > Searching with Translated Text — Examples
  
Searching with Translated Text — Examples
The following examples illustrate the searching behavior when translated text values are present. All examples use the same data set. The browser locale setting and search criteria are specified in each example. The rows highlighted in blue indicate what is returned in the search results.
For all examples:
The authoring language for all objects is English
The attribute for which translations are present is the Name attribute
The target language for the translated text is French
No other attributes are translated
The search is performed from the Search tab of the Navigator, unless otherwise stated
For additional examples of search behavior without translated text, see Advanced Search Examples.
Example 1: Searching in the authoring language, with wildcard
Browser locale: English
Search criteria:
Name=*Part
Since English is the authoring language, and the browser locale is set to English, the search returns all objects whose Name attribute master text matches the search criteria.
Name (Master Text)
Name (Translated Text in French)
Number
Type
Location
Created By
RedPart
FrenchRedPart
GC001
Part
Product 1
Zhang Wei
BluePart
FrenchBluePart
GC002
Part
Product 1
Zhang Wei
GreenPart
FrenchGreenPart
GC003
Part
Product 1
Jane Smith
YellowPart
GC004
Note
Product 1
Zhang Wei
Example 2: Searching for multiple attributes in a target language which has translations present
Browser locale: French
Search criteria:
Name=FrenchBluePart
Number=GC002
The search returns objects where the Name attribute translated text in French (the browser locale) and the non-translated Number attribute values match the search criteria.
Name (Master Text)
Name (Translated Text in French)
Number
Type
Location
Created By
RedPart
FrenchRedPart
GC001
Part
Product 1
Zhang Wei
BluePart
FrenchBluePart
GC002
Part
Product 1
Zhang Wei
GreenPart
FrenchGreenPart
GC003
Part
Product 1
Jane Smith
YellowPart
GC004
Note
Product 1
Zhang Wei
Example 3: Searching in a target language which has translations present
Browser locale: French
Search criteria:
Name=YellowPart
The search returns objects where the Name attribute translated text in French (the browser locale) matches the search criteria. Since YellowPart does not have a translated text value in French, it is not returned in the search results. This search returns no results.
Name (Master Text)
Name (Translated Text in French)
Number
Type
Location
Created By
RedPart
FrenchRedPart
GC001
Part
Product 1
Zhang Wei
BluePart
FrenchBluePart
GC002
Part
Product 1
Zhang Wei
GreenPart
FrenchGreenPart
GC003
Part
Product 1
Jane Smith
YellowPart
GC004
Note
Product 1
Zhang Wei
Example 4: Searching in a target language which has translations present, with wildcard
Browser locale: French
Search criteria:
Name=*Part
The search returns objects where the Name attribute translated text in French (the browser locale) matches the search criteria. Since YellowPart does not have a translated text value in French, it is not returned in the search results.
Name (Master Text)
Name (Translated Text in French)
Number
Type
Location
Created By
RedPart
FrenchRedPart
GC001
Part
Product 1
Zhang Wei
BluePart
FrenchBluePart
GC002
Part
Product 1
Zhang Wei
GreenPart
FrenchGreenPart
GC003
Part
Product 1
Jane Smith
YellowPart
GC004
Note
Product 1
Zhang Wei
Example 5: Searching in a language which is neither the authoring language or a target language
Browser locale: Any locale that is not the authoring language, or a target language for which translations are present
Search criteria:
Name=GreenPart
When the browser locale does not match either the authoring language or a target language for which translations are present, the master text for the attribute is searched. The search returns objects where the Name attribute master text matches the search criteria.
Name (Master Text)
Name (Translated Text in French)
Number
Type
Location
Created By
RedPart
FrenchRedPart
GC001
Part
Product 1
Zhang Wei
BluePart
FrenchBluePart
GC002
Part
Product 1
Zhang Wei
GreenPart
FrenchGreenPart
GC003
Part
Product 1
Jane Smith
YellowPart
GC004
Note
Product 1
Zhang Wei
Example 6: Performing a keyword search for both translated and non-translated criteria, in a target language which has translations present
Browser locale: French
Search criteria:
Keyword=FrenchBluePartGC002
Keyword searches are performed from either the search field in theWindchill header or the Keyword field on the Search tab. With the browser locale set to a viewing language for which translations are present, the search returns objects where the keywords match the translated text for attributes which have translations present, and match the non-translated attribute values for attributes without translations.
Name (Master Text)
Name (Translated Text in French)
Number
Type
Location
Created By
RedPart
FrenchRedPart
GC001
Part
Product 1
Zhang Wei
BluePart
FrenchBluePart
GC002
Part
Product 1
Zhang Wei
GreenPart
FrenchGreenPart
GC003
Part
Product 1
Jane Smith
YellowPart
GC004
Note
Product 1
Zhang Wei