Masao Mutoh wrote:
>> and the second problem is that despite what language i want to enforce 
>> via
>>   GetText.locale = "fr_CH"
>> (right before init_gettext in the application controller)
>> it always seems to fall back to the HTTP_ACCEPT_LANGUAGE from the 
>> browser :(
> 
> This may be a bug of 1.8.0.
> Could you try CVS version ?

hi again,

tried now with 1.9.0 and it works! woohoo :)

but something else...
today i read about the "haml" plugin for view templates (see 
http://haml.hamptoncatlin.com).
which is really cool but gettext doesnt seem to get along with it at all 
:(

rake updatepo
Error: #<RubyLex::SyntaxError: unknown type of %string>  in app/views/
test/test.haml:1
         #content{:style=>'padding:20px'}
rake aborted!

do you see any chances to support haml-templates in the near future?
i would really love to start using them, but without gettext support 
it'd be a no-go.

best regards,
ralf

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to