def translate(text:, from: nil, to:, **opts)
      provider.translate(text: text, from: from, to: to, **opts)
    end
def translate(text:, from: nil, to:, **opts)
      provider.translate(text: text, from: from, to: to, **opts)
    end
Uses the active translation provider to translate a text or array of
 texts.
 @param [String, Array] text The text (or array of texts) to translate
 @param [Symbol, String] from The language to translate from. If not given,
   auto-detection will be attempted.
 @param [Symbol, String] to The language to translate to.
 @param [Hash] opts Additional, provider-specific optional parameters.