Atribute Translator - Translation of attribute values for ocStore 3.0.3.7

Atribute Translator - Translation of attribute values for ocStore 3.0.3.7
Atribute Translator - Translation of attribute values for ocStore 3.0.3.7
Atribute Translator - Translation of attribute values for ocStore 3.0.3.7
Atribute Translator - Translation of attribute values for ocStore 3.0.3.7
Model: Atribute_Translator
Brand: Handmade
Payment
To a bank account
To a bank account
By card
By card
Delivery
Delivery ROZETKA
To the department
49 ₴
Delivery by Nova Poshta
To the branch, parcel terminal, address delivery
from 100 ₴
Delivery by Ukrposhta
To the department
from 70 ₴
Meest Delivery
To the department
from 80 ₴
In stock 10
1500 грн.

Description Atribute Translator - Translation of attribute values for ocStore 3.0.3.7

Attribute Translator — Intelligent Product Attribute Translation for ocStore 3.0.3.7

Attribute Translator is a professional PHP script for automatically translating product attribute values (sizes, colors, characteristics, etc.) from Russian into Ukrainian and English. The solution was created specifically for owners of online stores based on the ocStore 3.x engine who need to quickly and efficiently localize product cards without manual copying and hiring translators.

The script uses the Windows Azure Translator API (high-quality neural network translation), works through a web interface, supports batch mode, can resume interrupted sessions, and sends reports to Telegram. 

Description:

  • Attribute Translator is a standalone PHP/MySQL web application that:
  • Connects to the ocStore attribute table (oc_product_attribute);
  • Selects all Russian-language attribute values (ignoring empty and technical entries);
  • Translates them through Microsoft Azure Translator into Ukrainian and/or English;
  • Saves translations to the same table (by adding or updating records);
  • Keeps a detailed log of translated records and statistics;
  • Provides a user-friendly web interface in Russian or Ukrainian.
  • The script is written without frameworks, runs on a standard LAMP stack and does not require modification of the ocStore core.

Features:

  1. Automatic translation of RU → UA, RU → EN attributes via Microsoft Azure Translator (high quality, support for technical terms).
  2. Web interface with authorization, statistics, filtering and pagination.
  3. Manual editing of translated attributes directly from the browser.
  4. Bulk save/delete selected records.
  5. Filtering by product ID, attribute ID, language, text, as well as by the "Waiting for translation" status. Selection of records translated on a specific day.
  6. Search for existing translations in the database and add them to the log so as not to waste API requests again.
  7. CLI script (cron_translate.php) for running on cron — translation in the background.
  8. Telegram notifications about the end of the translation session (number of translated attributes, execution time, progress).
  9. Limit API requests (protection against quota excess).
  10. Logging of all actions with log rotation (by day and file size).
  11. Support for two interface languages – Ukrainian and Russian (it is easy to add others).
  12. Security: sessions, HTTP-only cookies, authorization, SQL injection protection through prepared requests.


Who is useful:

AudienceBenefits
Owners of online stores on ocStore / OpenCartQuick catalog localization without hiring translators.
SEO specialistsImproving ranking in Ukrainian and English-language search results due to unique localized attribute texts.
Web-developers / integratorsA ready-made, cleanly written solution without frameworks, easily modified for any task.
Marketplaces / multi-vendorsTranslation of attributes of thousands of products from different sellers into a single format.
Large catalogs (10k+ products)CLI mode and query limitation allow you to translate data sets without server crashes.

Technical requirements for hosting / server:
PHP - 7.3+
PHP extensions - mysqli, curl, json, session
MySQL / MariaDB  - 5.7+
Web server - Apache / Nginx + mod_php / PHP-FPM
Database access - Read/write to table oc_product_attribute
CPU resources + RAM - 1 vCPU, 1 GB RAM (for 10-30 thousand attributes)
Disk space - 200-500 MB (logs + JSON files)
Cron (optional) - Access to PHP
CLIExternal APIs - Microsoft Azure Translator API (key + region)Telegram (optional)
- bot token + chat ID
Write permissions - In the folder with the write script (logs, JSON)
HTTPS support - Not required, but recommended for authorization

securityYou get:

  • Full source code (PHP, HTML/CSS, SQL schema not required - work with the existing ocStore table).
  • Free consultation on the first launch.
  • The ability to modify for specific wishes (adding other languages, integration with Google Translate API, export, etc.).

Diagnostics and maintenance (setup_sqlite.php)

  • Installing the SQLite database: - Creating tables for translation logs, statistics and marked dates
  • Full diagnostics: - Checking: SQLite size, number of entries, PHP settings, extensions, connection to MySQL, Cron status, access rights, database integrity, Telegram bot
  • Cleaning up deleted items: - Finding and deleting translation records for items that have been removed from the store (frees up space)
  • VACUUM optimization: - Compressing the SQLite file after deleting the entries

Installation

Step 1. Upload files

Copy all script files to a separate folder on the server (e.g., /public_html/attribute/)

Step 2. Configure config.php

Edit the file config.php:

MySQL connection data (ocStore database)

define('DB_HOST', 'localhost');

define('DB_USER', 'your_user');

