New in Jargon: User Language Preference

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

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

On 8/10/07, John W. Long [email protected] 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

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.

[email protected]
http://keithbingman.com

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

That should be what you’re looking for.

Sean

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

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

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?

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