lib/ramaze/helper/localize.rb in ramaze-2010.06.18 vs lib/ramaze/helper/localize.rb in ramaze-2011.01
- old
+ new
@@ -1,9 +1,13 @@
require 'locale/tag'
require 'locale'
module Ramaze
module Helper
+ ##
+ # The localization helper can be used to output translated strings.
+ # This enables your application to use multiple language files for English, Dutch and so on.
+ #
module Localize
include Traited
trait :localize_locale => ::Locale::Tag::Simple.new('en')
trait :localize_charset => 'UTF-8'