Skip to main content
The locale parameter allows you to simulate requests from a specific geographic location or language. By setting the X-SU-Locale header, you can adjust regional settings, such as the Accept-Language header and browser language preferences, based on your chosen language and region code. The header follows a language-region format, where:
  • The first part is a language code (like en for English or ja for Japanese).
  • The second part is a region code (like US for the United States, or JP for Japan).
For example, the en-GB header will set the language to English as it’s used in the United Kingdom. This is useful for accessing geo-targeted content, testing internationalized sites, or scraping pages that serve different content based on user language or location settings.

cURL Example


Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.