Apps & Locales
Manage apps and i18n locales within a project from the command line.
Managing apps
Create, list, and remove apps within a project. These commands run from the project root.
# Create an app
pnpm app create my-app --type fe+be # fe | be | fe+be | e2e
# List apps
pnpm app list
# Remove an app and its files
pnpm app remove my-app
You can also create an e2e suite that targets an existing app:
pnpm app create my-app-e2e --type e2e --targets my-app
App creation runs the generator automatically. The same operations are available in Studio's app manager.
Managing locales
List the languages available in the kit, or add a language to an app:
# List kit languages
sk-cli locale list
# Add a language to an app
sk-cli locale add --app my-app --code fr
From within a project you can also scaffold a locale directly:
pnpm sk:scaffold locale fr
After adding a locale
- Translate
locales/<app>/<code>/common.json. - Run
pnpm sk:generateto regenerate routing and language config. - Run the app and switch languages to verify.
See Internationalization for the full locale model and the in-Studio translation editor.
Next steps
Was this page helpful?