When text is indexed and subsequently searched, it is important that the correct language engine (or 'locale') is used. This way, search results will be as accurate as possible.
Example: When working with assets in which the content and the text in the metadata fields is all in German, the locale can best be set to German as well.
The table below shows the locales that can be set.
Note: These locales match the supported languages in which Elvis can be run. Setting other languages involves customizing the Analyzer configuration. For instructions, please contact WoodWing Support.
Locale | Code |
---|---|
American English |
en_US |
Chinese - simplified |
zh_CN |
Chinese - traditional |
zh_TW |
Dutch |
nl_NL |
Finnish |
fi_FI |
French |
fr_FR |
German |
de_DE |
Italian |
it_IT |
Japanese |
ja_JP |
Korean |
ko_KR |
Polish |
pl_PL |
Russian |
ru_RU |
Swiss | de_CH |
Thai |
th_TH |
Turkish |
tr_TR |
Changing the locale
Step 1. Access the Management Console and navigate to Server configuration > Cluster properties.
Step 2. Locate the property Locale, change its value and click Save.
Step 3. Update the 'asset' index. (See Updating the Elvis 6 Server index.)
Step 4. Restart the cluster.
Step 1. In the Admin pages in Elvis Server, access the Config properties page and click Set config properties.
Step 2. On the page that appears, search for "propertyKey" : "locale" and check the setting for 'currentValue'.
Example: Here, currentValue is set to "en_US":
|
Step 3. In the address bar of your web browser, add the command to change the locale by using the following format:
?property=value
Example: In our case we want to change the property 'locale' to the value 'de_DE' so we add ?locale=DE: localhost/controller/admin/config/properties/set?locale=de_DE |
Step 4. Press Enter to run the command.
The page is updated.
Step 5. Verify on the page that the value has changed.
Step 6. Update the 'asset' index. (See Updating the Elvis 6 Server index.)
Step 7. Restart the cluster.
Document history
- 27 July 2018: Changed title from 'Support for non-English languages in Elvis 5'.
- 27 July 2018: Added a note about configuring locales other than the supported languages.
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.