Login Account

IntelliJ IDEA / JetBrains IDEs

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 and ARB files directly within your IDE, making it easy to keep your translations up-to-date as you develop.

Free for up to 100 texts, with no registration required!

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:

  1. Open your JetBrains IDE
  2. Go to File | Settings | Plugins (or IntelliJ IDEA | Preferences | Plugins on macOS)
  3. Click on Marketplace and search for “Auto Localizer”
  4. Click Install and restart your IDE when prompted

Using the Plugin

The Auto Localizer plugin works with XLIFF files (.xlf, .xliff) and Flutter ARB files (.arb) and provides an easy way to translate them with a single click.

Supported File Types

  • XLIFF: Works with XLIFF 1.2 and XLIFF 2.0 files directly.
  • ARB: Works with Flutter localization files where the source/base language is stored in a separate ARB file.

Basic Usage

  1. Right-click on an XLIFF or ARB file in the Project View or Editor Tab
  2. Select Translate with Auto Localizer from the context menu
  3. The plugin will automatically translate the file using the doloc service

For ARB files, you can either select a target file to translate it or select the source/base file to translate all associated target files at once.

Key Features

  • Support for XLIFF 1.2, XLIFF 2.0 and ARB formats
  • Automatic source/base file detection for Flutter ARB localization - can be overridden in the plugin settings
  • Configurable translation states (e.g., initial, new, empty, missing, etc.)
  • Notifications for untranslated texts when saving XLIFF or ARB 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.

For larger projects:

  1. Create an account on doloc.io
  2. Generate an API key in your account dashboard and sign up for one of our paid plans
  3. 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 or Flutter ARB translation files
  • Projects that need to keep 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.)
  • ARB Base/Target Associations: Override automatically detected source/base and target file mappings
  • Notification Settings: Configure notifications for untranslated segments

For more information about doloc’s options when translating XLIFF and ARB files, see the format documentation for XLIFF 1.2, XLIFF 2.0, and ARB.

Limitations

The Auto Localizer plugin currently supports XLIFF and ARB files. For other formats, consider integrating doloc directly via the API - see Integration Guides.