Sha256: 7b2d05c3c72792092986fe717619d01aa4067022ca5e127347f7867f11089ddc
Contents?: true
Size: 783 Bytes
Versions: 11
Compression:
Stored size: 783 Bytes
Contents
# frozen_string_literal: true require 'lokalise_rails' # These are mandatory options that you must set before running rake tasks: LokaliseRails.api_token = ENV['LOKALISE_API_TOKEN'] LokaliseRails.project_id = ENV['LOKALISE_PROJECT_ID'] # Import options have the following defaults: # LokaliseRails.import_opts = { # format: 'yaml', # placeholder_format: :icu, # yaml_include_root: true, # original_filenames: true, # directory_prefix: '', # indentation: '2sp' # } # Safe mode is disabled by default: # LokaliseRails.import_safe_mode = false # Provide a custom path to the directory with your translation files: # class LokaliseRails # class << self # def locales_path # "#{Rails.root}/config/locales" # end # end # end
Version data entries
11 entries across 6 versions & 1 rubygems