Command + K : Automating Locale File Creation for New Languages

I spend a lot of time adding new language locales to my project. I wonder if there’s a way, similar to how the command + K popup can create files or folders based on existing files or folders. For example, I will provide Cursor with several folders containing my English and Vietnamese JSON files, and I need it to create directories containing JSON files corresponding to translations in languages like Japanese, French, and Korean… ^^
Screenshot 2024-03-05 at 08.12.00

Interpreter Mode can create the folders and files for you. And then you can @ the existing files or @ the whole folder in Chat (but @Folders is only available in “Normal Chat” mode) and ask it to write out the JSON for the new files.

1 Like