Home
Documentation
Resources
Partners
Community

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Select language - General customizations - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps

Select language

Client-Side

You can select the Brick language in two different ways: at the time of initialization of the Brick or via SDK.

Attention
It's only possible to modify the language of the Bricks that operate directly within your store. such as the Payment and Card Payment .
In the case of the Wallet Brick and the Payment Brick of Mercado Pago Wallet and Installments without a card, the user is redirected to the Mercado Pago payment environment, and since the interface is independent, it cannot be translated according to the specific settings defined for the store.

Select language while initializing

To select the language when starting the Brick, insert the code below into your project paying attention to the locale parameter, which must be filled in with the defined language following the following pattern: es , pt-BR and en for Spanish, Portuguese and English respectively.

          
const settings = {
    ...,
    locale: 'en',
}

        
          
import { initMercadoPago } from '@mercadopago/sdk-react';
initMercadoPago('YOUR_PUBLIC_KEY', {locale: 'pt-BR'});

        

Select language via SDK

To select the language via SDK, insert the code below into your project and fill the locale parameter with the desired language following the pattern shown in the following table.

          
const mp = new MercadoPago('YOUR_PUBLIC_KEY', {
  locale: 'en-US',
})

        
          
import { initMercadoPago } from '@mercadopago/sdk-react';
initMercadoPago('YOUR_PUBLIC_KEY', {locale: 'pt-BR'});

        
LanguageCountryValue
SpanishArgentina'es-AR'
SpanishChile'es-CL'
SpanishColombia'es-CO'
SpanishMexico​​'es-MX'
SpanishVenezuela'es-VE'
SpanishUruguay'es-UY'
SpanishPeru'es-PE'
PortugueseBrazil'pt-BR'
EnglishU.S'en-US'