Sha256: 7e3768497a3e03a7421fcfffe311a292d19431a340b722605af3487d3037be79
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 Bytes
Contents
require_relative 'translate_self/version' require_relative 'translate_self/translation' require_relative 'translate_self/translatable_string' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translate_self-0.5.0 | lib/translate_self.rb |