Add Locale Class icon
Possibly abandoned Tested up to 6.4.14 #1 in CSS language class

Add Locale Class

On multi language sites there may be occasions when you want to render CSS according to the current language in use. The Add Local Class plugin solves this problem by adding the current language code as a class in the…

Active installs<10New
Downloads · 30d44• 0% vs prev. 30d
Rating—0 reviews
Health score21/100At risk
All-time downloads2.2KSince Aug 2017
Support resolved—No recent threads
RequiresWP 2.8PHP any
Downloads · 7d7▼ -30% week over week
Our verdict

Consider an alternative

Add Locale Class shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 3 years ago, and scores 21/100 on our health check.

  • Small user base (<10 active installs)
  • Very few reviews so far
  • No update in 3 years
  • Only tested up to WordPress 6.4 (latest is 7.1)

Daily downloads

123Aug 20Oct 3Nov 17
Yesterday2
Daily average (1y)1
Peak day10Jul 17, 2026
Last 12 months534

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Add Locale Class stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
CSS language class >100 2,377 Best CSS language class plugins →
language class >100 3,601 Best language class plugins →
render CSS acording to language setting #1 1 Best render CSS acording to language setting plugins →

About Add Locale Class

From the official readme · v1.0.5

Description

On multi language sites there may be occasions when you want to render CSS according to the current language in use. The Add Local Class plugin solves this problem by adding the current language code as a class in the body tag on both front end and admin pages.

For example, if you set the language of the site to French, then the language code used is fr_FR. Add Local Class will retrieve the language code format it as ‘locale-fr-fr’ and add it to the body tags on the front end of the site. It will also retrieve the language code of the backend user and set it as a body tag class on the back end of the site. Should the site’s language be changed to U.S. English, then the class would be changed to ‘locale-en-us’.

In your CSS file you can have one rule for French and another for English:

. locale-fr-fr .button {
background-color: blue;
}

. locale-en-us .button {
background-color: red;
}

With the Add Local Class plugin it possible to make use of language specific CSS on your site.

This plugin does not have a settings page. You simple install and activate it.

The Add Local Class plugin is brought to you by Max Foundry. We make a WordPress Gallery plugin, a plugin for WordPress media library folders and MaxButtons.

Installation

Upload and unzip the plugin in your Plugins folder. Go to your Plugins page and activate Add Local Class.

Changelog

1.0.5

  • Tested with WordPress 6.4

1.0.4

  • Tested with WordPress 6.1

1.0.3

  • Tested with WordPress 5.9.3

1.0.2

  • Tested with WordPress 5.5

1.0.1

  • Added test for classes as an array

1.0.0

  • Initial Release

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

FAQ

Add Locale Class: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Nov 18, 2026

Is Add Locale Class free?

Yes. Add Locale Class is free to download and use from the official WordPress.org plugin directory.

Is Add Locale Class safe to use in 2026?

Add Locale Class shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 3 years ago, and scores 21/100 on our health check.

How many websites use Add Locale Class?

Add Locale Class is active on <10 WordPress websites and has been downloaded 2,229 times since it launched in August 2017. It was downloaded 44 times in the last 30 days.

Does Add Locale Class work with WordPress 7.1?

Add Locale Class is officially tested up to WordPress 6.4.14, while the latest release is 7.1.4. It may still work, but try it on a staging site first.

When was Add Locale Class last updated?

The latest version, 1.0.5, was released on November 7, 2023 (3 years ago).

Who makes Add Locale Class?

Add Locale Class is developed and maintained by AlanP57.

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.