Until today, the English / Japanese translations of a product's tagline and description could only be written on the web edit page. From today, the public API and the CLI (0.4.0) accept them too.
What's new
npx indieseed publishandupdatetake--tagline-en--description-en--description-file-enand--tagline-ja--description-ja--description-file-ja- Only the language and fields you pass are changed. Resending just the English tagline keeps your English description and your Japanese translation. Send an empty value to clear one field
- On the public API, pass
tagline_enand friends toPATCH /api/v1/products/{slug}. The agent guide (/api/v1/agent) and the OpenAPI document are updated
Example
npx -y indieseed@0.4.0 update your-slug --tagline-en "Where indie apps get found." --description-file-en ./intro-en.md
Visitors see the translation that matches their language, with "View original" to switch back.
One more thing
IndieSeed's own page was updated with this very tool. If you let your terminal or your AI agent handle listing, it can now handle translations too.