Last active
April 12, 2016 20:16
-
-
Save ProGM/c5261d85f6cc6dad07bf to your computer and use it in GitHub Desktop.
A set of i18n-tasks snippets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rename games.filters.* to games_sections.* | |
i18n-tasks data -f yaml | i18n-tasks tree-filter games.filters.* | i18n-tasks tree-rename-key *.games games_sections | i18n-tasks data-merge | |
# Remove games.filters.* | |
i18n-tasks data -f yaml | i18n-tasks tree-filter games.filters.* | i18n-tasks data-remove | |
# Adds a new tree | |
echo 'en.my.new.tree' | i18n-tasks tree-convert -f keys -t yaml | i18n-tasks tree-set-value Hello | i18n-tasks data-merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment