Problem
If you want to iterate to improve the prompt and retranslate specific keys in the en.ts file, then currently the only way to do that would be to modify the English string or associated context. This isn't sufficient if the prompt is the thing being changed between iterations.
Solution
Add a --paths input for generateTranslations that takes a comma-separated list of "dot notation" paths to retranslate. If this is provided, it supercedes --compare-ref.
Problem
If you want to iterate to improve the prompt and retranslate specific keys in the
en.tsfile, then currently the only way to do that would be to modify the English string or associated context. This isn't sufficient if the prompt is the thing being changed between iterations.Solution
Add a
--pathsinput forgenerateTranslationsthat takes a comma-separated list of "dot notation" paths to retranslate. If this is provided, it supercedes--compare-ref.