Add a new locale and configure project context
The agent successfully adds a new locale to the project and sets the appropriate context, enabling the localization workflow for that language and ensuring AI translation quality through proper context configuration.
How it works
The agent first uses `add_locale` to register a new language/locale in the StringLane project. It then uses `set_project_context` to configure the context for better AI output, which may involve specifying product context or guarded words. The agent ensures the server is connected and scoped to the correct project before making these changes. It confirms the addition by checking the project status or listing keys again.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Add the 'fr-CA' locale to this project. Then, set the project context to 'E-commerce' to improve AI translation accuracy for product descriptions. Confirm the locale was added successfully.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
The tools appear as eleven, named inspect_project , read_translations , prepare_translation_plan , validate_translations , read_key_usage , describe_keys , apply_translations , add_locale , add_key , pluralize_key and set_project_context .Set Up StringLane in Any MCP Host