# New in Jargon: User Language Preference

**URL:** <https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786>\
**Category:** Radiant CMS\
**Created:** [August 10, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786 "2007-08-10T20:06:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 10, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/1 "2007-08-10T20:06:16Z")

</div>

Just committed changes to jargon to allow users to select the language  
that they want to view the admin interface in:

[http://dev.radiantcms.org/radiant/changeset/479](http://dev.radiantcms.org/radiant/changeset/479)

There is still some work to do on this, but it works beautifully now.

To change your language, if you are an admin user:

1. Go to the Users screen
2. Click on the user that you would like to change the language  
preference for
3. Change the preferred language
4. Save your changes

For normal users:

1. Go to the Preferences screen
2. Select your preferred language
3. Save your changes

To switch a normal project to run on jargon:

rake radiant:freeze:edge BRANCH=jargon  
rake db:migrate

Enjoy!

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 10, 2007, 8:11pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/2 "2007-08-10T20:11:16Z")

</div>

On 8/10/07, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> To switch a normal project to run on jargon:
> 
> rake radiant:freeze:edge BRANCH=jargon  
> rake db:migrate

You will also need to do this:

cp -R vendor/radiant/lang .  
rake radiant:update

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 10, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/3 "2007-08-10T20:15:16Z")

</div>

Wow. Very nice.

One thing, and I have been meaning to ask this since I started trying  
to add Gibberish, where can we change the main menu (Pages, Snippets,  
etc.)? Or is this even possible? Are the names strictly connected to  
the Models?

Other than that, truly great.

Keith B.

removed\_email\_address@domain.invalid  
[http://keithbingman.com](http://keithbingman.com)

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 10, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/4 "2007-08-10T20:35:19Z")

</div>

[http://dev.radiantcms.org/radiant/browser/branches/jargon/radiant/lib/radiant/initializer.rb#L54](http://dev.radiantcms.org/radiant/browser/branches/jargon/radiant/lib/radiant/initializer.rb#L54)

That should be what you’re looking for.

Sean

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 10, 2007, 9:21pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/5 "2007-08-10T21:21:26Z")

</div>

On Aug 10, 2007, at 1:04 PM, John W. Long wrote:

> Just committed changes to jargon to allow users to select the language  
> that they want to view the admin interface in

I have a really annoying question: any idea on when this will be  
merged into a stable release branch? Maybe I don’t understand what  
the jargon branch is for. By the way I can translate the admin  
interfase to spanish if there isn’t a translation already.

Thanks,

Gustavo

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 10, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/6 "2007-08-10T21:41:28Z")

</div>

Gustavo Beathyate wrote:

> I have a really annoying question: any idea on when this will be  
> merged into a stable release branch? Maybe I don’t understand what  
> the jargon branch is for.

Jargon should be considered experimental at the moment. There is not a  
date set for when it will be merged back into trunk at this point.  
Hopefully, it will be soon.

> By the way I can translate the admin  
> interfase to spanish if there isn’t a translation already.

That would be great.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 11, 2007, 1:16am UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/7 "2007-08-11T01:16:46Z")

</div>

Thanks Sean, this is the spot, but for some reason, it won’t take any  
of the Gibberish strings. If I change the main string (i.e “Pages”),  
it does change it, but not using the Gibberish translations. Very  
weird. Any ideas?

---

<div class="post-metadata">

**Author:** ![John\_WSLong](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/34f0e0/32.png) [@John\_WSLong](https://www.ruby-forum.com/u/John_WSLong)\
**Post date:** [August 11, 2007, 2:28am UTC](https://www.ruby-forum.com/t/new-in-jargon-user-language-preference/111786/8 "2007-08-11T02:28:51Z")

</div>

Keith,

The problem is that the method is probably executed before the plugins  
are loaded. Some refactoring may be necessary to deal with this issue,  
or removing Gibberish from the plugins and making it a standard vendor  
directory that is loaded before the tabs. It’s been a while since I  
traced the initialization process, so I’m not sure exactly where to  
place it.

Sean
