# Language Redirect Extension

**URL:** <https://www.ruby-forum.com/t/language-redirect-extension/82920>\
**Category:** Radiant CMS\
**Created:** [January 22, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920 "2007-01-22T12:50:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [January 22, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/1 "2007-01-22T12:50:24Z")

</div>

I ported the Language Redirect Behavior to mental. You can get it from

[https://svn1.hosted-projects.com/medlar/language\_redirect\_extension](https://svn1.hosted-projects.com/medlar/language_redirect_extension)

The port was straightforward so I assumed no tests were necessary  
(wrong assumption, I know). You can do whatever you want with it.

–Giovanni

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [January 22, 2007, 3:29pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/2 "2007-01-22T15:29:07Z")

</div>

Looks good, Giovanni! A functional test would probably be all that is  
necessary – something that tests if the redirection works correctly, in  
as  
many different cases as possible or reasonable.

Sean

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [January 23, 2007, 11:15am UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/3 "2007-01-23T11:15:44Z")

</div>

Now you’re forcing me to write tests 😃

2007/1/22, Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 3:15pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/4 "2008-12-10T15:15:03Z")

</div>

On 2008/12/09, at 14:03, Michael Kessler wrote:

> Hi everyone,
> 
> I’m looking for the “Language Redirect” extension, but unfortunately  
> the subversion repository that is linked from the third-party  
> extension page on the radiant wiki has been deleted. Can someone who  
> has this extension installed kindly provide me a copy, or better  
> share it on github so that we can update the wiki?

Maybe one of these 3 extensions on GitHub provide a similar solution.  
I haven’t personally investigated any of the options.

# =

# =

# =

# ======================================================================== url: [GitHub - lorenjohnson/radiant-language-switch: A basic internationalization extension for Radiant CMS which allows simple template switching based upon language.](http://github.com/lorenjohnson/radiant-language-switch) description: A basic internationalization extension for Radiant CMS which allows simple template switching based upon language.

# =

# =

# =

```
     url: http://github.com/DefV/site_language

```

# description: Radiant Extension for multiple language support

# =

# =

# =

```
     url: http://github.com/peburrows/translator

```

# description: Radiant extension for simple, elegant language localization

# =

# =

# =

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/5 "2008-12-10T16:08:36Z")

</div>

Michael,

I’ll send you a tarball of a modified version of the original.

Sean

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/6 "2008-12-10T16:15:06Z")

</div>

I’ll fork it this weekend at the sprint. Thanks!

Sean

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 4:11pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/7 "2008-12-10T16:11:32Z")

</div>

If anyone needs mine I closed the svn server and put it on github

> **[GitHub - intinig/radiant\_language\_redirect\_extension: The language redirect...](https://github.com/intinig/radiant_language_redirect_extension/tree/master)**
>
> master

Feel free to contribute.

Sean please contribute your changes 🙂

2008/12/9 Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/8 "2008-12-10T16:16:17Z")

</div>

Np. I moved away from svn but forgot to move all the projects to github.

2008/12/9 Sean C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/9 "2008-12-10T16:36:57Z")

</div>

Thanks, I updated the wiki to point at the new location.

---

<div class="post-metadata">

**Author:** ![Giovanni\_I](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Post date:** [December 10, 2008, 4:30pm UTC](https://www.ruby-forum.com/t/language-redirect-extension/82920/10 "2008-12-10T16:30:30Z")

</div>

John,

I had a look at those extensions, but I feel that the simplicity and  
independency of the different language trees are exactly what I’ve  
looked for.

Anyway thanks for all the responses.

Michael
