iPoLlama — AI Translation Editor

توضیحات

iPoLlama gives you full control over WordPress translations without leaving your admin panel. Browse, edit, add, and delete translation strings for any installed plugin, theme, or WordPress core. Optionally connect to a locally running Ollama instance for AI-powered automatic translation.

Key features:

  • Browse and edit translations for any installed plugin or theme
  • Manage WordPress core translations
  • Add, edit, and delete individual translation entries (.po/.mo files)
  • Safe Mode (recommended): Store translations in the WordPress languages directory (wp-content/languages/), keeping original plugin and theme files completely untouched — translations survive plugin and theme updates
  • Direct Mode: Edit translation files inside the plugin or theme directory
  • Ollama AI Integration: Connect to a locally running Ollama instance to auto-translate strings (optional, disabled by default — all communication stays on your local machine)
  • Bulk auto-translation: Translate all untranslated strings for any plugin or theme in one operation, with live progress bar
  • Supports English (en_US), Romanian (ro_RO), and Russian (ru_RU) locales
  • Clean, WordPress-native admin interface
  • Works with standard .po and .mo gettext files

Translation modes explained:

Safe Mode stores your translations inside wp-content/languages/plugins/ and wp-content/languages/themes/. WordPress loads from this location first, so your translations take effect immediately and are never overwritten by plugin or theme updates.

Direct Mode saves translation files inside the plugin or theme’s own languages/ folder. This is useful when you control the plugin and want to ship translations with it, but translations may be overwritten on updates from the plugin author.

Ollama AI Translation (optional):

