03 Feb, 2011

1 commit


02 Feb, 2011

2 commits


31 Jan, 2011

1 commit


20 Jan, 2011

1 commit


19 Dec, 2010

1 commit


25 Nov, 2010

1 commit


26 Oct, 2010

1 commit


02 Sep, 2010

1 commit


30 Aug, 2010

1 commit


17 Aug, 2010

1 commit


10 Aug, 2010

1 commit


04 Aug, 2010

1 commit


23 Jul, 2010

1 commit


17 Jul, 2010

1 commit


07 Jul, 2010

1 commit


14 Jun, 2010

1 commit


29 May, 2010

1 commit


26 May, 2010

1 commit


12 May, 2010

1 commit


03 May, 2010

1 commit


20 Apr, 2010

1 commit


14 Apr, 2010

1 commit


12 Apr, 2010

1 commit


05 Apr, 2010

1 commit

  • Besides being faster, consumming less memory, and being thread-safe,
    fast_gettext's approach is cleaner than Ruby-GetText's because it does not
    mess with the Rails internals. That's probably due to the fact that
    fast_gettext was designed after Rails had proper I18N support, so that's
    not exactly Ruby-GetText's fault. Current versions of Ruby-GetText are
    claimed to be thread-safe as well, but I decided to go with fast_gettext
    regardless.
    
    I am messing with the Rails internals myself by copying some code from
    Ruby-Gettext, but that code will be dropped when we upgrade to a more
    recent Rails version with proper I18N. Code was copied from Ruby-GetText
    to implement:
    
        * per-language cache
        * validation error messages translation
    
    During initialization, the needed .mo files installed system-wide are
    symlinked locally.  By doing this we can take "similar" locales locally
    since fast_gettext does not seem to support loading of files from similar
    locales (e.g.  loading pt_BR/LC_MESSAGES/domain.mo when
    pt/LC_MESSAGES/domain.mo is not available).
    
    This hopefully will fix the long-standing bug with messed up translations
    due to high concurrency and non-thread-safety of the version of
    Ruby-GetText in Debian Lenny.
    
    (ActionItem1315)
    Antonio Terceiro
     

29 Mar, 2010

1 commit


10 Mar, 2010

1 commit


26 Feb, 2010

1 commit


08 Feb, 2010

1 commit


02 Feb, 2010

1 commit


18 Jan, 2010

1 commit


28 Dec, 2009

1 commit


21 Dec, 2009

2 commits


14 Dec, 2009

1 commit


04 Dec, 2009

1 commit


30 Nov, 2009

2 commits


16 Sep, 2009

2 commits