module I18n::Backend::KeyValue::Implementation

def translations

haml files
them into a hash such as the one returned from loading the
Queries the translations from the key-value store and converts
def translations
  @translations = Utils.deep_symbolize_keys(@store.keys.clone.map do |main_key|
    main_value = JSON.decode(@store[main_key])
    main_key.to_s.split(".").reverse.inject(main_value) do |value, key|
      {key.to_sym => value}
    end
  end.inject{|hash, elem| Utils.deep_merge!(hash, elem)})
end