YD Setup Locale WordPress Plugin | Codefreex Skip to content
YD Setup Locale icon

WordPress plugin

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&Co10+ active installs
Active installs
10+
Version
0.1.0
Last updated
Jun 5, 2009
Tested up to
WordPress 2.7.1
Requires
WP 2.0.0

Health check

Is YD Setup Locale safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

No update in over a year

Last updated on June 5, 2009. It may not be compatible with current WordPress or PHP, and unfixed issues are a security risk.

Not yet tested with the latest WordPress

Tested up to WordPress 2.7.1. It often still works, but check on staging first.

Rank tracker

Where YD Setup Locale ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for YD Setup Locale
KeywordPositionChangeTrendCurrent #1
i18n
international
internationalization
l10n
multilingual
yd setup locale

Checked against the top 100 WordPress.org search results.

Overview

What YD Setup Locale does

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).

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

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 usually named like this: fr_FR.po;

just copy it to fr.po to make it work with a two-letter code.

Description from the author's listing. Read the full listing on WordPress.org

FAQ

YD Setup Locale: questions and answers

What is YD Setup Locale?

YD Setup Locale is a WordPress plugin by Yann at WP&Co. Automatically sets up the WP language environment based on first part of url. Will setup XML lang attribute + $locale variable.

Is YD Setup Locale free?

YD Setup Locale is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use YD Setup Locale?

WordPress.org reports 10+ active installations of YD Setup Locale. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is YD Setup Locale still maintained?

YD Setup Locale was last updated on June 5, 2009. The current version is 0.1.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does YD Setup Locale require?

YD Setup Locale requires WordPress 2.0.0 or newer. It has been tested up to WordPress 2.7.1.

Can Codefreex set up or customize YD Setup Locale?

Yes. Codefreex installs, configures and customizes WordPress plugins including YD Setup Locale, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need YD Setup Locale set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us