Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 776b03d

Browse files
algoliareadmebotPLNech
authored andcommitted
docs(README): automatic update (#190)
Update README Android [This list might not be relevant] Multiple languages support for ignorePlurals (#140) * Multiple languages support by ignorePlurals [ci skip]
1 parent 6cc0f51 commit 776b03d

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,11 +1399,30 @@ If set to false, disables typo tolerance on numeric tokens (numbers).
13991399
#### ignorePlurals
14001400
14011401
- scope: `settings`, `search`
1402-
- type: `boolean`
1402+
- type: `boolean`, `array of strings`
14031403
- default: `false`
14041404
14051405
1406-
If set to true, plural won't be considered as a typo. For example, car and cars, or foot and feet will be considered as equivalent. Defaults to false.
1406+
Consider singular and plurals forms a match without typo. For example, car and
1407+
cars, or foot and feet will be considered equivalent. This parameter can be:
1408+
1409+
- a **boolean**: enable or disable plurals for all 59 supported languages.
1410+
- a **list of language ISO codes** for which plurals should be enabled.
1411+
1412+
This option is set to `false` by default.
1413+
1414+
Afrikaans=`af`, Arabic=`ar`, Azeri=`az`, Bulgarian=`bg`, Catalan=`ca`,
1415+
Czech=`cs`, Welsh=`cy`, Danis=`da`, German=`de`, English=`en`,
1416+
Esperanto=`eo`, Spanish=`es`, Estonian=`et`, Basque=`eu`, Finnish=`fi`,
1417+
Faroese=`fo`, French=`fr`, Galician=`gl`, Hebrew=`he`, Hindi=`hi`,
1418+
Hungarian=`hu`, Armenian=`hy`, Indonesian=`id`, Icelandic=`is`, Italian=`it`,
1419+
Japanese=`ja`, Georgian=`ka`, Kazakh=`kk`, Korean=`ko`, Kyrgyz=`ky`,
1420+
Lithuanian=`lt`, Maori=`mi`, Mongolian=`mn`, Marathi=`mr`, Malay=`ms`,
1421+
Maltese=`mt`, Norwegian=`nb`, Dutch=`nl`, Northern Sotho=`ns`, Polish=`pl`,
1422+
Pashto=`ps`, Portuguese=`pt`, Quechua=`qu`, Romanian=`ro`, Russian=`ru`,
1423+
Slovak=`sk`, Albanian=`sq`, Swedish=`sv`, Swahili=`sw`, Tamil=`ta`,
1424+
Telugu=`te`, Tagalog=`tl`, Tswana=`tn`, Turkish=`tr`, Tatar=`tt`,
1425+
Ukrainian=`uk`, Urdu=`ur`, Uzbek=`uz`, Chinese=`zh`
14071426
14081427
#### disableTypoToleranceOnAttributes
14091428
@@ -2023,7 +2042,7 @@ You may want to perform multiple operations with one API call to reduce latency.
20232042
20242043
20252044
2026-
If you have one index per user, you may want to perform a batch operations across severals indexes.
2045+
If you have one index per user, you may want to perform a batch operations across several indices.
20272046
We expose a method to perform this type of batch:
20282047
20292048
```java

0 commit comments

Comments
 (0)