leancodepl / arb_translate

A command-line tool for automatically adding missing message translations to ARB files using Google Gemini LLM by LeanCode
https://leancode.co
Apache License 2.0
55 stars 5 forks source link

feat: retranslate keys updated in main locale #15

Open lukepighetti opened 5 months ago

lukepighetti commented 5 months ago
Screenshot 2024-06-20 at 7 53 24 AM

https://x.com/luke_pighetti/status/1803755924793811402

perhaps we could save the main locale arb from the last translation on disk, ideally colocated with the project (.dart_tool?), and then do a diff on values, and thus create a list of keys from the main locale that have changed

perhaps this could be configured with

arb-translate-changed-values: true # default false
arb_translate --changed-values=true # default false