---
title: Profanity Detection in Lara
description: Learn how to use Lara's profanity detection and filtering in the translate API — with profanitiesHandling and profanitiesDetect parameters — and the standalone profanity detection service available for 76 languages.
---

[Skip to content](https://support.laratranslate.com/en/profanity-detection#main-content)

- [English](https://support.laratranslate.com/en/profanity-detection)
- [Deutsch](https://support.laratranslate.com/de/profanitaetserkennung)
- [Italiano](https://support.laratranslate.com/it/rilevamento-profanità)

English

Show submenu for translations

[![Lara logo](https://support.laratranslate.com/hs-fs/hubfs/Screenshot_2025-01-07_at_10.24.13-removebg-preview.png?width=119&height=50&name=Screenshot_2025-01-07_at_10.24.13-removebg-preview.png)](https://support.laratranslate.com/en/?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://support.laratranslate.com/en/profanity-detection)
    - [Deutsch](https://support.laratranslate.com/de/profanitaetserkennung)
    - [Italiano](https://support.laratranslate.com/it/rilevamento-profanità)

  English
  
  Show submenu for translations
- [Submit a request](https://2er2r1.share-eu1.hsforms.com/2CJaQX4efSGa8WhPQM8ImGg)

[Submit a request](https://2er2r1.share-eu1.hsforms.com/2CJaQX4efSGa8WhPQM8ImGg)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Lara Translate Knowledge Base](https://support.laratranslate.com/en?hsLang=en)
2. [API and Integrations](https://support.laratranslate.com/en/api-and-integrations?hsLang=en)
3. [API](https://support.laratranslate.com/en/api-and-integrations?hsLang=en#api)

June 17, 2026

# Profanity Detection in Lara

## A Guide to Profanity Filtering and Detection via the Lara API

Building with the API? The full Lara Translation API documentation, SDKs, and code examples live in the [Lara Developer Hub](https://developers.laratranslate.com/docs/introduction). View [pay-per-use pricing](https://developers.laratranslate.com/docs/pricing-page) or request a [custom volume quote.](https://laratranslate.com/adaptive-translation-api)

Lara provides two ways to handle offensive or inappropriate language: profanity detection and filtering integrated in the **translate** endpoint, and a **standalone profanity detection service** available via API.

### Profanity filtering in text translation

When translating text via API, you can control how Lara handles profanities using two optional parameters.

**`profanitiesHandling`** — activates profanity handling and defines the behaviour:

- `detect` — flags offensive content in the response without altering the translation
- `hide` — masks detected terms with symbols (default behaviour when the parameter is set without a value)
- `avoid` — instructs the engine to produce a translation that avoids offensive language

**`profanitiesDetect`** — defines where detection is performed:

- `target` — detection is applied to the translated output only (default)
- `source_target` — detection is applied to both source and target text

**Note:** if `profanitiesHandling` is not set, profanity filtering is not active regardless of `profanitiesDetect`. Setting `profanitiesHandling` without specifying a value activates `hide` by default.

Profanity filtering is included in the standard translation pricing. For full parameter details and code examples, see the [SDK documentation](https://developers.laratranslate.com/docs/translate-text).

### Supported languages

Profanity detection and filtering is available for the following languages:

- Afrikaans – `af-ZA`
- Albanian – `sq-AL`
- Amharic – `am-ET`
- Arabic – `ar-SA`
- Armenian – `hy-AM`
- Azerbaijani – `az-AZ`
- Basque – `eu-ES`
- Bengali – `bn-BD`
- Bulgarian – `bg-BG`
- Burmese – `my-MM`
- Catalan – `ca-ES`
- Chinese (Simplified) – `zh-CN`
- Chinese (Traditional, Hong Kong) – `zh-HK`
- Croatian – `hr-HR`
- Czech – `cs-CZ`
- Danish – `da-DK`
- Dutch – `nl-NL`
- English (Australia) – `en-AU`
- English (Canada) – `en-CA`
- English (Ireland) – `en-IE`
- English (United Kingdom) – `en-GB`
- English (United States) – `en-US`
- Estonian – `et-EE`
- Filipino – `fil-PH`
- Finnish – `fi-FI`
- French – `fr-FR`
- Galician – `gl-ES`
- Georgian – `ka-GE`
- German – `de-DE`
- Hebrew – `he-IL`
- Hindi – `hi-IN`
- Hungarian – `hu-HU`
- Icelandic – `is-IS`
- Indonesian – `id-ID`
- Irish – `ga-IE`
- Italian – `it-IT`
- Japanese – `ja-JP`
- Javanese – `jv-ID`
- Kazakh – `kk-KZ`
- Korean – `ko-KR`
- Lao – `lo-LA`
- Latvian – `lv-LV`
- Lithuanian – `lt-LT`
- Macedonian – `mk-MK`
- Malay – `ms-MY`
- Malayalam – `ml-IN`
- Maltese – `mt-MT`
- Marathi – `mr-IN`
- Mongolian – `mn-MN`
- Norwegian Bokmål – `nb-NO`
- Pashto – `ps-PK`
- Persian – `fa-IR`
- Polish – `pl-PL`
- Portuguese (Brazil) – `pt-BR`
- Portuguese (Portugal) – `pt-PT`
- Romanian – `ro-RO`
- Russian – `ru-RU`
- Serbian (Cyrillic script) – `sr-Cyrl-RS`
- Slovak – `sk-SK`
- Slovenian – `sl-SI`
- Somali – `so-SO`
- Spanish – `es-ES`
- Spanish (Argentina) – `es-AR`
- Spanish (Latin America) – `es-419`
- Spanish (Mexico) – `es-MX`
- Swahili – `sw-KE`
- Swedish – `sv-SE`
- Tagalog – `tl-PH`
- Tamil – `ta-IN`
- Thai – `th-TH`
- Turkish – `tr-TR`
- Ukrainian – `uk-UA`
- Urdu – `ur-PK`
- Uzbek – `uzn-UZ`
- Vietnamese – `vi-VN`
- Welsh – `cy-GB`

***Note:** `profanitiesHandling` must always be used together with `profanitiesDetect`. Without `profanitiesDetect`, Lara does not know where to apply detection — whether to the source, the target, or both. Setting `profanitiesHandling` alone is not sufficient to activate profanity filtering.*

---

### Standalone Profanity Detection API

Lara also offers a dedicated profanity detection endpoint that analyzes text without performing translation. This is useful for content moderation, compliance pipelines, and pre-translation screening.

**Pricing:**

For implementation details, see the [SDK documentation](https://developers.laratranslate.com/docs/detect-profanities).

 

---

 

**This article is about:**

- Profanity detection and filtering in text translation
- `profanitiesHandling` and `profanitiesDetect` API parameters
- Standalone profanity detection API
- Supported languages for profanity detection

Visit our Translation API documentation for full details

[Check out the full documentation here](https://developers.laratranslate.com/)

- [About Lara](https://support.laratranslate.com/en/about-lara?hsLang=en)
- [How to use Lara](https://support.laratranslate.com/en/how-to-use-lara?hsLang=en#main-content)

    - [Translate text](https://support.laratranslate.com/en/how-to-use-lara?hsLang=en#translate-text)
    - [Translate documents](https://support.laratranslate.com/en/how-to-use-lara?hsLang=en#translate-documents)
    - [Translate voice](https://support.laratranslate.com/en/how-to-use-lara?hsLang=en#translate-voice)
    - [Translate images](https://support.laratranslate.com/en/how-to-use-lara?hsLang=en#translate-images)
    - [Translate audio](https://support.laratranslate.com/en/how-to-use-lara?hsLang=en#translate-audio)
- [Account and Subscriptions](https://support.laratranslate.com/en/account-and-subscriptions?hsLang=en#main-content)

    - [Manage your account](https://support.laratranslate.com/en/account-and-subscriptions?hsLang=en#manage-your-account)
    - [Payments and Invoices](https://support.laratranslate.com/en/account-and-subscriptions?hsLang=en#payments-and-invoices)
    - [Manage your subscription](https://support.laratranslate.com/en/account-and-subscriptions?hsLang=en#manage-your-subscription)
    - [Manage Team](https://support.laratranslate.com/en/account-and-subscriptions?hsLang=en#manage-team)
    - [Pricing](https://support.laratranslate.com/en/account-and-subscriptions?hsLang=en#pricing)
- [API and Integrations](https://support.laratranslate.com/en/api-and-integrations?hsLang=en#main-content)

    - [API](https://support.laratranslate.com/en/api-and-integrations?hsLang=en#api)
    - [CAT tools](https://support.laratranslate.com/en/api-and-integrations?hsLang=en#cat-tools)
    - [MCP Server](https://support.laratranslate.com/en/api-and-integrations?hsLang=en#mcp-server)
    - [Integrations](https://support.laratranslate.com/en/api-and-integrations?hsLang=en#integrations)
- [Data Security and Privacy](https://support.laratranslate.com/en/data-security-and-privacy?hsLang=en#main-content)

    - [Data security](https://support.laratranslate.com/en/data-security-and-privacy?hsLang=en#data-security)
    - [Privacy](https://support.laratranslate.com/en/data-security-and-privacy?hsLang=en#privacy)
- [Frequently Asked Questions](https://support.laratranslate.com/en/frequently-asked-questions?hsLang=en#main-content)

    - [Glossary](https://support.laratranslate.com/en/frequently-asked-questions?hsLang=en#glossary)
    - [Useful Tips](https://support.laratranslate.com/en/frequently-asked-questions?hsLang=en#useful-tips)

[![Lara translate logo](https://support.laratranslate.com/hs-fs/hubfs/Lara_logo_4333ad.png?width=140&height=59&name=Lara_logo_4333ad.png "Lara translate logo")](https://laratranslate.com)

© Translated · VAT IT07173521001

Copyright © 2025