#27 new
tvdeyen

Update Wiki Page for Translations available in rails

Reported by tvdeyen | August 3rd, 2009 @ 10:19 PM

The Wiki tells us to translate ActionPack pluralization with many nit with other like ActionPack expects. Very annoyimg. Took me hours to discover.

So instead of:

# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() datetime:

distance_in_words:
  half_a_minute: "half a minute" 
  less_than_x_seconds:
    one:  "less than 1 second" 
    many: "less than {{count}} seconds" 
  x_seconds:
    one:  "1 second" 
    many: "{{count}} seconds" 
  less_than_x_minutes:
    one:  "less than a minute" 
    many: "less than {{count}} minutes" 
  x_minutes:
    one:  "1 minute" 
    many: "{{count}} minutes" 
  about_x_hours:
    one:  "about 1 hour" 
    many: "about {{count}} hours" 
  x_days:
    one:  "1 day" 
    many: "{{count}} days" 
  about_x_months:
    one:  "about 1 month" 
    many: "about {{count}} months" 
  x_months:
    one:  "1 month" 
    many: "{{count}} months" 
  about_x_years:
    one:  "about 1 year" 
    many: "about {{count}} years" 
  over_x_years:
    one:  "over 1 year" 
    many: "over {{count}} years"

it should be:

# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words() datetime:

distance_in_words:
  half_a_minute: "half a minute" 
  less_than_x_seconds:
    one:  "less than 1 second" 
    other: "less than {{count}} seconds" 
  x_seconds:
    one:  "1 second" 
    other: "{{count}} seconds" 
  less_than_x_minutes:
    one:  "less than a minute" 
    other: "less than {{count}} minutes" 
  x_minutes:
    one:  "1 minute" 
    other: "{{count}} minutes" 
  about_x_hours:
    one:  "about 1 hour" 
    other: "about {{count}} hours" 
  x_days:
    one:  "1 day" 
    other: "{{count}} days" 
  about_x_months:
    one:  "about 1 month" 
    other: "about {{count}} months" 
  x_months:
    one:  "1 month" 
    other: "{{count}} months" 
  about_x_years:
    one:  "about 1 year" 
    other: "about {{count}} years" 
  over_x_years:
    one:  "over 1 year" 
    other: "over {{count}} years"

Comments and changes to this ticket

  • Hareplity1992

    Hareplity1992 October 14th, 2018 @ 05:31 AM

    Pie diagrams and another graphical portrayal of the information is the most ideal route for the seeing effectively. Endeavor to utilize these paper writer service in your introduction as it makes a positive effect on the others. As you can without much of a stretch comprehend through this what they need to state.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff

People watching this ticket

Pages