push
Push local translation changes to Loco. Depending on your push options, this will add new translations, modify existing ones, or delete translations from Loco that aren’t in your local files.
loco-cli pushOptions
-y, --yes
Automatically answer yes to all confirmation prompts.
loco-cli push -y--experimental-push-all
Upload all locales in a single API request instead of one request per locale. This can significantly improve performance for projects with many locales by reducing API calls from N (one per locale) to 1.
loco-cli push --experimental-push-allCan also be set via push.experimentalPushAll in config.
Push Options
Configure push behavior in loco.config.js under the push key. See Configuration for details.
Example: Tag new assets
module.exports = { accessKey: '<key>', localesDir: 'src/locales', push: { 'flag-new': 'provisional', 'tag-new': 'v1.2.0' }};