Prerequisites
- IntelliJ IDEA or another JetBrains IDE
-
Translation Plugin installed — search for Translation in the JetBrains Marketplace

- A CometAPI account with an active API key
Setup
1
Get your CometAPI API key
2
Configure the translation engine
Click the Translation Plugin icon in the IDE toolbar → Settings → Translation. Select OpenAI Translation as the engine. In the settings panel on the right, enter 

https://api.cometapi.com in the API Endpoint field (the second field defaults to /v1/chat/completions). Paste your CometAPI key into API Key and click Confirm.

3
Test the integration
Click Test Service in the plugin settings. A successful verification confirms the setup is working.




