If you manage WordPress sites at scale — agencies, developers, DevOps — you spend most of your time in a terminal, not in wp-admin. Lang Forge ships a full suite of WP-CLI commands so every action you can take in the admin UI has a scriptable equivalent.
wp langforge translate --all --lang=de is one commandwp langforge status
Prints overall translation status: languages configured, posts per language, translation progress percentage, outdated translations, and AI credit usage.
wp langforge status --lang=de --post-type=product
Filters the status output by language and post type.
wp langforge translate <post-id> --lang=de --ai
Translates a specific post into the target language. The --ai flag routes through the AI pipeline; without it, the post is duplicated as an untranslated draft.
wp langforge translate --all --lang=de --ai
Translates every published post into German using AI. Shows a cost estimate before running and asks for confirmation (bypass with --yes).
wp langforge export --lang=de --format=xliff --output=translations.xlf
Exports all content for a given target language as XLIFF 1.2.
wp langforge export --lang=de --format=csv --output=translations.csv
CSV format for simpler workflows.
wp langforge import translations.xlf
Imports translations from an XLIFF or CSV file. Auto-detects format from file extension.
wp langforge tm-populate
Scans all existing translated posts and populates the translation memory. Useful after migrating from another translation plugin or after importing a large batch of content.
wp langforge tm-search "Buy now" --source=en --target=de
Searches the translation memory for a string and prints matches with similarity scores.
wp langforge glossary-import glossary.csv
Imports glossary entries from CSV.
wp langforge glossary-export glossary.csv
Exports the current glossary to CSV.
wp langforge duplicate --lang=de --ai
Duplicates the entire site into a new language and optionally runs AI translation in the background. Equivalent to the one-click duplication feature in the admin, but fully scriptable.
Every command follows WP-CLI’s conventions:
--help on any command shows full usage and flag documentation--format=json|csv|yaml|table for machine-readable output--dry-run on every write command to preview without making changes0 for success, non-zero for failure)wp langforge status --fail-if-incomplete to block deploys if new strings are untranslatedtm-populate after importing content from another CMSGet Lang Forge — from $54/year →
WP-CLI commands are included in every paid plan and in the free version on WordPress.org.
We use analytics and marketing cookies (Google Analytics, Google Ads, Meta) to understand traffic and improve the site. Strictly-necessary cookies are always on. See our Privacy Policy.