---
title: "[Set Up Your Project] - Limitations of Languages"
description: Limitations and validation rules for language names and language codes.
url: https://www.contentstack.com/docs/developers/multilingual-content/limitations-of-languages
product: Set Up Your Project
doc_type: reference
audience:
  - developers
version: v1
last_updated: 2026-03-26
---

# [Set Up Your Project] - Limitations of Languages

This page lists the limitations and validation rules for language names and language codes. It is intended for developers configuring multilingual content and should be used when defining or validating languages in a project.

## Limitations of Languages

- The maximum character length of a language name is **50**
- The minimum character length of a language code is **2**, and the maximum character length is **16******
- The language code should contain only alphanumeric characters and hyphens
- The language code cannot begin or end with a hyphen
- A language code cannot contain two consecutive hyphens, e.g., ‘--’

## Common questions

**Q: What is the maximum length allowed for a language name?**  
A: The maximum character length of a language name is **50**.

**Q: What are the allowed characters for a language code?**  
A: The language code should contain only alphanumeric characters and hyphens.

**Q: Can a language code start or end with a hyphen?**  
A: No, the language code cannot begin or end with a hyphen.

**Q: Are consecutive hyphens allowed in a language code?**  
A: No, a language code cannot contain two consecutive hyphens, e.g., ‘--’.