Sha256: 836f9f41f33b3441f17acce4d7eb6c5f7d487e3ce17fffa1d5131c4a4c4f592a

Contents?: true

Size: 495 Bytes

Versions: 4

Compression:

Stored size: 495 Bytes

Contents

require_relative 'translate_self/version'
require_relative 'translate_self/translation'
require 'ext/string'
require 'deepl'

# Dangerously include translation methods to strings!
module TranslateSelf
  include Translation
  class Error < StandardError; end
  DeepL.configure do |config|
    config.host = 'https://api-free.deepl.com' # Default value is 'https://api.deepl.com'
  end
  AVAILABLE_LANGUAGES = %w[bg cs da de el en es et fi fr hu it ja lt lv nl pl pt ro ru sk sl sv zh].freeze
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
translate_self-0.4.0 lib/translate_self.rb
translate_self-0.3.0 lib/translate_self.rb
translate_self-0.2.0 lib/translate_self.rb
translate_self-0.1.0 lib/translate_self.rb