Extension:LandingCheck

LandingCheck makes using localized and geotargeted landing pages easy.

When called with a landing page name and a set of user-specific parameters, the extension checks to see if a version of the landing page exists for the user's language and country. If not, it looks for a version localized for the user's language. If that doesn't exist either, it looks for the English version. If any of those exist, it then redirects the user.

Installation

 * 1) Download the latest snapshot and extract it to your extensions directory.
 * 2) Add  to LocalSettings.php.
 * 3) The extension should now be active.

Usage
First, create a set of localized landing pages. For a fundraising campaign, you might set up the following pages:
 * JimmyAppeal/en - The landing page localized to English
 * JimmyAppeal/en/US - The landing page localized to English and customized for users in the United States
 * JimmyAppeal/en/UK - The landing page localized to English and customized for users in the United Kindom
 * JimmyAppeal/en/FR - The landing page localized to English and customized for users in France
 * JimmyAppeal/fr - The landing page localized to French
 * JimmyAppeal/fr/FR - The landing page localized to French and customized for users in France
 * JimmyAppeal/fr/CA - The landing page localized to French and customized for users in Canada

Next, set up a link that uses Javascript to construct the LandingCheck URL with user-specific query string parameters. For example: