Conversation
* Implement baseline 'scan' command * Add types output * Add readme docs for new 'scan' command
* Get rid of remaining LLM integration and replace i18n detection with a heuristic approach. Also wires up the public API integration.
jholiga
approved these changes
Jun 16, 2026
jholiga
left a comment
Contributor
There was a problem hiding this comment.
Just a few small comments. Everything else looks good! Approving
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR introduces the
scancommand into the Ditto CLI. The scan command takes a single input, a path, and scans all files at that path to identify all user-facing text. The user-facing text candidates are then fed into Ditto where they can be turned into Ditto components from within the Ditto web application.Context
This is a base branch, so there have already been a number of PRs/reviews to get to this point. Here are the existing PRs that have been reviewed:
Only the latest commit for some final cleanup is new and would be good to get reviewed more thoroughly.
Test Plan
Testing successfully completed in via:
pullscanon a repository with user facing text (matrix-poll is a good example with both variants and plurals). You should be able to follow the link to complete the flow in the web app.