# Multi-language pages with radiant?

**URL:** <https://www.ruby-forum.com/t/multi-language-pages-with-radiant/121365>\
**Category:** Radiant CMS\
**Created:** [November 27, 2007, 10:21am UTC](https://www.ruby-forum.com/t/multi-language-pages-with-radiant/121365 "2007-11-27T10:21:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TSSSSnu\_Runnel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@TSSSSnu\_Runnel](https://www.ruby-forum.com/u/TSSSSnu_Runnel)\
**Post date:** [November 27, 2007, 10:21am UTC](https://www.ruby-forum.com/t/multi-language-pages-with-radiant/121365/1 "2007-11-27T10:21:22Z")

</div>

Hi

I didn’t find an answer to my question through Google, maybe I didn’t  
know how to look. Anyway – how do you make a multi-language website  
with radiant?

Is it so that you make your site structure under Radiant’s “PAGES”-tab  
like this:

Home (redirects)  
en (home)  
Services  
People  
Contacts  
de (home)  
Dienste  
Leute  
Kontakte

… or is there a better practice? And if there isn’t, how do you  
redirect? Is there an “official” Radiant solution or I need the language  
redirect extension?

Thanks!  
Tõnu

---

<div class="post-metadata">

**Author:** ![TSSSSnu\_Runnel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@TSSSSnu\_Runnel](https://www.ruby-forum.com/u/TSSSSnu_Runnel)\
**Post date:** [November 27, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/multi-language-pages-with-radiant/121365/2 "2007-11-27T14:26:04Z")

</div>

Tonu,

If there is an “official” Radiant approach it is as you detailed, with  
a separate root for each language using the Language Redirect  
extension which is available here on the “ThirdPartyExtensions” wiki  
page: [http://wiki.radiantcms.org/Thirdparty\_Extensions](http://wiki.radiantcms.org/Thirdparty_Extensions)

I have not tested it against any recent builds of Radiant, so I will  
assume for now it’s up to date and working.

In addition to this option I wrote a “Language Switch” extension  
recently for a client and they allowed me to share. While for most  
cases I am a fan of the multiple roots approach, in this case they  
really wanted to have a conditional tag to switch out parts of a page  
or layout to another language without having to manage two separate  
sites. It’s not a particularly refined extension and it turns-off  
caching for all pages, but at least there is a bit of documentation in  
the README file 🙂 :  
[http://svn.fn-group.com/radiant\_extensions/language\_switch](http://svn.fn-group.com/radiant_extensions/language_switch)

Finally, take a look at the mailing list archive for another recent  
discussion of this topic:

[http://lists.radiantcms.org/pipermail/radiant/2007-September/thread.html#6356](http://lists.radiantcms.org/pipermail/radiant/2007-September/thread.html#6356)

Good luck!

Loren

> **[Resume - Loren Johnson](https://docs.google.com/document/d/1WfJomBItrSA281MMFbYpavEKLMkQAfG9pz0or0X5lBU/edit?usp=sharing)**
>
> LOREN JOHNSON 575-779-9996 | lorenjohnson@gmail.com | github.com/lorenjohnson | linkedin.com/in/johnsonloren EXPERIENCE Senior Software Engineer	April 2020 - Current Hylo.com – Terrans Collective Working full stack in Node, GraphQL, React, and...

---

<div class="post-metadata">

**Author:** ![TSSSSnu\_Runnel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@TSSSSnu\_Runnel](https://www.ruby-forum.com/u/TSSSSnu_Runnel)\
**Post date:** [November 27, 2007, 3:58pm UTC](https://www.ruby-forum.com/t/multi-language-pages-with-radiant/121365/3 "2007-11-27T15:58:17Z")

</div>

Tonu,

If there is an “official” Radiant approach it is as you detailed, with  
a separate root for each language using the Language Redirect  
extension which is available here on the “ThirdPartyExtensions” wiki  
page: [http://wiki.radiantcms.org/Thirdparty\_Extensions](http://wiki.radiantcms.org/Thirdparty_Extensions)

I have not tested it against any recent builds of Radiant, so I will  
assume for now it’s up to date and working.

In addition to this option I wrote a “Language Switch” extension  
recently for a client and they allowed me to share. While for most  
cases I am a fan of the multiple roots approach, in this case they  
really wanted to have a conditional tag to switch out parts of a page  
or layout to another language without having to manage two separate  
sites. It’s not a particularly refined extension and it turns-off  
caching for all pages, but at least there is a bit of documentation in  
the README file 🙂 :  
[http://svn.fn-group.com/radiant\_extensions/language\_switch](http://svn.fn-group.com/radiant_extensions/language_switch)

Finally, take a look at the mailing list archive for another recent  
discussion of this topic:

[http://lists.radiantcms.org/pipermail/radiant/2007-September/thread.html#6356](http://lists.radiantcms.org/pipermail/radiant/2007-September/thread.html#6356)

Good luck!

Loren

> **[Resume - Loren Johnson](https://docs.google.com/document/d/1WfJomBItrSA281MMFbYpavEKLMkQAfG9pz0or0X5lBU/edit?usp=sharing)**
>
> LOREN JOHNSON 575-779-9996 | lorenjohnson@gmail.com | github.com/lorenjohnson | linkedin.com/in/johnsonloren EXPERIENCE Senior Software Engineer	April 2020 - Current Hylo.com – Terrans Collective Working full stack in Node, GraphQL, React, and...

---

<div class="post-metadata">

**Author:** ![TSSSSnu\_Runnel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@TSSSSnu\_Runnel](https://www.ruby-forum.com/u/TSSSSnu_Runnel)\
**Post date:** [November 27, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/multi-language-pages-with-radiant/121365/4 "2007-11-27T17:39:50Z")

</div>

Tõnu Runnel wrote:

> en (home)  
> redirect extension?
> 
> Thanks!  
> Tõnu  
> I think there is no “official” solution. I think the language redirect  
> extension works like you say. In addition, I wrote a simple extension  
> that works well enough for me.

If you take a look at [http://t-engine.onghu.com/cn/](http://t-engine.onghu.com/cn/) you will see that it  
draws a language bar with links to the articles that exist. It’s a bit  
fragile but it works. It also relies on convention, but it works (for  
me). I mentioned the idea and the solution somewhat in this thread.  
Let me know if it interests you.

[1] The first concept -  
[http://lists.radiantcms.org/pipermail/radiant/2007-September/006364.html](http://lists.radiantcms.org/pipermail/radiant/2007-September/006364.html)  
[2] The details -  
[http://lists.radiantcms.org/pipermail/radiant/2007-October/006881.html](http://lists.radiantcms.org/pipermail/radiant/2007-October/006881.html)

Unlike Loren’s solution, mine doesn’t disable caching, but it is more  
difficult if you have multiple page parts that are common to each of the  
pages. Mine works quite well if you you want to assume that each  
translation is completely independent.

Cheers  
Mohit.
