GDPR Localizer

Description

GDPR Localizer is a smart, lightweight solution to ensure your website complies with European privacy laws (GDPR/DSGVO).

Many popular themes (like Astra, OceanWP) and plugins load Google Fonts from Google’s servers, which results in the unauthorized transfer of your visitors’ IP addresses. This plugin automatically intercepts these requests, downloads the necessary font files to your local server, and rewrites the CSS to load them locally.

Why choose GDPR Localizer?

Unlike basic solutions, this plugin is designed to be truly “set and forget.” It doesn’t just download fonts; it monitors your site’s environment. If you update your theme version or switch to a new one, the plugin detects the change and refreshes the font cache automatically to ensure your design stays perfect, fast, and compliant.

Key Features

  • Automatic Interception: Seamlessly handles fonts enqueued by themes and plugins.
  • Smart Theme Tracking: Automatically detects theme version updates and clears the font cache to prevent design conflicts.
  • Privacy First: Stops user IP addresses from being shared with Google CDN.
  • Performance Boost: Serving fonts locally eliminates external DNS lookups and SSL handshakes.
  • Transparent Audit: An intuitive admin dashboard shows you exactly which fonts were captured and their source (e.g., astra-google-fonts).
  • Clean UI: Interactive font logs with “Expand/Collapse” functionality to keep your settings page tidy.

External services

This plugin connects to Google Fonts services to localized your website’s typography and ensure GDPR compliance.

  1. Google Fonts API (fonts.googleapis.com): Used to fetch the CSS rules for the fonts enqueued by your theme or plugins.
  2. Google Fonts Static (fonts.gstatic.com): Used to download the actual font files (.woff2, .ttf, etc.) to your local server.

This process happens only when a new font is detected or when the font cache is refreshed (e.g., after a theme update). Once the fonts are stored locally, no further requests are made to Google.

  • Google Fonts Privacy FAQ: https://developers.google.com/fonts/faq/privacy
  • Google Privacy Policy: https://policies.google.com/privacy
  • Google Terms of Service: https://policies.google.com/terms

Screenshots

  • The main settings dashboard with a detailed log of captured fonts and their sources.
  • Smart notification showing an automatic cache refresh after a theme update.

Installation

  1. Upload the gdpr-localizer folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Visit Settings > GDPR Localizer to view the status of your localized fonts.

FAQ

Does this work with block themes (FSE)?

Yes! It is fully compatible with modern block themes (like Twenty Twenty-Five) and handles fonts registered via the WordPress Font Face API.

Will it slow down my site?

No. Serving fonts locally usually improves your PageSpeed score by reducing the number of external requests.

Where are the fonts stored?

All files are securely stored in /wp-content/uploads/gdpr-local-fonts/.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“GDPR Localizer” is open source software. The following people have contributed to this plugin.

Contributors

Translate “GDPR Localizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • Initial release.
  • Added smart theme version tracking for automatic cache management.
  • Implemented source-based font grouping for better transparency.
  • Added interactive “Expand/Collapse” UI for font logs.
  • Full compatibility with WordPress 6.7 and Astra theme.