PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. I18n
  4. YD Setup Locale
YD Setup Locale icon

YD Setup Locale

Automatically sets up the WP language environment based on first part of url. Will setup XML lang attribute + $locale variable.

By Yann at WP&Co·I18n·Free
00
·10 active installs·Updated 16 years ago
DownloadVisit HomepageCompare

As of April 2026, YD Setup Locale is a WordPress i18n plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.8K+ times in total. Requires WordPress 2.0.0+ and PHP false+. Available on WordPress.org since 2009. Last updated 16 years ago — may have compatibility concerns. Top alternative: Loco Translate.

0/5Rating
10active installs
2.8K+total downloads
17 yearssince 2009

Overview

This very simple WordPress plugin automatically sets up the WP language environment based on the first part of the url of any page.

It will automatically setup the right XML header lang attribute + the internal WordPress $locale variable that is used to load the right language files for i18n and l10n (.po, .mo).

Usage:

Your blog URL structure should always begin with an official two-letter langage code, for example:

  • /en/… for english
  • /es/… for Spanish
  • /ja/… for Japanese
  • /fr/… for French
  • etc.

Please use only lower-case codes.

Pages that don’t comply to this URL scheme will still get your blog’s default locale setting, as configured in your wp-config.php file.

Sometimes you need to rename or copy some of your po/mo files, for example French language PO files are us…

Read full description on WordPress.org

Ratings & Reviews

00 reviews
5 ★
0
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress2.0.0+ requiredTested up to 2.7.1
PHPfalse+ required

Top Alternatives to YD Setup Locale

Loco Translate icon
Loco Translate
4.81.0M+ installsUpdated 3 weeks ago
ViewCompare
WP Multibyte Patch icon
WP Multibyte Patch
51.0M+ installsUpdated 4 months ago
ViewCompare
Performant Translations icon
Performant Translations
4.940K+ installsUpdated 4 months ago
ViewCompare
WPBakery Visual Composer & qTranslate-X icon
WPBakery Visual Composer & qTranslate-X
3.28.0K+ installsUpdated 8 years ago
ViewCompare
WPML Multilingual for BuddyPress and BuddyBoss icon
WPML Multilingual for BuddyPress and…
4.67.0K+ installsUpdated 2 weeks ago
ViewCompare
View all i18n plugins →

Frequently Asked Questions

Contributors

Yann at WP&CoYann at WP&Co
Plugin Info
Version
0.1.0
Last Updated
Jun 5, 2009
WP Requires
2.0.0+
Tested Up To
2.7.1
PHP Requires
false+
Active Installs
10
Downloads
2.8K+
Added
Jun 5, 2009
Business
Free

Tags

i18nl10nmultilingualinternationalinternationalization

Developer

Y
Yann at WP&Co
16 plugins0.0M+ total installs
View all plugins →

Quick Compare

YD Setup Locale vs Loco Translate→YD Setup Locale vs WP Multibyte Patch→YD Setup Locale vs Performant Translations→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.