MailingList


Click To Globalize: a nice extension for Globalize

View: New views
6 Messages — Rating Filter:   Alert me  

Click To Globalize: a nice extension for Globalize

by Luca Guidi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

I'm Luca Guidi an italian Rails developer. I think that Globalize is
well-designed plugin, but missing of some pratical features, in fact
when install it you need a back-end for assign to each key, the
translation for the current language.

If you have a previous globalization experience, you probably noticed
that the main problem of dedicated back-ends is the lack of the context
where the string will be placed in. It isn't a trivial issue: you'll
never know if the meaning of your string is harmonious with other labels
and how your string will be rendered, until the page load.

So, I wrote a plugin that extends Globalize, and allows the in place
translation process.

Click To Globalize features:

* In-place editing for each globalized string.
* Easy and painless plug-in/plug-out process.
* Unobtrusive and full-tested JavaScript.
* Auto transformation from input text to textarea for long strings.
* Textilize (RedCloth) and Markdown (BlueCloth) support.

If you want many details, informations, how-tos, video tutorials, please
visit the CTG page: http://www.lucaguidi.com/pages/click-to-globalize

I hope you found it useful.
Bye,
Luca.

--
blog: www.lucaguidi.com
speaker at:
Rome JavaDay 2007
http://roma.javaday.it/roma/

Re: Click To Globalize: a nice extension for Globalize

by pearle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Luca,

This looks really nice and is something I can probably use. Just a quick question -- have you tested it with the Rails 2.0 Release Candidate?

Luca Guidi wrote:
Hi guys,

I'm Luca Guidi an italian Rails developer. I think that Globalize is
well-designed plugin, but missing of some pratical features, in fact
when install it you need a back-end for assign to each key, the
translation for the current language.

If you have a previous globalization experience, you probably noticed
that the main problem of dedicated back-ends is the lack of the context
where the string will be placed in. It isn't a trivial issue: you'll
never know if the meaning of your string is harmonious with other labels
and how your string will be rendered, until the page load.

So, I wrote a plugin that extends Globalize, and allows the in place
translation process.

Click To Globalize features:

* In-place editing for each globalized string.
* Easy and painless plug-in/plug-out process.
* Unobtrusive and full-tested JavaScript.
* Auto transformation from input text to textarea for long strings.
* Textilize (RedCloth) and Markdown (BlueCloth) support.

If you want many details, informations, how-tos, video tutorials, please
visit the CTG page: http://www.lucaguidi.com/pages/click-to-globalize

I hope you found it useful.
Bye,
Luca.

--
blog: www.lucaguidi.com
speaker at:
Rome JavaDay 2007
http://roma.javaday.it/roma/

Re: Click To Globalize: a nice extension for Globalize

by Luca Guidi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

pearle wrote:
> have you tested it with the Rails 2.0 Release Candidate?

With the edge, it works.

--
blog: www.lucaguidi.com

Re: Click To Globalize: a nice extension for Globalize

by beYou media :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hey luca

it's soundz very nice your plugin, but...
...we can not get it working though.

We use Rails 2.0.1

any Idea? Thnx a lot!

greez

Rafael




$ script/server -u
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Debugger enabled
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
/Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/rails/
activesupport/lib/active_support/dependencies.rb:478:in  
`const_missing': uninitialized constant Rails::Plugin::InPlaceEditing  
(NameError)
        from /Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/
plugins/in_place_editing/init.rb:1:in `evaluate_init_rb'
        from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
79:in `evaluate_init_rb'
        from /Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/
rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:
11:in `silence_warnings'
        from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
75:in `evaluate_init_rb'
        from ./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:
39:in `load'
        from ./script/../config/../vendor/rails/railties/lib/rails/plugin/
loader.rb:33:in `load_plugins'
        from ./script/../config/../vendor/rails/railties/lib/rails/plugin/
loader.rb:32:in `each'
        from ./script/../config/../vendor/rails/railties/lib/rails/plugin/
loader.rb:32:in `load_plugins'
         ... 30 levels...
        from /Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/
rails/activesupport/lib/active_support/dependencies.rb:496:in `require'
        from /Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/
rails/railties/lib/commands/server.rb:39
        from script/server:3:in `require'
        from script/server:3





Am 05.12.2007 um 21:26 schrieb Luca Guidi:

> pearle wrote:
>> have you tested it with the Rails 2.0 Release Candidate?
>
> With the edge, it works.
>
> --
> blog: www.lucaguidi.com


Re: Click To Globalize: a nice extension for Globalize

by Luca Guidi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Rafael,

As you can see this isn't my plugin:
> /Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/plugins/in_place_editing/init.rb:1

My plugin is Click To Globalize, you can find it here:
http://dev.23labs.net/svn/rails/plugins/click_to_globalize/trunk

I'm working to make it, Rails 2.0 compatible. Expecially for Prototype
1.6.0.1 and Scriptaculous 1.8.0.1.

I hope to release it soon, at least tomorrow. Please be patient, I'll
announce the new release in this mailing list.

Thanks,
Luca.

--
blog: www.lucaguidi.com

Re: Click To Globalize: a nice extension for Globalize

by beYou media :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey :-)

thnx a lot! We are looking forward!

greetinx

Rafael


Am 12.12.2007 um 10:15 schrieb Luca Guidi:

> Hi Rafael,
>
> As you can see this isn't my plugin:
>> /Users/rafael/Documents/projects/packages.graubuenden.ch/vendor/
>> plugins/in_place_editing/init.rb:1
>
> My plugin is Click To Globalize, you can find it here:
> http://dev.23labs.net/svn/rails/plugins/click_to_globalize/trunk
>
> I'm working to make it, Rails 2.0 compatible. Expecially for Prototype
> 1.6.0.1 and Scriptaculous 1.8.0.1.
>
> I hope to release it soon, at least tomorrow. Please be patient, I'll
> announce the new release in this mailing list.
>
> Thanks,
> Luca.
>
> --
> blog: www.lucaguidi.com