Fundamentals > Windchill Search > Advanced Search > Criteria > Searching with Translated Text — Examples
Searching with Translated Text — Examples
The following examples illustrate the searching behavior when translated text values are present and the display of translated text is enabled. All examples use the same data set. The user language configuration setting and search criteria are specified in each example. The rows highlighted in blue indicate what is returned in the search results. For more information about user language configuration setting, see User Language Configuration.
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
User language configuration: English
Search criteria:
Name = *Part
Since English is the authoring language, and the user language configuration 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
User language configuration: French
Search criteria:
Name = FrenchBluePart
Number = GC002
The search returns objects where the Name attribute translated text in French (the user language configuration) 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
User language configuration: French
Search criteria:
Name = YellowPart
The search returns objects where the Name attribute translated text in French (the user language configuration) 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
User language configuration: French
Search criteria:
Name = *Part
The search returns objects where the Name attribute translated text in French (the user language configuration) 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 nor a target language
User language configuration: Any locale that is not the authoring language, or a target language for which translations are present
Search criteria:
Name = GreenPart
When the user language configuration 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
User language configuration: French
Search criteria:
Keyword = FrenchBluePart GC002
Keyword searches are performed from either the search field in the Windchill header or the Keyword field on the Search tab. With the user language configuration 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
Was this helpful?