Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Tuesday, February 16 2010
9 [PATCH, TESTED] Allow to specify locale as variable was updated
  • tim
    tim commented at 6:07 PM

    we added a little hack to define seperate methods for each localized attribute.

    for example: i have a post object, the content attribute is translated into germ...

Tuesday, August 18 2009
15 handle non-string values in the "en.yml" files was updated
  • Randy
    Randy commented at 5:46 PM

    Here is the new patch, with changes to the test that takes this issue into account.

Monday, August 17 2009
15 handle non-string values in the "en.yml" files was updated
  • Randy
    Randy commented at 4:40 PM

    Sorry about the formatting... just copied it from an email. The patch should be self-explanatory.

    I'll add some tests and append to this ticket.

  • Randy
    Randy created the ticket at 4:38 PM

    In summary, the problem is that some "translated values" in the built-in Rails en.yml files have non-string values such as booleans, . For example in activesupp...

14 Wrong finder behaviour was updated
  • Josh H
    • Assigned user set to Josh H
    • State changed from new to invalid
    by Josh H at 1:01 PM

    This isn't exactly a bug. The find_by_* feature was added as a special advanced feature to support limited translation finding. Expanding this to the general ca...

Thursday, August 13 2009
14 Wrong finder behaviour was created
  • Marko Seppä
    Marko Seppä created the ticket at 3:04 PM

    These similar queries result to different SQL find statement - altough they should be the same thing.
    The latter one does not use translations at all.

    Tracker.f...

Wednesday, July 22 2009
12 Pluralizer Enhancements was created
  • Tom Hughes
    Tom Hughes created the ticket at 11:02 AM

    The attached patch adds several enhancements to the pluralizing backend.

    Firstly it passes the entry to the locale specific pluralizers as well as the count, so...

Friday, May 01 2009
11 globalize2 is not aware of namespaces was created
  • Kane
    Kane created the ticket at 1:54 AM

    I have namespaced models so i quickly found this lack. i made a quick fix, it is proberbly not the best code but it works for me (for now).

    I also changed the b...

Tuesday, February 17 2009
9 [PATCH, TESTED] Allow to specify locale as variable was updated
  • Sven Fuchs
    Sven Fuchs commented at 8:57 PM

    looks cool :)

  • Josh H
    • State changed from new to open
    by Josh H at 8:13 PM

    Looks good to me. Any objections?

Sunday, February 08 2009
8 Get available locale if the actually locale don't exist was created
  • kpitn
    kpitn created the ticket at 1:29 AM

    Hi,

    Actually if i have only a 'fr-FR' record, and my application is set to 'en-UK' my application show an empty line.

    Is there a way to get the available locale...

7 Extending Globalize2 to show available translations was created
  • kpitn
    kpitn created the ticket at 1:24 AM

    Someone post a solution here :http://max.jungeelite.de/2009/01/21/extending-globalize2-to-show-available-translations/

Thursday, January 29 2009
5 Implement find_or_create_by was updated
  • Henrik Hodne
    Henrik Hodne commented at 5:34 PM

    Here's a patch. I'm sorry I don't know how to make it a "real patch"

    
    # vendor/plugins/globalize2/lib/globalize/model/active_record/translated.rb
    # Around li...
  • Henrik Hodne
    Henrik Hodne created the ticket at 5:12 PM

    I see find_by_x is implemented (like find_by_name), but I would like find_by_x_or_create (or whatever that method is really called).

6 Add locale parameter to setters. was created
  • Henrik Hodne
    Henrik Hodne created the ticket at 5:16 PM

    Adding a locale parameter to the setters could be cool, like @post.title("Hello World", :en), or @post.title(:en => "Hello World"). The latter could make it pos...

Monday, January 26 2009
2 Using validate_uniqueness_of on a translated attribute fails was updated
  • cantorrodista (at gmail)
    cantorrodista (at gmail) commented at 7:07 PM

    I reproduced the same problem in my project.

    I think that the problem is in AR::Base method 'columns', that doesn´t found a column named with the attribute (the...

Thursday, January 22 2009
3 [PATCH, TESTED] simple dynamic finders was updated
  • Josh H
    • State changed from new to resolved
    by Josh H at 3:04 AM

    Applied.

  • Sven Fuchs
    Sven Fuchs commented at 12:57 AM

    Also looks good to me.

    ZenCocoon, what would "advanced dynamic finders" be?

4 [PATCH, TESTED] Static backend interpolation crash with Flase string was updated
  • Josh H
    • State changed from new to resolved
    by Josh H at 3:04 AM

    Applied.

  • Sven Fuchs
    Sven Fuchs commented at 12:58 AM

    +1

1 [PATCH, TESTED] Static backend removes unit in number_to_currency was updated
  • Josh H
    • State changed from new to resolved
    by Josh H at 3:03 AM

    Applied.

  • Sven Fuchs
    • Tag changed from number_to_currency, patched, tests to backend, number_to_currency, numeric, patched, static, tested, translation
    • Assigned user changed from Sven Fuchs to Josh H
    by Sven Fuchs at 12:55 AM

    Looks good to me. Josh, can we apply this?

Thursday, January 15 2009
1 Globalize backend removes unit in number_to_currency was created
  • Sven Fuchs
    Sven Fuchs created the ticket at 2:40 AM

    ZenCocoon says: Try it from a new rails app, display number_to_currency(10) ... and boom.

Friday, January 09 2009
iain iain was invited to Globalize2 at 5:48 PM
Monday, August 04 2008
Sven Fuchs Sven Fuchs was invited to Globalize2 at 4:36 PM
Home was created by Josh H in Globalize2 at 4:20 PM