define('DB_PASS', 'your_password');

define('DB_NAME', 'base_name');

define('DB_PREFIX', 'oc_');


Login details for the script admin panel

define('ADMIN_USER', 'admin');

define('ADMIN_PASS', 'your_password');


Azure Translator API key

define('AZURE_KEY', 'your_key');

define('AZURE_REGION', 'westeurope');


Telegram bot (optional)

define('TELEGRAM_BOT_TOKEN', 'token_bot');

define('TELEGRAM_CHAT_ID', 'your_chat_id');


Step 3. Installing the SQLite database

Open in your browser: http:// your_site/attribute/setup_sqlite.php

Click "Install / Reinstall" - the translation_data.sqlite database will be created automatically.


Step 4. Check

Go to: http:// your_site/attribute/index.php — log in with your login/password from config.php.


Step 5. Setting up Cron (for automatic translation)

# Converting values into Ukrainian (every 15 minutes)

*/15 * * * * php /path/to/folder/cron_translate.php uk values

# Translating values into English

*/15 * * * * php /path/to/folder/cron_translate.php en values

# Translating attribute names into Ukrainian

*/15 * * * * php /path/to/folder/cron_translate.php uk attributes

# Translating attribute names into English

*/15 * * * php /path/to/folder/cron_translate.php en attributes


Recommended PHP settings

max_execution_time - 3600 (for web) / 900 (for cron)

memory_limit - 512M


Licensing The

script is protected by a license key. The license.key file must contain a SHA256 hash from the domain.


Update: 

Statistics
Function
Description Two translation typesAttribute names + attribute values
Separate statisticsSeparate blocks for attributes and values
Filter by data typeChoose between values and attributes
Filter by translation dateSearch for records translated to a specific date
Checked Date MarkingQuality Control with Visual
Indication Icon HintsIntuitive Interface
Separatetranslated_log_values.json and translated_log_attributes.json
Logs Separatetranslation_stats_values.json and translation_stats_attributes.json

*The script is designed for ocStore 3.0.3.7, but can work with other versions of OpenCart/ocStore if the structure of the tables is the same.*

Reviews about Atribute Translator - Translation of attribute values for ocStore 3.0.3.7

0
0
Login
0
0%
0
0%
0
0%
0
0%
0
0%
There are no reviews for this product.

Questions and Answers (FAQ) Atribute Translator - Translation of attribute values for ocStore 3.0.3.7

There are no questions about this product..
Bestsellers
TOP SALES
Water dispenser plastic. 10 liters
In stock
Model: 3220D
In the absence of a central water supply for summer cottages, the issue of hygiene requires specific..
195 грн.
TOP SALES
Dry food for adult dogs Baskerville SENSITIVE. (20 kg)
In stock
Model: 1000033S
Dogs with sensitive digestion require a special diet. Taking into account their characteristics, Bas..
2930 грн.
TOP SALES
Wet food for dogs Вaskerville. Holistic with salmon and beef with parsnips, spinach and herbs, 800 g (pack of 6)
In stock
Model: 51735019
Canned holistic dog foodBaskerville Holistic Canned Food is a complete wet food for dogs with normal..
1220 грн.
TOP SALES
Wet dog food Вaskerville with venison, blueberries and spirulina, 800 g (pack of 6)
In stock
Model: 51735016
Super premium food for dogs with sensitive digestion and older dogs.Baskerville canned food is a com..
1220 грн.
TOP SALES
Dry food for adult dogs Baskerville. HF Adult. (20 kg)
In stock
Model: 1000033
Baskerville premium dry dog ​​food contains all the necessary nutrients, vitamins and microelements ..
2720 грн.
Product reviews
More..
Рекомендую Игровой набор 4SF Manga Dolls серии Hello Kitty – Стильная Конфетка-единорог, если сомневаетесь.
Ирина Зайцева 2 August 2026
Користуюсь Масажний килимок MS 2886 із пластиковими камінцями вже кілька днів — все добре.
Оксана Морозова 26 July 2026
Отличный Картина по номерам "Яркий ара" 11721-AC 40х80 см, пользуюсь с удовольствием.
Николай Ткаченко 19 July 2026
Recently viewed
DIY "Moon" Gypsum Candle Holder Making Kit for Beginners GP-001
In stock
Model: GP-001
Creative kit for making a "Moon" gypsum candle holder Product Description: Create a stylish moon-sha..
609 грн.
GP-005 Gypsum Original Jewelry Box Making Kit
In stock
Model: GP-005
A creative kit for making an original gypsum jewelry box with your own hands for beginners Product D..
605 грн.
New
Soft toy pendant Koala Lamaze L27529 with a teether
Model: L27529
The Lamaze Koala Clip-on Toy with Teether is designed for babies from birth. Squeeze this cute koala..
470 грн.
New
Cool Things Surprise Toy Display in a Ball - Japanese Party (18 pcs.)
In stock
Model: HK048-CDU
Discover the world of Asian cuisine with the surprise toys in the COOL THINGS "Hello Kitty" series—J..
2070 грн.
Ask AI about a product
ChatGPT
icon_viber icon_teleg icon_whatsapp icon_email icon_callback