AI Translate 2.3.6

Does AI Translate work with WordPress 7.0 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: 211.77 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 version7.0
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=ddd1793c94
Aspect after-activation
HTTP status 200
Load time 0.685 s
Memory usage 4.15 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.771 s
Memory usage 4.05 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.772 s
Memory usage 4.1 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.282 s
Memory usage 4.38 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.672 s0.618 s-0.054 s3.92 MiB4.19 MiB+ 274.59 KiB
/wp-admin/edit.php0.571 s0.491 s-0.080 s3.98 MiB4.19 MiB+ 211.34 KiB
/wp-admin/post-new.php2.036 s1.808 s-0.228 s6.56 MiB6.77 MiB+ 219.08 KiB
/wp-admin/upload.php0.692 s0.665 s-0.027 s3.89 MiB4.08 MiB+ 192.32 KiB
/wp-admin/options-writing.php0.515 s0.503 s-0.012 s3.86 MiB4.05 MiB+ 196.31 KiB
/wp-admin/media-new.php0.949 s0.947 s-0.002 s3.85 MiB4.05 MiB+ 204.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.515 s0.511 s-0.004 s3.86 MiB4.07 MiB+ 209.67 KiB
/wp-admin/post-new.php?post_type=page1.394 s1.523 s+0.129 s6.55 MiB6.76 MiB+ 214.92 KiB
/wp-admin/options-discussion.php0.652 s0.632 s-0.020 s3.86 MiB4.05 MiB+ 192.81 KiB
/wp-admin/edit-comments.php0.516 s0.521 s+0.005 s3.88 MiB4.14 MiB+ 257.12 KiB
/0.277 s0.205 s-0.072 s4.23 MiB4.38 MiB+ 156.77 KiB
Average 0.799 s0.766 s-0.033 s4.4 MiB4.61 MiB+ 211.77 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
PHP50.3%12,5263,75514
PO File37.9%9,4522,84321
JavaScript7.5%1,8792844
CSS3.1%761403
Markdown1.1%28502
XML0.1%1591
Total 24,918 6,931 45

PHP Code Analysis | More results »

Lines of code 12,771
Total complexity 2,882
Median class complexity 116.5
Median method complexity 5.0
Most complex class AITranslate\AI_OB
Most complex function AITranslate\AI_Batch::translate_plan()
Classes 16
Methods 225
Functions 31

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 3

Options wp_options 7

PHP Error Log 7 lines

[12-Jun-2026 10:59:46 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
[12-Jun-2026 10:59:46 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
[12-Jun-2026 10:59:46 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
[12-Jun-2026 10:59:46 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
[12-Jun-2026 10:59:46 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
[12-Jun-2026 10:59:46 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
[12-Jun-2026 10:59:46 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