All Collections
Alerts Management
Advanced Alerts
Language Codes for Advanced Alerts
Language Codes for Advanced Alerts

Learn about the codes you can attach to your boolean query

Rodrigo Araujo avatar
Written by Rodrigo Araujo
Updated over a week ago

Advanced Alerts offer the ability to filter your search queries by specific languages using the lang: operator. In an alert, the operator has to be paired with the language codes that you want to monitor or block in your alert.

In this article, we will teach you how to use the operator and how to add language codes to your query. Here are the topics that we will cover:

Let's begin!


Language Operator

In the Advanced Alert, the dedicated operator for language monitoring is the lang: operator. When you create an alert, you can add the operator to your keyword search and it will filter your results.

The language operator is a data filter for the keywords that you are monitoring in your alert. When a new mention is fetched, Mention will determine the language of the post using information from the website's data.

⚙️ The language operator is a non-autonomous operator. It must be paired with a keyword search in your alert to work. The language operator will only work with keyword searches. It does not filter Monitored Pages.

--

Monitor Languages

If you want to monitor specific languages, you can write your query using this variation of the operator:

AND lang: 

This will ensure that your query monitors the language codes that interest you. Let's take a look at an example:

In this query, your alert will fetch mentions when Nike Air Max appears on publications that are in the Spanish or French language. If a post has the text Nike Air Max, but the post is in another language, it will not be fetched.

--

Block Languages

If you want to block specific languages, you can write your query using this variation of the operator:

AND NOT lang: 

This will ensure that your query does not fetch mentions from specific languages. Let's take a look at an example:

In this query, your alert will fetch mentions when Adidas appears on any publication that is not in English or German. This means that your alert will fetch mentions in Spanish, Italian, French, and more.


Language Codes List

In your Advanced Alert, you can add these language codes to your query:

AF - Afrikaans

AR - Arabic

BE - Belarusian

BG - Bulgarian

CA - Catalan

CS - Czech

DA - Danish

DE - German

EL - Greek

EN - English

EO - Esperanto

ES - Spanish

ET - Estonian

FA - Persian

FI - Finnish

FR - French

HR - Croatian

HU - Hungarian

HY - Armenian

IS - Icelandic

IT - Italian

IW - Hebrew

JA - Japanese

KO - Korean

LT - Lithuanian

LV - Latvian

MS - Indonesian

NL - Dutch

NO - Norwegian

PL - Polish

PT - Portuguese

RO - Romanian

RU - Russian

SK - Slovak

SL - Slovenian

SR - Serbian

SV - Swedish

SW - Swahili

TH - Thai

TL - Tagalog

TR - Turkish

UK - Ukrainian

VI - Vietnamese

ZH - Chinese

⚙️ If you do not choose a language, Mention will simply monitor the web for any publications that contain your keywords regardless of language.


Thank you! Please contact [email protected] if you have any questions.

Did this answer your question?