search for: test_add_string_translations

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

2006 Apr 13
0
Globalize not with Rails 1.1.2
...ives the expected result news_item = NewsItem.find(:first) assert_equal ''US Title'', news_item.title Globalize::Locale.set(''nl-NL'') news_item = NewsItem.find(news_item.id) assert_equal ''NL Titel'', news_item.title end def test_add_string_translations Globalize::Locale.set_base_language(''en-US'') Globalize::Locale.set(''en-US'') language = Globalize::Language.pick ''nl-NL'' Globalize::Locale.set_translation( "This is written in English", language, &quot...
2006 Jan 18
15
Anyone got Globalize working???
Hi all In another thread I complain about an error I get after trying to get Globalize working. http://www.ruby-forum.com/topic/51988#new Now I want to ask you, if anybody of you has ever got Globalize working? I have done exactly what''s written in the (absolutely much too short) tutorial of its wiki... http://globalize.diluvia.net/wiki ...and I''m very frustrated that no