You can control the default language that will be used for defining queries, viewing results, browsing and authoring by accessing the ACC and setting the atg/svs/search/
component. The component is set to
SearchLanguageService.enableUseBrowserLocaleCheck false
by default. This will allow you to always use the global option should no User Option be present.
If the User Preferences are not set or are unavailable, ATG Knowledge will check to see if the enableUseBrowserLocaleCheck
component is set to TRUE
.
If it is set to TRUE
, ATG Knowledge will check the locale property of the user profile. If the locale
property is set to a supported language, ATG Knowledge will use the locale
property for the default language. If the locale
property is not set or is not a supported language, ATG Knowledge will use the locale
setting in the browser if it is a supported language.
If the enableUseBrowserLocaleCheck
component is set to false
, ATG Knowledge will use the Default
Language
set in the Service Administration panel.
Note: When running on a Solid or DB2 database, to view Japanese characters correctly when the solution is authored in Japanese set the useSetCharacterStream
attribute to true
in the /atg/service/common/src/config/atg/svc/ServiceRepository
component. You can set the value for all repositories in your ATG installation by editing the GLOBAL.properties
file in the top-level configuration layer.