Skip to content

Instantly share code, notes, and snippets.

@camillevilla
Last active May 11, 2020 21:43
Show Gist options
  • Save camillevilla/7a156920bad75a6d7a31dba9b731bcf7 to your computer and use it in GitHub Desktop.
Save camillevilla/7a156920bad75a6d7a31dba9b731bcf7 to your computer and use it in GitHub Desktop.
Mirador Transifex-GitHub integration config - languages with country codes
filters:
- filter_type: file
file_format: KEYVALUEJSON
source_language: en
source_file: src/locales/en/translation.json
translation_files_expression: src/locales/<lang>/translation.json
settings:
# these mappings are necessary because Mirador translation files use camel case instead of snake case for languages with country codes
language_mapping:
pt_BR: ptBr
zh_TW: zhTw
zh_CN: zhCn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment