Displaying 3 results from an estimated 3 matches for "globalize_languages".
2006 Jun 05
0
Failed to install Globalize plugin
...tries, :code)
-> 0.3000s
-- create_table(:globalize_translations, {:force=>true})
-> 0.1600s
-- add_index(:globalize_translations, [:tr_key, :language_id])
-> 0.2310s
-- add_index(:globalize_translations, [:table_name, :item_id,
:language_id])
-> 0.2200s
-- create_table(:globalize_languages, {:force=>true})
-> 0.1700s
-- add_index(:globalize_languages, :iso_639_1)
-> 0.2810s
-- add_index(:globalize_languages, :iso_639_2)
-> 0.2200s
-- add_index(:globalize_languages, :iso_639_3)
-> 0.2300s
-- add_index(:globalize_languages, :rfc_3066)
-> 0.2910s
rake ab...
2006 Apr 13
0
Globalize not with Rails 1.1.2
...news_item_test.rb based on
http://wiki.globalize-rails.org/wiki/pages/example
-----
require File.dirname(__FILE__) + ''/../test_helper''
class NewsItemTest < Test::Unit::TestCase
# Uncomment the following line if the test/fixtures are used
# fixtures :globalize_countries, :globalize_languages,
:globalize_translations
def test_add_content_translations
NewsItem.delete_all
Globalize::Locale.set_base_language(''en-US'')
# create a row in the base language
Globalize::Locale.set(''en-US'')
assert_nothing_raised() do
assert_kind_o...
2006 Feb 11
1
problem with globalize
Hi,
Somehow the date translation example in globalize doesn''t work for me.
Loading development environment.
>> Locale.set("es-ES")
=> #<Globalize::Locale:0x254df78 @code="es-ES", @language=nil, @country=nil>
>> Time.now.localize("%d %B %Y")
=> "11 February 2006"
>>
Any ideas??
Thanks!
Jeroen