WPML and Marathi language
- radekoParticipant3 years, 8 months ago #23785
Hi, when at 2.1 the search archive checkbox is activated the result page is not language aware. If I understood the video tutorial I have to create an index for each language. Unfortunately the drop down menu ‘Language’ does not list all my languages for example Marathi is missing.
My list
mysql> select english_name from wp_icl_languages where active=1;
+————————+
| english_name |
+————————+
| English |
| Spanish |
| German |
| French |
| Arabic |
| Bulgarian |
| Czech |
| Greek |
| Persian |
| Finnish |
| Hebrew |
| Hindi |
| Hungarian |
| Armenian |
| Indonesian |
| Italian |
| Japanese |
| Lithuanian |
| Mongolian |
| Dutch |
| Polish |
| Portuguese, Portugal |
| Romanian |
| Russian |
| Albanian |
| Thai |
| Turkish |
| Ukrainian |
| Vietnamese |
| Chinese (Simplified) |
| Chinese (Traditional) |
| Marathi |
| Slovak |
| Telugu |wpsolrKeymaster3 years, 8 months ago #23789(I can see in your WPML SQL “| Marathi”)
Unfortunately, I do not think Marathi is supported by Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-lang-analyzer.html
It seems to be supported by Algolia though: https://www.algolia.com/doc/api-reference/api-parameters/queryLanguages/
radekoParticipant3 years, 8 months ago #23792Thank you. So in my case since I do not need any special features for Marathi I can create for example an index with English language and in the WPML extension (/admin.php?page=solr_settings&tab=solr_plugins&subtab=extension_wpml_opt) match it to ‘mr’. Right?
You must be logged in to reply to this topic.