Skip to content

Instantly share code, notes, and snippets.

@MattKetmo
Last active November 25, 2015 13:19
Show Gist options
  • Save MattKetmo/c66a54bbe2ed7b881b12 to your computer and use it in GitHub Desktop.
Save MattKetmo/c66a54bbe2ed7b881b12 to your computer and use it in GitHub Desktop.
Openl10n push/pull options
files:
-
pattern: path/to/messages.<locale>.yml
options:
# Options when pushing (importing) translation files:
# - reviewed = Mark directly all translations as approved
# - erase = Replace existing translations by the ones in the files
# - clean = Delete translations which are not present in the files anymore
push: [reviewed, erase, clean]
# Options when pulling (exporting) translation files:
# - fallback_locale = If translation does not exist in a locale (eg. French), dump the default (eg. English) translation
# - fallback_key = If the default translation (eg. English) does not exist, use the key as a valid translation
# - reviewed = Dump only reviewed translations (and ignore the rest)
pull: [fallback_locale, fallback_key, reviewed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment