---
title: "How can I use a custom language code? What about machine translation?"
description: "You can add custom language codes in BabelEdit and assign a predefined language for spellcheck and translation support."
canonical: "https://www.codeandweb.com/babeledit/knowledgebase/configure-custom-language"
product: "babeledit"
source: "html"
---

# How can I use a custom language code? What about machine translation?

If you need a language code that isn't part of BabelEdit's predefined list, you can define a custom language:

*   Click the **Languages** icon in the toolbar
*   Click **Add Language...**
*   Select "Language code not found?"
*   Click **New...**
*   Enter your custom language code and a descriptive name:

![configure custom language](https://www.codeandweb.com/static/8b7cbeb936452c0c7919be61e9ccbc29/fab37/configure-custom-language%402x.png)

Since BabelEdit's spellchecker and machine translation tools won’t recognize your custom language, you can assign a predefined language to use for these features instead.

Once added, your custom language will appear alongside the predefined ones and can be used in your project just like any other language.

## Structured data

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "How can I use a custom language code? What about machine translation?"
}
```
