def add_locale(locale, strings)
      if locale.to_s != '' && strings.is_a?(Hash) && strings.length > 0
        _add_locale(locale, strings)
        true
      else
        false
      end
    end
def add_locale(locale, strings)
      if locale.to_s != '' && strings.is_a?(Hash) && strings.length > 0
        _add_locale(locale, strings)
        true
      else
        false
      end
    end
Add a locale to the dom body element as a <template> element.

 @param [String] locale, locale id of strings.
 @param [Hash] strings, a hash holding localized strings.
 @return [Boolean] returns true if template added succesfully