Skip to content

Instantly share code, notes, and snippets.

@camillevilla
Last active April 28, 2020 00:07
Show Gist options
  • Save camillevilla/7ab55fbe872475489cfba81a035ce48b to your computer and use it in GitHub Desktop.
Save camillevilla/7ab55fbe872475489cfba81a035ce48b to your computer and use it in GitHub Desktop.
Transifex-GitHub integration config for Rails i18n YAML files
# example from projectblacklight/spotlight
filters:
- filter_type: file
file_format: YML
source_language: en
source_file: config/locales/en.yml
translation_files_expression: config/locales/<lang>.yml
- filter_type: file
file_format: YML
source_language: en
source_file: config/locales/devise_invitable.en.yml
translation_files_expression: config/locales/devise_invitable.<lang>.yml
- filter_type: file
file_format: YML
source_language: en
source_file: config/locales/devise.en.yml
translation_files_expression: config/locales/devise.<lang>.yml
- filter_type: file
file_format: YML
source_language: en
source_file: config/locales/blacklight.en.yml
translation_files_expression: config/locales/blacklight.<lang>.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment