search for: translation_text

Displaying 3 results from an estimated 3 matches for "translation_text".

2007 Dec 21
1
in_place_editor not working for Internationalization
...slateController < ApplicationController in_place_edit_for :translation, :text def index @view_translations = ViewTranslation.find(:all, :conditions => [ ''built_in IS NULL AND language_id = ?'', Locale.language.id ], :order => ''text'') end def translation_text @translation = ViewTranslation.find(params[:id]) render :text => @translation.text || "" end def set_translation_text @translation = ViewTranslation.find(params[:id]) previous = @translation.text @translation.text = params[:value] @translation.text = previo...
2007 Dec 19
2
undefined method `in_place_editor'
I''m trying to get Globalization to work using the globalize plugin. In their sample application they use in_place_editor to edit the translate strings. <%= in_place_editor "tr_#{tr.id}", :url => { :action => :set_translation_text, :id => tr.id }, :load_text_url => url_for({ :action => :translation_text, :id => tr.id })%> </p> I get the following error: undefined method `in_place_editor'' I use Rails 2.0.1 and read that in_place_editor, just as auto_complet, got kicked out of rails convert...
2005 Dec 21
10
Globalize plugin
Is there any working example on using the Globalize plugin? It could help alot Thanks in advance -- Alexander Antonakakis email: alexis-+Saq9+MPrF0@public.gmane.org