Translation support

Plivo supports your effort to reach customers in the language of their choice. Plivo support can help you translate and configure your application to translate messages automatically.

Once you configure translations for your SMS templates, you can create a verify session by passing the “locale” preference as a parameter. “locale” refers to a string that combines a language code (in small caps) in ISO 639-1 format and a region code (in large caps) in ISO 3166-1 format (optional). For example: en_US, en, en_GB, es, fr_FR etc.

If you pass a locale for which translation is not available or if you pass an incorrect locale value, the default locale (en) will be chosen.

To use specific SMS content for a certain geography, we recommend creating a specific locale and using it when you create verify sessions for this region.