similar to: I18n and Rails 2.3.5

Displaying 20 results from an estimated 3000 matches similar to: "I18n and Rails 2.3.5"

2010 Sep 23
3
superclass mismatch for class Tempfile
I''ve been facing a problem when generating a model (or controller, ...). I''m using rails 2.3.8 and ruby 1.8.7. Has anybody been facing anything like this? script/generate controller test /usr/lib/ruby/1.8/tempfile.rb:12: superclass mismatch for class Tempfile (TypeError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require''
2010 Aug 21
2
Rails 3: I18n.locale not set to I18n.default_locale in production
I have an application that uses I18n, but in the first deployment, I don''t want to enable different languages per user/request because there are very few users who all speak german). Therefore I have config.i18n.default_locale = :de in config/ application.rb. I have no code whatsoever to set/change I18n.locale in my app. In development environment, it works as expected: the
2009 Jun 24
3
I18N: allocator undefined for Proc
Hello all, I''m trying to translate my application using the I18N feature and it was working fine until I added a couple of new entries to the en.yml files. Now in every action in my application I always get the following error: TypeError in Account#login Showing app/views/account/login.rhtml where line #2 raised: allocator undefined for Proc Extracted source (around line #2): 1: 2:
2009 Dec 29
1
undefined method `alias_method_chain' for I18n::Backend::Simple:Class
Hi, We are running RE: ruby 1.8.7 (2009-06-12 patchlevel 174) [sparc-solaris2.10], MBARI 0x8770, Ruby Enterprise Edition 2009.10 I tried a simple web app with a controller rendering a text and is working in my PC but on the server I get: Error message: undefined method `alias_method_chain'' for I18n::Backend::Simple:Class Exception class: NoMethodError Application root:
2023 Jan 05
1
R 'arima' discrepancies
Rob J Hyndman gives great explanation here (https://robjhyndman.com/hyndsight/estimation/) for reasons why results from R's arima may differ from other softwares. @iacobus, to cite one, 'Major discrepancies between R and Stata for ARIMA' (https://stackoverflow.com/questions/22443395/major-discrepancies-between-r-and-stata-for-arima), assign the, sometimes, big diferences from R
2006 Feb 07
2
Better i18n for Asterisk?
Hi List, Do you know if there are any plans to improve i18n for Asterisk? The current i18n way of doing it with asterisk is very limited and most of the time does not work. For example, take voicemail: "message" "received" "at" "seven" "30" "am" might sound good in English. But: "message" "recu" "a"
2010 Aug 01
3
The {{key}} interpolation syntax in I18n messages is deprecated...
All, Has anyone seen this - I am getting the following deprecation warning when running my functional tests under rails 2.3.8 (just moved an app from 2.3.4 up to 2.3.8 in prep to move to Rails 3 --- if you think this problem is solved in Rails 3 then let me know): The {{key}} interpolation syntax in I18n messages is deprecated. Please use %{key} instead. I have isolated the problem to the
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not having i18n installed. Either bundler should be installing i18n along with activesupport or docs need to be updated. quick repro: https://github.com/softwaregravy/repro_active_support_i18n bundle exec irb require ''active_support/all'' detailed steps and error: 1) add to Gemfile require
2011 Sep 05
1
I18n.locale Setting invalid
I like this set of code: before_filter :set_language def set_language request_language = request.env[''HTTP_ACCEPT_LANGUAGE''] request_language = request_language.nil? ? nil : request_language[/[^,;]+/] I18n.locale = request_language if request_language && File.exist?("#{Rails.root.to_s}/config/locales/#{request_language}.yml") end if i setting
2009 Jan 17
2
active_scaffold + i18n
Hello all, I have a project where I''m using active_scaffold and would also like to use i18n over it. While the i18n works fine if I just ignore the active_scaffold, I couldn''t get it running with it. I searched through its docs and googled quite a bit. Can I use i18n with active_scaffold? thanks cheers -- gallois aka Felipe Gallois blog: www.gallois.com.br/blog fanglib
2010 Nov 03
3
|Newbie] Change default locale I18n file devise.
Hello! This is probably something easy. I''ve looked at some documentation but I didn''t find any good resources on how to change to default locale file with Devise authentication plugin. Should I do it in my application controller or should I change something in Devise? And how should I do it. Thanks // Anders -- You received this message because you are subscribed to the
2006 Jan 30
15
i18n when?
Hi all, Just wondering... Are there any plans to include i18n support in Rails anytime soon? I guess this is about the only feature I''m realy missing in Rails. Any thoughts? Regards, Harm de Laat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/63681052/attachment.html
2008 Feb 27
8
ActiveRecord validation messages not I18N-friendly and enforces grammar
ActiveRecord validation messages are currently not I18N-friendly. Specifically, I''m referring to the fact that it enforces a certain grammar, namely the beginning of the message must consist of the field name. For example: validates_presence_of :name, :message => "can''t be blank." ...generates the message "Name can''t be blank". This grammar
2000 Jan 01
1
Please release samba-2.0.7 and SWAT i18n
I belong to Samba Users Group Japan and maintain Samba 2.0.5a Japanized version. It's only l10n'ed Samba , but is used widely in Japan. And now we are planning to release next Samba Japanized version. But Samba 2.0.6 is half i18n'ed and more difficult to do l10n than 2.0.5a and as we said to Mr. Allison on 18th Dec. 1999 in Japan, the i18n of current SAMBA_2_0 branch works well, so we
2006 Feb 23
3
Decimal comma instead of decimal point (i18n issue)
Hello, What is the easiest way which enables usage of decimal comma "," instead of decimal point (".") . I would like to force all RoR views to display float numbers with comma instead of decimal point and also to allow insertion of float numbers with comma in forms. Thanks in advance, Karel -- Posted via http://www.ruby-forum.com/.
2012 Mar 31
2
I18n.t('countries.NO') broken?
Hi I''ve tried this on a virgin Rails 3.2.2 app. If you put the translations for country names in the locale file using the 2 letter ISO code, it looks something like this: en: countries: DE: "Germany" NO: "Norway" US: "USA" This works fine - but for Norway :-) I18n.t :''countries.DE'' # => "Germany" I18n.t
2009 Jun 14
3
Rails I18n
Hi, I am trying to use i18n in rails. I want the language to be set first from params[:locale] (probably already in the url) then from the browser http header and lastly from the default_locale. Everything is fine. Now the problem starts, when I want to add a dropdown list to allow the user to change the locale. How do I force the page to reload with the new Locale? FYI, I tried using .js and
2010 Nov 22
3
can't activate i18n (~> 0.4.1, runtime) for ["mail-2.2.10"
Hi Using RoR 3.0.3 on Mac OS X, and am running into the dependency problems. Please see the error below. I thought bundler was meant to precisely avoid these problems? thanks a lot for your help I tried bundle install / check , deleted old lockfile and regenerate it, but nothing worked. rails generate controller testcontroller index /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:233:in
2020 Nov 22
1
Dovecot alternatives with good i18n support?
Hello! I?m interested in exploring alternative IMAP servers that have good support for internationalised email, such as support for SMTPUTF8, IDN mail domains, Unicode local-part, etc. etc. If you used to use Dovecot, and found an alternative that does such things well, I would very much like to hear it. Thank you, -- David