{5} Assigned, Active Tickets by Owner (Full Description) (3 matches)

List tickets assigned, group by ticket owner. This report demonstrates the use of full-row display.

jsierles

Ticket Summary Component Milestone Type Created
Description
#176 [PATCH] ActionView::Base modifications not working with edge rails view defect 09/28/07

The code in lib/globalize/rails/action_view.rb made several assumptions about template naming structure and so broke with the recent rails edge changes in the file names (ex show.rhtml to show.html.erb). This becomes obvious when you have multiple formats in one action (ex show.html.erb & show.rss.builder).

The patch removes all extension assumptions from the globalize code and depends on ActionView::Base methods to make these decisions while still supporting the localized views.

This patch passes all tests in test/view_picking_test.rb


saimonmoore

Ticket Summary Component Milestone Type Created
Description
#148 Language Fallbacks Need Improvement model rails-1.3 enhancement 03/06/07

Currently Globalize only supports a fallback to the base language if a translation does not exist. However, if one exploits Globalize's ability to have locale-specific languages, such as en-US and en-GB, then the more appropriate fallback to the "root" language (en, in this example) is called for.

I propose that if a translation for a locale-specific language is not available, then Globalize should substitute the "root" language translation. Example, with base_language = fr:

fr: "La couleur du camion etait rouge."
en: "The colour of the lorry was red."
en-US: "The color of the truck was red."
en-GB: nil
en-AU: nil

When searching for the en-GB or en-AU translation of the text "The color of the truck was red.", Globalize should return "The colour of the lorry was red." and not "La couleur du camion etait rouge." Keep in mind that 90% of the translations within a language family would be identical -but getting that last 10% right can make a world of difference between a foreign-feeling app and a truly localized one.

Ideally, there should be an explicit relationship between the root language en and the locale-specific languages en-US, en-GB and en-AU. In the absence of any DB schema support, parsing the language code for the string before the dash ("-") would suffice to find the root language.

Without this support, Globalize will require a huge amount of duplicated translations to support some of the most widely spoken language families on the planet:

en is a base for en-US, en-GB, en-CA, en-AU, en-NZ, en-BZ, etc. es is a base for es-ES, es-MX, es-CO, etc. fr is a base for fr-FR, fr-CA, fr-CH, etc. pt is a base for pt-PT, pt-BR, etc.

Just with those four root languages, you have probably covered well over a billion native speakers.


yann

Ticket Summary Component Milestone Type Created
Description
#5 Merge the globalize_extensions functionality into Globalize view rails-1.3 task 10/13/06

It should be a good idea because Globalize Extension adds some shortcut and useful functionality.

http://opensvn.liquid-concept.com/trac/globalize_extension

It is well tested and ready to merge in.


Note: See TracReports for help on using and creating reports.