search for: translatecontrol

Displaying 2 results from an estimated 2 matches for "translatecontrol".

2007 Dec 21
1
in_place_editor not working for Internationalization
...on in my app. I followed the instructions on the Globalize example (http://wiki.globalize- rails.org/globalize/show/Example+Application), using in_place_editor. The translation works fine, however, I can''t get in_place_editor to work to translate the strings. My controller: class Admin::TranslateController < 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_...
2009 Dec 28
2
How to get parameters to controller from view using <input tag?
Hello! I''m everywhere searching the answer for my question. How to get parameters to controller from view using <input tag. But I want to do this without db. I have the code: class TranslateController < ApplicationController def start @time = Time.now end def result @rez = params[:name] end end <html> <head> <title> Translate numbers from 10 to 16 system </title> </head> <h1> Type your number and press link </h1> <p> T...