We're happy to introduce the Developer CLI v2.0, which is a major update to our developer handoff solution.
Until now, push only created new keys, so code edits had to be copied into Frontitude by hand. Teams with monorepos or a non-default i18n library also had to script around the CLI. Version 2.0 fixes all three.
✨ What's new
- Update existing keys on push:
frontitude push --updatesends content and key edits to Frontitude, so devs can finally push updates to Frontitude from code! - Monorepo support with config files per package, page, or component: Use separate configs per package, page, or component in the same repo. Add
{prefix}tofilePathto route keys to matching files, such asCheckout.heading→Checkout.json. - Your variable and plural format: The CLI now supports any variable format your client side library needs. Use
variableFormatandpluralFormatto let the CLI know your custom format. Both pull and push use them.
⚠️ What's different in v2.0
- Lock files: Pull and push commands keep a lock file next to each strings file to spot content and key changes correctly and handle conflicts robustly.
- Apple translation files: When the source isn't in a
.lprojfolder, translations now go to<locale>.lproj/next to it, not to the disk root. - Apple placeholders are kept: Pull keeps your
%d,%ldand%1$@and no longer writes%@for every variable. - Safer pull: A broken strings file, or an Android XML element the CLI can't manage, stops the pull before anything is written.
- Shorter errors: Errors are now in the format of
CODE: message.
🐞 Bug fixes
- Android XML: Pull no longer escapes the same strings again on every run.
- Plural export: The plain form of a plural is no longer exported as
key_, which used to create an extra component on push. - Reordered variables: Numbered placeholders in translations now follow the source order on Apple and Android.
🎥 New demo video
We decided to celebrate the new major version with a demo video that walks you through the main flows you can build with the new CLI.
Update to CLI v2.0 with npm install -g @frontitude/cli or share the Developer Docs with your developers.














