Back
Neocortex SDK now supports 20 languages, including right-to-left scripts like Arabic and Persian, making Smart NPCs more immersive.

Breaking Language Barriers for Smart NPCs

One of the key goals of Neocortex SDK is to enhance Smart NPCs with more natural and immersive interactions. To achieve this, language support is essential not just for text-based interactions, but also for spoken communication. With our latest update, Neocortex SDK now supports 20 languages, making it easier than ever to create NPCs that communicate with users worldwide.

Introducing the Language Node

The Language Node allows developers to select an NPC's primary language. You can choose from a dropdown menu or use the search field to find a specific language. Currently supported languages include: English, Chinese, Hindi, Spanish, Arabic, Portuguese, Russian, Indonesian, Urdu, German, French, Japanese, Turkish, Swahili, Persian, Vietnamese, Korean, Italian, Polish, and Tagalog.

With this change, Agent Node now takes Language Node as an input, enabling developers to create NPCs that speak multiple languages. And Accent Node will be only available for English speaking NPCs. In the future, based on feedback, we may introduce accents for other major languages as well.

Right-to-Left (RTL) Language Support

Supporting languages like Arabic, Urdu and Persian in Unity UI has always been a challenge because letters need to merge properly, and text should flow from right to left (RTL). To solve this, Neocortex SDK now includes RTL support in the chat panel. Developers can easily adjust the writing direction through the inspector or via code:

var chatPanel = GetComponent<NeocortexChatPanel>();
chatPanel.writingDirection = WritingDirection.RightToLeft;
chatPanel.AddMessage("مرحبا، كيف حالك؟", true);

This ensures that NPC dialogues appear correctly aligned and formatted in languages that require RTL text.

More Languages, More Possibilities

With this update, Neocortex-powered NPCs can now communicate naturally across a broad range of languages. Whether it's a multilingual game, an AI tutor, or a virtual assistant, developers now have the tools to reach a global audience. We're always open to feedback, if there's a language or accent you'd like to see added, let us know!

Written by

Sercan Altundas

Date

Thu Feb 13 2025