class UzuUzu::Environments
Public Instance Methods
load_localize()
click to toggle source
# File lib/uzuuzu-cms/wrapper/environments.rb, line 6 def load_localize uzuuzu_org_load_localize if ::File.file?(__DIR__("lang/#{@lang}.yaml")) ::File.open(__DIR__("lang/#{@lang}.yaml"), :encoding => "UTF-8") do |f| @localize.merge!(::YAML.load(f)) end end end
Also aliased as: uzuuzu_org_load_localize