If you have Ollama installed and running locally, iPoLlama can connect to it for automatic AI-powered translation using local LLM models (such as Llama 3, Mistral, etc.). This feature is completely optional and disabled by default. When enabled, the plugin sends translation requests only to the Ollama URL you configure (default: http://localhost:11434). No data is sent to any external server or third-party AI service.

External Services

This plugin can optionally connect to a locally running Ollama instance for AI-powered translation. This connection is:

  • Disabled by default — must be manually enabled in Settings.
  • User-configured — you set the URL (default: http://localhost:11434).
  • Local only — Ollama runs on your own machine or server; no data is sent to any external server or third party.

Ollama website | Ollama privacy

No other external services are contacted by this plugin.

نصب

  1. Upload the ipollama folder to the /wp-content/plugins/ directory, or install directly through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Navigate to iPoLlama in the left admin menu.
  4. Select a plugin or theme, choose a language, and start editing translations.

Optional: Enable Ollama AI translation

  1. Install and start Ollama on your local machine or server.
  2. Pull at least one language model (e.g. ollama pull llama3).
  3. In WordPress, go to iPoLlama → Settings.
  4. Enable Ollama, enter the server URL, click Test connection, then select a model.

سوالات متداول

Will my translations survive plugin and theme updates?

Yes — if you use Safe Mode (the default). Translations are stored in wp-content/languages/plugins/ or wp-content/languages/themes/, which WordPress always checks first and which are never touched by plugin or theme updates.

What is a .po file and a .mo file?

.po files are human-readable text files containing translation strings. .mo files are binary compilations of .po files that WordPress reads at runtime. iPoLlama handles both automatically — when you save a translation, both files are updated.

What is a .pot file?

A .pot file (Portable Object Template) is a template file containing all translatable strings from a plugin or theme, with empty translations. iPoLlama reads .pot files to show you all available strings to translate. If a plugin or theme does not include a .pot file, only strings that already have a translation entry will be shown.

What is Ollama?

Ollama is a free, open-source tool for running large language models (LLMs) locally on your own computer or server. iPoLlama can use it to automatically suggest translations using models like Llama 3, Mistral, and others. Ollama must be installed and running separately — iPoLlama only connects to the URL you configure.

Does iPoLlama send my content to external services?

Only if you enable Ollama. When Ollama is enabled, translation strings are sent to the Ollama URL you configure — by default http://localhost:11434, which is your local machine. No data is ever sent to Anthropic, OpenAI, or any other third-party AI service.

Which languages are supported for the plugin interface?

The plugin interface is available in English and Romanian. Russian locale support is provided for managing translations of your other plugins and themes.

Can I use this plugin to translate iPoLlama itself?

Yes. Like any other plugin, you can select iPoLlama as the translation source and translate its own strings.

Do I need Ollama to use iPoLlama?

No. Ollama is entirely optional. The plugin is fully functional for browsing, editing, adding, and deleting translations without it.

نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“iPoLlama — AI Translation Editor” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “iPoLlama — AI Translation Editor” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

1.3.1

  • Fixed hardcoded ABSPATH . 'wp-includes/languages' path — now uses ABSPATH . WPINC . '/languages' for better WordPress compatibility.
  • Replaced generic admin menu slug potranslate with plugin-specific ipollama slug.
  • Renamed JavaScript localization object from PoTrans to IPoLlama (also fixes a functional bug where the JS file was not receiving localized data).
  • Renamed all legacy CSS classes, HTML IDs, GET/POST parameters, and PHP local variables from zt-* / zt_* prefixes (remnants of previous plugin names) to ipollama-* / ipollama_* for full naming consistency.
  • Added wp_unslash() to $_GET['paged'] sanitization.
  • Fixed undefined constant ZEBRATRANSLATE_VERSION reference in dashboard view — now correctly uses IPOLLAMA_VERSION.

1.3.0

  • Renamed plugin to iPoLlama — AI Translation Editor to comply with WordPress.org naming guidelines (distinctive slug: ipollama).
  • Updated all internal prefixes from potrans_ to ipollama_ (functions, options, AJAX actions, script handles).
  • Updated all class names from PoTrans_* to IPoLlama_*.
  • Updated main plugin file from po-translate.php to ipollama.php.
  • Updated text domain from po-translate to ipollama.
  • Updated database option keys from potrans_settings/potrans_version to ipollama_settings/ipollama_version.
  • Updated admin menu slugs from potranslate* to ipollama*.

1.2.0

  • Renamed plugin from ZebraTranslate to PoTranslate to comply with WordPress.org trademark guidelines.
  • Updated all internal prefixes from zt_ to potrans_ (functions, options, AJAX actions, script handles).
  • Updated all class names from ZebraTranslate_* to PoTrans_*.
  • Updated main plugin file from zebratranslate.php to po-translate.php.
  • Updated text domain from zebratranslate to po-translate.
  • Updated database option keys from zt_settings/zt_version to potrans_settings/potrans_version.
  • Updated admin menu slugs from zebratranslate* to potranslate*.

1.1.0

  • New: Bulk auto-translation — select any plugin or theme and automatically translate all untranslated strings in one operation.
  • New: Bulk auto-translate button added to the Dashboard next to each source with untranslated strings (visible when Ollama is enabled).
  • New: “Auto-translate all” button added to the Translations page toolbar.
  • New: Live progress bar with counter (12 / 47 strings translated) and current string display during bulk translation.
  • New: Error recovery during bulk translation — on failure, a “Continue” button skips the failed string and resumes, or “Stop” cancels the operation.
  • New: Cancel button available at any point during bulk translation.
  • New: “Bulk save mode” setting — choose between saving after each string (safer) or saving all at the end in a single batch (faster).
  • New: Language selector in the bulk translation modal for choosing the target locale per operation.
  • New: build.sh script for generating a versioned .zip archive ready for WordPress installation.
  • Fix: $_POST['strings'] unslash pattern corrected to satisfy WordPress coding standards (PHPCS).

1.0.0

  • Initial release.
  • Translation management for installed plugins, themes, and WordPress core.
  • Safe mode: stores translations in the WordPress languages directory.
  • Direct mode: stores translations inside plugin/theme directories.
  • Ollama AI auto-translation integration (optional, disabled by default).
  • Supports English, Romanian, and Russian locales.
  • Inline translation editor with search, pagination, and bulk save.