similar to: Globalize, how to remove a translation

Displaying 20 results from an estimated 100000 matches similar to: "Globalize, how to remove a translation"

2008 May 31
2
Exec format error during globalize plugin install
While trying to install the globalize plugin (website down? -- http://www.globalize-rails.org/globalize/) for Rails, all the files seem to be transferred and placed properly, but I get the following error when install.rb attempts to run: Exec format error - rake -f C:/clients/MyClient/code/vendor/plugins/ globalize/../../../Rakefile globalize:upgrade_schema_to_1_dot_2 && exit 1 I see
2007 Nov 14
2
Globalize and acts_as_versioned
The subject says it all: Has anyone had any experience with using globalize and acts_as_versioned (or equivalent) together. That is, I would like the version control to take the locales into account, the en-US translation could be on version 7 while the fr-FR version is 3. Am thinking about extending these plugins but maybe someone has already done this? Tanks in advance. Regards Erik Lindblad
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am getting: '' => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3003 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3003 ** Starting Rails with development environment...
2007 Feb 08
0
trying to install GLOBALIZE
I''m having problems installing the Globalize plugin (http://www.globalize-rails.org/globalize/) When I write this: D:\Rails\myapp>ruby script/plugin install svn://svn.globalize-rails.org/globalize/branches/for-1.1 nothing is reported and there is nothing installed in vendor/plugins trying to use D:\Rails\myapp>ruby script/plugin install
2007 Jan 17
1
Get "Uninitialized constant" with Globalize
Hey there :) Wondering what''s up with this... I just installed the Globalize plug-in in my current project, ran the rake globalize:setup script, then added "include Globalize" to my config/environment.rb. Now, when I try to start my server, I get: => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails application starting on
2006 Apr 13
0
Globalize not with Rails 1.1.2
Does anybody have the latest Globalize (r184) working with Rails 1.1.2? I can''t seem to get a very simple example to work: ----- ruby test/unit/news_item_test.rb Loaded suite test/unit/news_item_test Started F. Finished in 0.10109 seconds. 1) Failure: test_add_content_translations(NewsItemTest) [test/unit/news_item_test.rb:49]: <"US Title"> expected but was
2007 Sep 28
1
Globalize, partial, cache
Hello, I have a problem or don''t have :) Please check following if i did right: I have a web pages, that includes partials. Also i used Globalize plugin for translating web-pages. I get a problem with caching partials when used next code: <% cache "header" do %> <%= render :partial => ''/header'' %> <% end %> But after this header
2008 Sep 12
0
Exclude globalize from action
Hi everyone, I would like to know if it possible not to load globalize for a specific actions. I try to convert a view to pdf but there are some conflicts in the render_to_string function. So I would like to render the view without Globalize. Is it possible? Unfortunately the action_view of Globalize seems too tricky to mess around with --~--~---------~--~----~------------~-------~--~----~ You
2006 Mar 30
1
Globalize DB translate not working in Rails 1.1.0
It seems there have been some changes to ActiveRecord between Rails 1.1.0 RC and 1.10 Final that cause Globalize to fail; 1.10 RC was working fine. When retrieving records from the DB only the base language version is fetched, even when the locale has been set differently. The SQL in the log confirms that Globalize is ignored and a regular find() is performed.
2007 Feb 21
1
how to install globalize 1.2 in ROR
hi, can any one tell how to install globalize 1.2 in raby on rails step by step as soon as possible -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2007 Dec 11
4
Lost in translation - Rails 2.0 Nested Resources, Custom Actions
The shift to the :has_many and :has_one options when defining nested resource routes has me perplexed. The block format allows me to define custom REST actions like publish in the example below: map.resources :users do |user| user.resources :articles, :member => { :publish => :put } end It also allows for multiple levels of nesting if necessary. What I''d really like to
2007 Dec 21
1
in_place_editor not working for Internationalization
I''m trying to implement internationalization 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
2008 Jan 03
0
translate text, labels, pages....
Hello, Please recommend me something to translate web-pages, model fields, web-pages or tell me plz how to use globalize with rails 2.0 Before rails 2.0 i used globalize but not i got problems with globalize. Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby
2006 Mar 13
3
Translate to one language: Globalize is overkill?
Hi, I am developing a Rails application which should be in ONE language (not English). Globalize seems overkill for this purpose (do you agree?). So I''m trying some of the approaches on the wiki. In particular: http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage This *does* override the month names, but does *not* override the error messages. I''m
2006 Jun 11
0
url reverse translation with Globalize
I wrote something abou it, any suggestions are welcome http://assente.altervista.org/?q=reverse_url_translation_with_globalize_-_rails -- Posted via http://www.ruby-forum.com/.
2006 Apr 20
2
Globalize : how to detect if a translated text is available ?
Hi all, I was wondering how one can detect if a translated text is available when using the globalize plugin. If this is possible , then I would like to make the following : For example, in your view you have : <%@menu.each { | item | %> <%=item.t%> <%}%> Now what I would like to happen is , when the menu item has no translation available , and when a admin is logged in
2007 Dec 20
4
Ruby on Rails mailer
Today I made a first attempt to make use of ruby mailer. A volunteer fills out a form and the information is then sent to an administrator. I generated a mailer called notifier and added the following: class Notifier < ActionMailer::Base def volunteer_signup(volunteer, sent_at = Time.now) @subject = ''A new volunteer has signed up'' @body = { :title =>
2007 Oct 15
5
Very simple code throwing "uninitialized constant" error
This code works on an older version of Ruby and Rails but not with Ruby 1.8.6 and Rails 1.2.5. The code is so simple that I can''t figure out where the problem is. profile_controller.rb class ProfileController < ApplicationController def show @profile = Profile.find_by_school_id(params[:id]) end end ----------------------------------------------------------- profile.rb class
2006 Dec 12
2
Error message translation
I have a problem with translation of english phrase when an input error occurs. When I put: error_messages_for("registratie") above my view. I get the error: "xx errors prohibited this registratie from being saved". The problem now is, the site is for dutch customers and I would like to translate this to a dutch phrase. I know I can translate the individual fields with the
2006 Jan 18
1
Globalize: :select option not allowed on translatable models
Hi all I got the following error after trying to get the Globalize plugin to work: :select option not allowed on translatable models What could be the problem? I just created a plain new Rails app, installed Globalize through SVN, migrated the DB schema, created a scaffold for Product, and edited the Product model like the following: class Product < ActiveRecord::Base translates :name,