AI Translate 2.2.9

Does AI Translate work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
7Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 217.84 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50+
WordPress.org page https://wordpress.org/plugins/ai-translate/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=ai-translate%2Fai-translate.php&plugin_status=all&paged=1&s&_wpnonce=49e0b9e101
Aspect after-activation
HTTP status 200
Load time 0.477 s
Memory usage 3.97 MiB
JS errors None
Resource errors None

AI Translate

Page screenshot: AI Translate
URL /wp-admin/admin.php?page=ai-translate
Aspect menu-item
HTTP status 200
Load time 0.573 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

AI Translate → Cache

Page screenshot: AI Translate → Cache
URL /wp-admin/admin.php?page=ai-translate&tab=cache
Aspect menu-item-tab
HTTP status 200
Load time 0.396 s
Memory usage 3.91 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.217 s
Memory usage 4.25 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.447 s0.469 s+0.022 s3.78 MiB3.97 MiB+ 200.55 KiB
/wp-admin/edit.php0.350 s0.338 s-0.012 s3.78 MiB4.03 MiB+ 252.84 KiB
/wp-admin/post-new.php0.844 s0.838 s-0.006 s6.31 MiB6.6 MiB+ 300.75 KiB
/wp-admin/upload.php0.637 s0.395 s-0.242 s3.74 MiB3.93 MiB+ 194.77 KiB
/wp-admin/options-writing.php0.325 s0.297 s-0.028 s3.71 MiB3.9 MiB+ 198.13 KiB
/wp-admin/media-new.php0.522 s0.451 s-0.071 s3.7 MiB3.9 MiB+ 206.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.304 s0.310 s+0.006 s3.72 MiB3.92 MiB+ 211.5 KiB
/wp-admin/post-new.php?post_type=page0.730 s0.661 s-0.069 s6.3 MiB6.58 MiB+ 294.23 KiB
/wp-admin/options-discussion.php0.326 s0.333 s+0.007 s3.71 MiB3.9 MiB+ 194.63 KiB
/wp-admin/edit-comments.php0.304 s0.306 s+0.002 s3.73 MiB3.92 MiB+ 194.13 KiB
/0.398 s0.205 s-0.193 s4.11 MiB4.25 MiB+ 148.34 KiB
Average 0.472 s0.418 s-0.053 s4.23 MiB4.45 MiB+ 217.84 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
Language % Lines of code Comment lines Files
PHP48.4%11,5443,24913
PO File39.6%9,4522,84321
JavaScript7.6%1,8172794
CSS3.2%761403
Markdown1.1%27002
Total 23,844 6,411 43

PHP Code Analysis | More results »

Lines of code 11,740
Total complexity 2,582
Median class complexity 165.0
Median method complexity 5.0
Most complex class AITranslate\AI_OB
Most complex function AITranslate\AI_Batch::translate_plan()
Classes 14
Methods 204
Functions 24

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 2

Options wp_options 7

PHP Error Log 7 lines

[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'post_lang' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD UNIQUE KEY post_lang (post_id, language_code) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'post_id' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY post_id (post_id) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'language_code' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY language_code (language_code) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'created_at' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY created_at (created_at) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'language_created' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY language_created (language_code, created_at) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'post_id_created' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY post_id_created (post_id, created_at) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
[24-Mar-2026 20:27:05 UTC] WordPress database error Duplicate key name 'cache_hash' for query ALTER TABLE `wp_ai_translate_cache_meta` ADD KEY cache_hash (cache_hash) made by activate_plugin, do_action('activate_ai-translate/ai-translate.php'), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, AITranslate\AI_Cache_Meta::create_table, AITranslate\AI_Cache_Meta::ensure_indexes
See also: All tests for this plugin, How to Hide the "AI Translate" Admin Menu