We internationalized our site months ago, but forgot one part: The drop down where a user picks their timezone.
How do you translate the following line:
I had trouble translating the time zones with .'s in them, like "St. Petersburg"
"translation missing: en, time_zones, St, Petersburg"
I removed the .'s from the keys, and changed this:
translated_name = I18n.t(name, :scope => :time_zones, :default => name)
to:
translated_name = I18n.t(name.gsub(".", ""), :scope => :time_zones, :default => name)
There are four keys with .'s: