You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tree-filter needs a tree to operate on, e.g. you can pipe it to the output of data.
add-missing does not accept a tree. You can instead pipe with tree-mv SOURCE_LANGUAGE TARGET_LANGUAGE (e.g. tree-mv en fr) and then pipe with tree-set-value, and then data-merge.
For all of these except you need to specify the format (e.g. -f yaml), otherwise they will print in the terminal table format.
You can learn more about each command by running i18n-tasks COMMAND_NAME --help (e.g. i18n-tasks tree-set-value --help).
Hi, I've tried some variants of combining the commands but it seems that I can't get it right :-(
What I would like to do is to only add the missing translations in the specified tree filter, something like this:
i18n-tasks tree-filter 'articles.*' | i18n-tasks add-missing
Which would only add the missing keys in e.g. "articles" but not in "posts". Would it be possible to do?
Thanks for a great tool anyway!
The text was updated successfully, but these errors were encountered: