<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nishanth Gandhidoss on Medium]]></title>
        <description><![CDATA[Stories by Nishanth Gandhidoss on Medium]]></description>
        <link>https://medium.com/@nishanth.gandhidoss?source=rss-406db19d662c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MOF3PGJ1ISOlGDq2l3yJXQ.jpeg</url>
            <title>Stories by Nishanth Gandhidoss on Medium</title>
            <link>https://medium.com/@nishanth.gandhidoss?source=rss-406db19d662c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 20:56:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nishanth.gandhidoss/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From Zero to Hero: Localization-Led Generative AI at Udemy]]></title>
            <link>https://medium.com/udemy-engineering/from-zero-to-hero-localization-led-generative-ai-at-udemy-a422e4f968d4?source=rss-406db19d662c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a422e4f968d4</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[llm-applications]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <dc:creator><![CDATA[Nishanth Gandhidoss]]></dc:creator>
            <pubDate>Mon, 22 Sep 2025 17:47:14 GMT</pubDate>
            <atom:updated>2025-09-22T20:32:25.294Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By Nishanth Gandhidoss, Senior Staff Data Scientist @ Udemy</em></p><h3><strong>Why Multilingual Generative AI Matters</strong></h3><p>Generative AI is rapidly changing how people learn and work, but those gains are only realized when the technology speaks the user’s language. Over the past year at Udemy, we prioritized breaking the English-only barrier so our Gen AI features, most critically <a href="https://business-support.udemy.com/hc/en-us/articles/26104712011671-Skills-Mapping-and-AI-Powered-Learning-Paths">Skills Mapping</a> and the <a href="https://support.udemy.com/hc/en-us/articles/27554487131671-How-to-Access-and-Use-the-Udemy-AI-Assistant?">in-course AI Assistant</a>, could deliver value for learners across the globe. Our approach balanced speed, coverage, and quality, allowing us to move quickly without sacrificing fidelity in markets where nuance matters. Below we describe the localization strategy we adopted, why we made those trade-offs, and the operational practices that made the rollout repeatable, scalable, and quick.</p><h3>Localization Strategies</h3><p>When deciding how to localize a Gen AI product, it is helpful to think of options on a spectrum from low to high complexity. The simplest approach provides broad language coverage fast, while the most involved approach optimizes for fluency, cultural nuance, and domain precision. At Udemy, we researched and organized our work around three primary strategies: a translation management system (TMS) for rapid implementation with broader coverage, a multilingual LLM system (MLS) for high-fidelity experiences, and a hybrid approach to balance reach and quality. As each strategy is introduced below, we briefly explain the industry-standard localization techniques they draw on, with examples, so the differences are clear.</p><h4><strong>Translation Management System (TMS)</strong></h4><p>At the simplest end of the spectrum, we have the TMS approach. With a TMS, the user interacts in their own language, but the AI model itself operates in English input/output. The system first detects the user’s input language, say, in Spanish, and sends the input through a machine translation (MT) service that converts it into English. The LLM then generates an English response, and that response is translated back into the user’s input language before it is shown to the user. A TMS can also store glossaries and style rules, so translations can maintain brand terms and consistent phrasing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J1PdnjhAgc7tbZaJ7nocfA.png" /><figcaption><em>High level design of Translation Management System</em></figcaption></figure><p>This approach is fast to implement and provides broad language coverage with minimal changes to existing AI pipelines, making it well suited for early MVPs and lower-risk Gen AI features. Mature workflows often use TMS for “long-tail” language support. Key advantages include rapid development, low incremental cost when using mature translation APIs, and extensive language coverage. The trade-offs are predictable: translations can lose idiomatic nuance and domain-specific detail, and the extra round-trip translation steps add latency. Because of this, a TMS is not ideal for tasks that require the highest linguistic precision.</p><h4><strong>Multilingual LLM System (MLS)</strong></h4><p>At the complex end of the spectrum, we have the Multilingual LLM System. Unlike the TMS approach, an MLS processes, understands, embeds (inputs), and generates (outputs) natively in each supported language, without relying on an external translation layer. An ideal MLS leverages techniques such as Multilingual Prompting, Cross-Lingual (Multilingual) embeddings. It may also include language-specific fine-tuning for critical locales when highest fidelity is required. Together, these techniques allow MLS deployments to deliver fluent, context-aware experiences when precision and cultural nuance matter most.</p><h4><strong>Multilingual Prompting</strong></h4><p>Multilingual prompting plays a crucial role in an MLS, and involves instructing the LLM mostly in English with guidelines, rules, and output language specifications. This approach also supplies example input-output pairs in the target language (or vice versa) so the model learns the expected style, tone, and formatting without any intermediate translation. In practice, this means dynamically feeding language specific information and a few high-quality input-output examples from the target locale into the prompts at run-time, using examples that reflect local conventions to guide the model’s behavior. Well-crafted multilingual prompts reduce translation artifacts and typically produce more natural responses, but they depend on careful prompt/context engineering, access to native-speaker validation, and iterative testing to ensure consistency across use cases. Having prompt templates, standardized examples mapped across languages, and automated checks for each use case or feature can help scale this technique across many flows. Here is a sample multilingual prompt:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_eLXPIwFsTPlzawOOQofAQ.png" /><figcaption>Example of Multilingual Prompting</figcaption></figure><h4>Multilingual Embeddings</h4><p>Multilingual embeddings turn text from different languages into a shared numerical representation, so semantic similarity, search, and retrieval can work across languages without translating every document. In the context of modern AI application, these embeddings are central to <a href="https://nipundavid.medium.com/understand-rag-retrieval-augmented-generation-under-5-min-a323eefc9c72">Retrieval-Augmented Generation (RAG)</a> to reduce LLM hallucination because it lets the system find relevant passages in the original language and present them coherently to the LLM model. Models such as multilingual-e5 and other sentence transformer families provide strong out-of-the-box alignment for common languages, but performance must be validated for low-resource locales and specific domains. Embeddings are also useful for clustering, similarity ranking, and cross-lingual recommendation, and they become more powerful when combined with language-aware indexing and evaluation benchmarks.</p><h4>LLM Fine-tuning</h4><p>Language-specific fine-tuning means continuing the training of a pre-trained foundation model on curated native-language data so the model internalizes local terminology, idioms, and domain conventions. This process can include supervised example pairs, instruction tuning, and human-feedback loops, and it typically yields the highest fidelity for generation and understanding. Fine-tuning requires representative, high-quality data, additional computation, and ongoing evaluation to prevent drift and unwanted behavior, just as with traditional machine learning models. When full fine-tuning is too costly or operationally heavy, parameter-efficient fine-tuning (PEFT) approaches, such as <a href="https://medium.com/aimonks/parameter-efficient-fine-tuning-075954d1db51">adapter modules, LoRA, and QLoRA</a>, provide a practical alternative. These methods attach or train a small set of parameters while keeping the base model frozen, enabling faster, cheaper iteration and the ability to add or remove language adapters.</p><ul><li>Adapters are small, trainable modules inserted into each transformer layer while keeping the base model frozen. They are easy to implement, modular (like plug-ins), and let you swap domain/task specializations without retraining the whole model. However, they add extra latency during inference and can be less parameter-efficient than newer methods. Adapters are best when you need modularity and task switching across many use cases.</li><li>LoRA injects low-rank matrices into weight updates, training only these small matrices while keeping the base weights frozen. It is highly parameter-efficient and integrates smoothly without large architectural changes. The downside is that merging LoRA weights into the base model can be less flexible than adapters if you need many tasks. LoRa is preferred when you need lightweight fine-tuning with minimal overhead on medium-to-large models.</li><li>QLoRA combines quantization (loading the model in 4-bit precision) with LoRA adapters, making it possible to fine-tune very large LLMs on a single GPU. It dramatically reduces memory use while retaining near full precision performance. The trade-offs are slightly slower training due to quantization overhead, and dependence on hardware/software support. QLora is best when you need to fine-tune extremely large models on limited GPU memory.</li></ul><p>Adapter-style tuning scales more economically across many languages. However, it can still inherit biases from the base model and may not fully match the fidelity of a large-scale fine-tuned model for the most demanding use cases. One thing to note, is that with the recent progression of LLMs’ multilingual capabilities, the overall performance lift you might expect from language-specific fine-tuning is not always worth it in terms of an effort to value ratio. Most of the industry has started using standard LLMs (GPT-5, LLAMA 4, Gemini 2.5, etc.) rather than fine-tuning them for localized Gen AI applications using the MLS approach.</p><p>As an example, in an MLS, when a user provides input in a non-English language (e.g., Spanish), the system ideally first detects the input language. This information is then used, along with a localized AI pipeline, to dynamically adapt the prompt, guiding the LLM to process the input and generate a response natively in Spanish using multilingual prompting. It leverages multilingual embeddings to power cross-lingual RAG retrieval, providing additional Spanish-language context to the LLM, and ensuring the model’s output is relevant and accurate without relying on a separate translation layer. The underlying LLM inside the localized AI pipeline might optionally be a language-specific fine-tuned LLM, if necessary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*weC1t2srNe8YOWD6KfuT4A.png" /><figcaption><em>High level design of Multilingual LLM System</em></figcaption></figure><p>Multilingual LLM systems are the preferred choice in markets that demand high-touch service, in regulated content domains, and wherever brand trust depends on linguistic accuracy. For example, generating deep learning course materials or running conversational assistants in Japan requires sensitivity to tone, pedagogy, and context that translation-first approaches often miss. The trade-offs are clear: this path delivers the highest fluency and preserves domain-specific meaning, but it also requires more data, greater computing and engineering effort, and a longer timeline to reach production quality in each new language.</p><h4>Hybrid System</h4><p>In the middle of the spectrum, we have the hybrid system that combines translation-first (TMS) workflows with native multilingual processing (MLS), so teams can achieve both broad reach and high-quality, localized experiences wherever appropriate. In practice, this hybrid approach works in two ways: straightforward queries in widely supported languages go through a translation management system to preserve development speed and coverage, while high-stakes interactions in priority languages use multilingual models that generate responses natively. Teams have flexibility in determining the routing logic and can change it overtime depending on the use cases in hand. The hybrid architecture uses a localization routing orchestrator which holds the routing logic and determines whether to use TMS or MLS based on the language, query, and task in hand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hj6nYmSHtAxSPqY18_0jlg.png" /><figcaption><em>High level design of Hybrid System</em></figcaption></figure><p>Hybrid is the right choice when you need global coverage but must deliver premium, culturally sensitive experiences in a handful of strategic markets. It is designed to be interchangeable so individual flows or markets can be upgraded as needs evolve. It balances accuracy and cost by concentrating heavier investment where it produces the most value, and it gives teams the flexibility to swap or upgrade the localization level per component or market. The trade-offs are operational: hybrid solutions introduce more integration and maintenance work because there are more moving parts, and occasional hand-offs between systems can add latency. For example, a conversational assistant can answer routine questions in thirty languages using TMS while routing legal or finance queries in core locales to multilingual LLMs for higher fidelity.</p><h3>Picking the Right Approach</h3><p>The three strategies differ primarily by where multilingual work happens and how much of the system must be adapted. Making that decision might be tricky when you are starting with localization for the first time. TMS externalizes language handling to translation engines, which minimizes changes to the Gen AI core pipelines. MLS embeds multilingual capability inside the AI stack so language-specific behavior is handled within the model by multilingual prompting and multilingual embeddings in RAG retrieval layers. Multilingual embeddings, such as multilingual-e5, are a practical component across hybrid and MLS deployments because they enable robust cross-language retrieval without requiring full multilingual translation of every asset. Hybrid mixes external translation with native-language LLM processing for selected flows using a routing mechanism. With that said, we built an evaluation matrix to guide selection strategy for a general use case (see below):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oXSkTCy9NLBr4LLPgHUkeQ.png" /><figcaption>Evaluation Matrix for Localziation Strategy selection</figcaption></figure><h3>Best Practices and Recommendations</h3><p>Beyond selecting the appropriate localization strategy we discussed so far, we have also identified key best practices and recommendations that have proven effective in our journey building impactful solutions and accelerating product delivery. We offer these not as strict rules, but as a guiding philosophy for your localization journey.</p><ol><li>Treat localization as a platform problem rather than a point solution. Build core interfaces or services and functionalities that allow for quick swaps between translation (TMS), prompt engineering, and fully multilingual models as your needs evolve without a full rewrite. Designing these interfaces upfront reduces repeated engineering effort whenever we add a new language.</li><li>Measure language performance continuously using human evaluation and automated signals (LLM evaluation). Don’t assume that a literal translation is sufficient; we validated outputs with native-speaker SMEs for certain languages and complemented human review with LLM-based quality checks for scale. Benchmarking retrieval and generation quality with multilingual-focused suites, such as cross-lingual semantic tests or public leaderboards, helps guide model and embedding selection.</li><li>Embed cultural context and native-speaker feedback into the lifecycle. Native evaluators are essential for catching idiomatic errors, cultural misalignments, and tone issues that automated checks miss. When possible, build a feedback loop where user signals and SME reviews feed back into prompt guidelines, glossaries, and model fine-tuning pipelines.</li><li>Localize safety, privacy, and compliance controls rather than assuming an English-centric solution will generalize. We found that guardrails, PII detection, and policy enforcement behave differently across languages, and these systems must be adapted and validated in each locale when a new language is added.</li><li>Design workflows for incremental expansion. Make adding a new language a repeatable process: start with TMS-based deployment, route real usage for evaluation, and then decide whether to upgrade to native multilingual processing. This staged workflow reduces time-to-market while ensuring investment is guided by actual usage and value.</li><li>Decouple localization logic, model selection, and domain safety so teams can iterate independently. For example, use glossaries and translation memory to keep terminology consistent, and standardize evaluation artifacts so language performance comparisons are apples to apples across locales.</li></ol><h3>Conclusion</h3><p>Selecting the right localization strategy is essential to deliver both broad reach and high-quality user experiences. By applying the strategy selection framework and best practices described above, Udemy moved from concept to production for Skills Mapping and the In-Course AI Assistant in under three months for Japanese markets, adopting a multilingual LLM system that combined multilingual embeddings, targeted prompt engineering in Japanese, and only minimal changes to core workflows. After validating the platform, Spanish and Portuguese followed even faster, and we have continued adding additional languages. Because the localization layer, retrieval, and evaluation workflows were designed to be reusable, adding a new language today requires less than 25% percent of the initial development effort.</p><p>Treat localization as a strategic multiplier, not an afterthought. Start broad with translation where speed and coverage matter, then layer in multilingual capabilities for high-value markets. Centralize instrumentation and evaluation so data can guide investment decisions, measure relentlessly, and prioritize deepening language support where user needs and business impact justify it. The future of generative AI is global and context-aware so build a localization platform that can scale with reality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a422e4f968d4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/udemy-engineering/from-zero-to-hero-localization-led-generative-ai-at-udemy-a422e4f968d4">From Zero to Hero: Localization-Led Generative AI at Udemy</a> was originally published in <a href="https://medium.com/udemy-engineering">Udemy Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>