> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cartesia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Localize voices

> Learn how to localize voices for your brand or product.

export const LocalizeVoicesIntro = ({apiLocalizeHref, voiceName}) => <>
    <p>
      Localization is available in the{" "}
      <a href="https://play.cartesia.ai">playground</a> and the{" "}
      <a href={apiLocalizeHref}>API</a>.
    </p>
    <p>
      {voiceName} voices have an accent. If you try to use them to generate speech in a
      different language, they will still have the same accent. For example, if you try to
      use an American voice to generate speech in Spanish, the resulting Spanish speech will
      have an American accent.
    </p>
    <p>
      To get a voice that sounds like a native speaker of the language you're targeting,
      you can use {voiceName}'s localization feature through the API or playground.
    </p>
  </>;

<LocalizeVoicesIntro apiLocalizeHref="/2024-11-13/api-reference/voices/localize" voiceName="Sonic-2" />

The localization feature accepts a voice to localize, the gender of the voice, and the target language and accent to localize to, and produces a Voice that you can use to generate speech (or save as a new voice).

<Frame>
  <img src="https://mintcdn.com/cartesia-2650f86a/GOsvXpql8JfAlgjy/assets/images/localize-voice.png?fit=max&auto=format&n=GOsvXpql8JfAlgjy&q=85&s=0c3a62602c52408d53c1a2f3186eecd8" width="1576" height="1438" data-path="assets/images/localize-voice.png" />
</Frame>
