Using a JetBrains IDE like IntelliJ IDEA, WebStorm, Android Studio or PyCharm?
Follow these steps to integrate doloc into your workflow using the Auto Localizer plugin.
This plugin allows you to automatically translate XLIFF files directly within your IDE, making it easy to keep your translations up-to-date as you develop.
With doloc, already translated texts are used as an implicit glossary, so new translations will match your business terminology and style!
Installing the Auto Localizer Plugin
The Auto Localizer plugin provides seamless integration with doloc’s translation services directly within your IDE.
Download plugin
To manually install the plugin:
Open your JetBrains IDE
Go to File | Settings | Plugins (or IntelliJ IDEA | Preferences | Plugins on macOS)
Click on Marketplace and search for “Auto Localizer”
Click Install and restart your IDE when prompted
Using the Plugin
The Auto Localizer plugin works with XLIFF files (.xlf, .xliff) and provides an easy way to translate them with a single click.
Basic Usage
Right-click on an XLIFF file in the Project View or Editor
Select Translate with Auto Localizer from the context menu
The plugin will automatically translate the segments in the file using the doloc service
Key Features
Support for XLIFF 1.2 and XLIFF 2.0 formats
Configurable translation states (e.g., initial, new, etc.)
Notification for untranslated segments when saving XLIFF files
Free usage for up to 100 texts without registration
API Token
For basic usage with up to 100 texts, no API token or registration is required.
Generate an API key in your account dashboard and sign up for one of our paid plans
Enter this API key in the plugin settings
When to Use the Plugin
The Auto Localizer plugin is ideal for:
Developers who want to quickly translate new strings while working on code
Teams that work with XLIFF translation files
Projects that need to maintain translations in sync with development
For a detailed discussion on when to run translation tools, see When to Run doloc?.
Configuration Options
The plugin provides several configuration options accessible through File | Settings | Tools | Auto Localizer:
API Key: Your doloc API token for authentication
Translation States: Select which states to translate (initial, new, needs-translation, etc.)
Notification Settings: Configure notifications for untranslated segments
For more information about doloc’s options when translating XLIFF files, see XLIFF 1.2 and XLIFF 2.0 format documentation.
Limitations
The Auto Localizer plugin currently only supports the XLIFF file format.
For other formats, consider integrating doloc directly via the API - see Integration Guides.