Use the language parameter to specify the webpage language when capturing screenshots. Optimize screenshots with different languages for diverse audiences.
The language parameter corresponds to the browser's "Accept-Language" setting for locale and language preferences. Refer to the official W3C and MDN developer documentation for detailed information.
The default language is en-US,en;q=0.8 (English in the United States).
Explore examples of taking screenshots in different languages such as Chinese (zh), Spanish (es), and French (fr) for Google.
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&language=es
&url=https://google.com
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&language=fr
&url=https://google.com
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&language=zh
&url=https://google.com
Below is an example of capturing a screenshot in German (de) as spoken in Switzerland (CH) for Youtube.
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&language=de-CH
&url=https://youtube.com