Roo-Code/.roo/rules-translate
KJ7LNW d1ab71c60e
Improve translation workflow to avoid unnecessary file reads (#5126)
* dotroo: improve translation workflow to reduce unnecessary file reads

Update translation workflow guidelines to use search_files instead of reading
each translation file individually. This approach is more efficient and
reduces context token usage while maintaining translation accuracy.

The improved workflow:
- Uses search_files to find JSON structure in translation files
- Creates proper context for apply_diff without reading every file
- Only reads specific files when their structure differs
- Validates changes with the missing translations script

Fixes: #5125
Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>

* Update 001-general-rules.md

---------

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2025-06-25 20:24:30 -04:00
..
001-general-rules.md Improve translation workflow to avoid unnecessary file reads (#5126) 2025-06-25 20:24:30 -04:00
instructions-de.md Add custom instructions for de (#2383) 2025-04-09 09:20:13 -04:00
instructions-zh-cn.md Add custom instructions for zh-CN (#2381) 2025-04-07 23:06:54 -04:00
instructions-zh-tw.md Add custom instructions for zh-TW (#2382) 2025-04-07 14:24:23 -04:00