Displaying 20 results from an estimated 3000 matches similar to: "active_scaffold + i18n"
2006 Aug 23
11
i18n friendly, plugable Rails Core
In my work with a simple localization plugin, i''m running into a lot of
places in the Rails core, where text and other localization specific
information is hardcoded.
I''ve included some examples in the bottom of this post.
It''s hard for an outsider to know, if the hardcoded values are a result
of inconsistency in code, or "by design". I hope that we can have
2006 May 02
16
no one cares about i18n (was [OT]: Asking questions on this list)
Do most others in the community agree with this statement? It seems to me
that i18n is:
1. Actually important to many people
2. Not really the difficult to implement in concept
3. Something that people like to point out about Rails to say it''s not
ready foir "Enterprise"
It seems to be that a big part of Rails is encouraging people to do things
the "Right Way",
2007 Aug 10
0
rspec and active_scaffold
Hi,
Anyone here have a link or tips for a complete spec for a dead simple
active_scaffold controller, including its internal calls stubbed out
which we could use as a starting point? thanks.
linoj
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:
2003 Aug 06
2
L10N and i18n of R
Dear R-users of non-English speaking countires.
Maybe a good news for those who want to use R in their
local languages. Recently two Japanese, E. Nakama and
M. Okada, succeeded in "making R speak Japanese". At
present, R can handle Japanese (as well as other languages,
I guess) character strings if one use consoles which
can understand Japanese. Also P. Murrell kindly
provided a
2003 Aug 06
2
L10N and i18n of R
Dear R-users of non-English speaking countires.
Maybe a good news for those who want to use R in their
local languages. Recently two Japanese, E. Nakama and
M. Okada, succeeded in "making R speak Japanese". At
present, R can handle Japanese (as well as other languages,
I guess) character strings if one use consoles which
can understand Japanese. Also P. Murrell kindly
provided a
2009 Jul 30
8
Rails 2.3.x and active_scaffold Installation
Hi,
I have upgraded to rails 2.3 and active_scaffold plugin is not
working.
when i run this command it creates a active_sacaffold folder in vendor/
plugins, but its an empty folder. I googled but found no way to
install it.
Please help!!!!!
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
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
2010 Mar 19
2
I18n and Rails 2.3.5
Has anybody faced any problem to use i18n on Rails 2.3.5? Sometimes when I
call the *t* function, it works fine, but for some keys, it does not work
and I have no clue why it is going on.
I do have a .yml with correct keys and values. For example, in this (
http://dev.promine.com.br/promine) page, i18n is working properly, but in
this (http://dev.promine.com.br/servicos) one, it isn''t?
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 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
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
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:
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
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
2010 Oct 01
1
I18n.with_options bloc executed TWICE
Hi, to avoid putting the whole locale scope on every I18n.t call I''m
trying to use a scope, as stated in the doc
(http://guides.rubyonrails.org/active_support_core_extensions.html#with_options)
I tried with
<%= I18n.with_options :locale => :en, :scope => ''portal.visitor_menu'' do
|i18n|%>
Try <%= i18n.t :fav_songs %>
<% end %>
But it produce