This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
LanguageCode Criterion¶
The LanguageCode
Search Criterion
searches for content based on whether it is translated into the selected language.
Arguments¶
value
- string(s) representing the language codes to search formatchAlwaysAvailable
- bool representing whether content with thealwaysAvailable
flag should be returned even if it does not contain the selected language (defaulttrue
)
Example¶
1 |
|
Use case¶
You can use the LanguageCode
Criterion to search for articles that are lacking a translation
into a specific language:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|