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 1 | de_CH |
Thai |
th_TH |
Turkish |
tr_TR |
1 Requires Elvis 5.7 or higher.
Changing the locale
Step 1. Access the Config properties page and click Set config properties.
Step 1a. Access the admin pages by doing one of the following:
- Enter the following URL:
http://<yourserver>:<port>/admin
Example: http://localhost:80/admin
- On the Elvis Server console, click Server admin page
Step 1b. Click Change config in the menu bar.
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 5 Server index.)
Step 7. Restart the cluster.
h2>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.