Web Scraper Test Website

Language Detection Test Page

This page demonstrates language detection and localization to test the language parameter.

Page Information

This page will detect your browser's language settings and display localized content accordingly.

Browser Language

This section displays your browser's language settings:

Navigator Language: Loading...
Navigator Languages: Loading...
Accept-Language Header: Not provided
Country by IP: Not detected

IP Details

Network and GeoIP information based on your IP:

Client IP: 216.73.216.106
Local GeoIP DB: Loaded — DB-IP (local)
GeoIP Result: United States (US) - Columbus

Language Selector

Select a language to see localized content:

Welcome

This is sample content in English. Select a different language to see it translated.

Today's date:

Sample number: 1,234.56

Common Languages

Click on any of these languages to simulate that language setting:

EN
English
United States
FR
French
France
DE
German
Germany
JA
Japanese
Japan

Testing Instructions

When testing the screenshot service with this page:

  1. First take a screenshot with default settings to establish a baseline.
  2. Then set the language parameter in your screenshot request to specify a browser language.
  3. Verify that the screenshot shows the content in the specified language.

Sample API Requests:

POST /v1.0/screenshot
{
  "url": "http://localhost:8000/language",
  "format": "png"
}
POST /v1.0/screenshot
{
  "url": "http://localhost:8000/language",
  "format": "png",
  "language": "fr"
}
POST /v1.0/screenshot
{
  "url": "http://localhost:8000/language",
  "format": "png",
  "language": "ja"
}