You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussing the upcoming Rails changes that will support internationalization (i18n).
|
|
|
Convert Panasonic AG-DVX100B DV AVI to QuickTime MOV for playback
|
| |
Convert Panasonic AG-DVX100B DV AVI to QuickTime MOV for playback
The Panasonic AG-DVX100B may well be the last and best semipro DV
camcorder that approach obsolescence of high-end standard-definition
(SD) video cameras. In essence, the AG-DVX100 series combines a
Handycam-like form factor with the full complement of external... more »
|
|
ruby gem to automate internationalizing your templates
|
| |
Hey, I wrote a gem called *i15r* ([link]). It automates replacing "plain" strings with I18n message strings in erb or haml templates which is a rather boring process when done manually. I'm posting it here so that it gets some exposure and hopefully feedback. So I encourage you to run it in your ruby projects and let me know how it worked... more »
|
|
I18n.l date displays the month wrong by +one
|
| |
I have an object with a created_at date and if i just display (to_date.to_s) that in a template, it displays correctly as "2013-01-09" But, if i use i18n as in <%= I18n.l object.created_at.to_date %> it displays as 9. helmikuuta 2013 (february) (that's finish locale, but i just checked i have the latest)... more »
|
|
my gem to insert i18n strings to templates
|
| |
Hey, I'm the author of a gem called i15r ([link]). It automates replacing "plain" strings with I18n message strings in erb or haml templates and thus automates the boring process of doing it manually. I wanted to add it to the ruby i18n wiki ([link]) but... more »
|
|
ActiveRecord accepts_nested_attributes_for problem
|
| |
I'm in this case:
class Man < ActiveRecord::Base
has_many :eyes
accepts_nested_attributes_for :eyes
end
class Eye < ActiveRecord::Base
belongs_to :man
validates_inclusion_of :color, in: { %w[brown green blue] }
end
Views (in HAML):
= form_for @man do |f|
- if @man.errors.any?... more »
|
|
Globalize with uppercase locale attribute
|
| |
Hi,
I have this model:
class Event
translates :nome, :descrizione
# other stuff
end
Inside the database I have defined the event_translations table with
locale field as enum('IT', 'EN')... The problem is that Globalize uses
lowercase locale, and build queries like this one:... more »
|
|
Timing of language setting
|
| |
Rails 3.1.3
Hi. My application's i18n seems to work, but the timing of the language
setting is wrong.
I have an User model, which has a column, 'language', so that users can
choose their default language. When each user logged in, the
applications should always apply itself the language of his/her choice.... more »
|
|
|