Sha256: f9ebb3b62b4c9313d96a9aa2fefab306368c21f61fc350229ba7a717b499249e

Contents?: true

Size: 1.5 KB

Versions: 12

Compression:

Stored size: 1.5 KB

Contents

# this is where your migration files will live. it will be relative to your config file
migration_dir: i18n/migrate

# this is where your locale files will live (en.yml, es.yml, etc). it will be relative to your config file
locales_dir: config/locales

# choose either google_spreadsheets or crowd_translate as a backend
backend: google_spreadsheets

# number of threads to concurrently perform migration operations for locales (optional)
# concurrency: 4

# number of threads to concurrently perform push operation for locales (optional)
# push_concurrency: 4

# seconds to wait time between push operations per thread, can be used to avoid API throttling (optional)
# wait_seconds: 0

# this is the locale you will be translating from
main_locale: en

# put all other locales you want to use here, if they don't already exist, add them with i18n-migrations new-locale es
other_locales:
  - es

# you need a service account key in order to access google spreadsheets. This is the path to it, relative to your config file
google_service_account_key_path: i18n/google_drive_key.json

# each locale will have a spreadsheet that translators will use to do their work, these are the links to them
google_spreadsheets:
  es: https://docs.google.com/spreadsheets/d/YOUR_SPREADSHEET_ID/edit

# this is your api key to use google translate
google_translate_api_key: [INSERT_GOOGLE_TRANSLATE_API_KEY]

# put things like your product name here along with any possible mistranslations
do_not_translate:
  "I18n Migrations":
    - I18n Migraciones

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
i18n-migrations-2.0.7 .i18n-migrations.default.yml
i18n-migrations-2.0.6 .i18n-migrations.default.yml
i18n-migrations-2.0.5 .i18n-migrations.default.yml
i18n-migrations-2.0.4 .i18n-migrations.default.yml
i18n-migrations-2.0.3 .i18n-migrations.default.yml
i18n-migrations-2.0.2 .i18n-migrations.default.yml
i18n-migrations-2.0.1 .i18n-migrations.default.yml
i18n-migrations-2.0.0 .i18n-migrations.default.yml
i18n-migrations-1.2.4 .i18n-migrations.default.yml
i18n-migrations-1.2.3 .i18n-migrations.default.yml
i18n-migrations-1.2.2 .i18n-migrations.default.yml
i18n-migrations-1.2.0 .i18n-migrations.default.yml