Drupal: .htaccess Access Deny
August 21, 2014 – 7:59 am | No Comment

In this article I will tell how to forbid access to certain resources for some clients. The instructions will include descriptions of different directives.

Read the full story »
CSS Templates

Contain reviews and news about CSS Templates.

Freebies

Contain freebies such as icons, graphics, headers and images for your websites.

Fun Stuff

Contains other fun stuff for entertainment or interesting site showcase.

How-To

Contain technical elaborations on some specific workarounds or common tweak.

Joomla Templates

Contains reviews and news about Joomla templates.

Home » How-To

Multilingual and Multi Domain Sites in WordPress

Submitted by on October 6, 2009 – 9:37 amNo Comment

Building multi language and multi domain company sites in WordPress is the one of the things we are doing more and more of recently. Doing that used to be a lot of work.

The method should be started with a simple WordPress MU install . Then the Multi Site Boss plugin is added to it, to make possible to run numerous domains off of it. Now this is all very simple and straight forward. We had to build a theme with a several languages support. And we have recently developed some new stuff that makes that easier.


Local templates

Localizing StudioPress themes is really not even that much work if you read the how to from John Godley. On top of doing that, some other code was added. This code enables you to pick the language for a blog in the topics backend.

clip_image001

Now this implies, that we can run a multi domain, multi-lingual site in one WordPress install, while maintaining only one theme.

Localizing dates

Localizing the date output is the one of the other things one need to pay attention to when you are localizing your WordPress theme. To be honest the way it is done is a little bit of a hack. However it allows for us to translate dates from within a theme, without necessary using of the backend in the other language.

It works by adding stuff like this to the themes functions.php:

$wp_locale->weekday[0] = __(‘Sunday’,’orangevalley’);

English backend and a frontend are in as many different languages on as many different domains as we wish. Those domains served from one WordPress MU install, with only 1 theme to maintain. Cool?

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.