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
| #!/usr/bin/env node | |
| /** | |
| * Translate missing translations in Lingui catalog files using Claude AI | |
| * | |
| * This script: | |
| * 1. Reads lingui.config.js to find all .po catalog files | |
| * 2. Parses each .po file to find missing translations | |
| * 3. Uses Claude API to translate missing entries | |
| * 4. Writes translations back to the .po files | |
| */ |