PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.3.2
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.3.2
3.5.9 3.5.8 3.5.7 3.5.6 3.5.5 3.5.4 3.5.3 3.5.2 3.5.1 3.5.0 3.4.9 3.4.8 3.4.7 0.2.1 1.6.91 0.2.2 1.6.92 0.2.3 1.6.93 0.2.4 1.6.94 0.2.5 1.6.95 0.2.6 1.6.96 0.2.7 1.6.97 0.2.8 1.6.98 0.2.9 1.6.99 0.3.0 1.7.0 0.3.1 1.7.1 0.3.2 1.7.2 0.3.3 1.7.3 0.3.4 1.7.4 0.3.5 1.7.5 0.3.6 1.7.6 0.4.0 1.7.7 0.4.1 1.7.8 0.4.2 1.7.9 0.4.3 1.8.0 0.4.4 1.8.1 0.4.5 1.8.2 0.4.6 1.8.3 0.4.7 1.8.4 0.4.8 1.8.5 0.4.9 1.8.6 0.5.0 1.8.7 0.5.1 1.8.8 0.5.2 1.8.9 0.5.3 1.9.0 0.5.4 1.9.1 0.5.5 1.9.2 0.5.6 1.9.3 0.5.7 1.9.4 0.5.8 1.9.5 0.5.9 1.9.6 0.6.0 1.9.7 0.6.1 1.9.8 0.6.2 1.9.81 0.6.3 1.9.82 0.6.4 1.9.83 0.6.5 1.9.84 0.6.6 1.9.85 0.6.7 1.9.86 0.6.8 1.9.87 0.6.9 1.9.88 0.7.0 1.9.89 0.7.1 1.9.90 0.7.2 1.9.91 0.7.3 1.9.92 0.7.4 1.9.93 0.7.5 1.9.94 0.7.6 1.9.95 0.7.7 1.9.96 0.7.8 1.9.97 0.7.9 1.9.98 0.8.0 1.9.99 0.8.1 2.0.0 0.8.2 2.0.1 0.8.3 2.0.2 0.8.4 2.0.3 0.8.5 2.0.4 0.8.6 2.0.5 0.8.7 2.0.6 0.8.8 2.0.7 0.8.9 2.0.8 0.9.0 2.0.9 0.9.2 2.1.0 0.9.3 2.1.1 0.9.4 2.1.2 0.9.5 2.1.3 0.9.6 2.1.4 0.9.7 2.1.5 0.9.8 2.1.6 0.9.81 2.1.7 0.9.82 2.1.8 0.9.83 2.1.9 0.9.84 2.2.0 0.9.85 2.2.1 0.9.86 2.2.2 0.9.87 2.2.3 0.9.88 2.2.4 0.9.89 2.2.5 0.9.9 2.2.51 0.9.91 2.2.52 0.9.92 2.2.53 0.9.93 2.2.54 0.9.94 2.2.56 0.9.95 2.2.57 0.9.96 2.2.6 0.9.97 2.2.60 0.9.98 2.2.61 0.9.99 2.2.62 1.0.0 2.2.63 1.0.01 2.2.70 1.0.1 2.2.80 1.0.2 2.2.81 1.0.3 2.2.90 1.0.4 2.2.91 1.0.5 2.2.92 1.0.6 2.2.93 1.0.7 2.2.94 1.0.8 2.2.95 1.0.9 2.3.0 1.1.0 2.3.1 1.1.1 2.3.2 1.1.2 2.3.3 1.1.3 2.3.4 1.1.4 2.3.5 1.1.5 2.3.6 1.1.6 2.3.7 1.1.7 2.3.8 1.1.8 2.3.9 1.1.9 2.4.0 1.2.0 2.4.1 1.2.1 2.4.2 1.2.2 2.4.3 1.2.21 2.4.4 1.2.3 2.4.5 1.2.30 2.4.6 1.3.0 2.4.7 1.3.1 2.4.8 1.3.2 2.4.9 1.3.3 2.5.0 1.3.31 2.5.1 1.3.32 2.5.2 1.3.33 2.5.3 1.3.34 2.5.4 1.3.35 2.5.5 1.3.36 2.5.6 1.3.37 2.5.7 1.3.38 2.5.8 1.3.39 2.5.9 1.3.40 2.6.0 1.3.41 2.6.1 1.3.42 2.6.2 1.3.43 2.6.3 1.3.44 2.6.5 1.3.45 2.6.6 1.3.46 2.6.7 1.3.47 2.6.8 1.3.48 2.6.9 1.3.49 2.7.0 1.3.50 2.7.1 1.3.51 2.7.2 1.3.52 2.7.3 1.3.53 2.7.4 1.3.54 2.7.5 1.3.56 2.7.6 1.3.57 2.7.7 1.3.58 2.7.8 1.3.59 2.7.9 1.3.60 2.8.0 1.3.61 2.8.1 1.3.62 2.8.2 1.3.63 2.8.3 1.3.64 2.8.4 1.3.65 2.8.5 1.3.66 2.8.6 1.3.67 2.8.7 1.3.68 2.8.8 1.3.69 2.8.9 1.3.70 2.9.0 1.3.71 2.9.1 1.3.72 2.9.2 1.3.73 2.9.3 1.3.74 2.9.4 1.3.75 2.9.5 1.3.76 2.9.6 1.3.77 2.9.7 1.3.78 2.9.8 1.3.79 2.9.9 1.3.80 3.0.0 1.3.81 3.0.1 1.3.82 3.0.2 1.3.83 3.0.3 1.3.84 3.0.4 1.3.85 3.0.5 1.3.86 3.0.6 1.3.87 3.0.7 1.3.88 3.0.8 1.3.89 3.0.9 1.3.90 3.1.0 1.3.91 3.1.1 1.3.92 3.1.2 1.3.93 3.1.3 1.3.94 3.1.4 1.3.95 3.1.5 1.3.96 3.1.6 1.3.97 3.1.7 1.3.98 3.1.8 1.3.99 3.1.9 1.4.0 3.2.0 1.4.1 3.2.1 1.4.2 3.2.2 1.4.3 3.2.3 1.4.4 3.2.4 1.4.5 3.2.5 1.4.6 3.2.6 1.4.7 3.2.7 1.4.8 3.2.8 1.4.9 3.2.9 1.5.0 3.3.0 1.5.1 3.3.1 1.5.2 3.3.2 1.5.3 3.3.3 1.5.4 3.3.4 1.5.5 3.3.5 1.5.6 3.3.6 1.5.7 3.3.7 1.5.8 3.3.8 1.5.9 3.3.9 1.6.0 3.4.0 1.6.1 3.4.1 1.6.2 3.4.2 1.6.3 3.4.3 1.6.5 3.4.4 1.6.51 3.4.5 1.6.52 3.4.6 1.6.53 1.6.54 1.6.55 1.6.56 1.6.57 1.6.58 1.6.59 1.6.60 1.6.61 1.6.62 1.6.63 1.6.64 1.6.65 1.6.66 1.6.67 1.6.68 trunk 1.6.69 0.0.1 1.6.70 0.0.2 1.6.71 0.0.3 1.6.72 0.0.4 1.6.73 0.0.5 1.6.74 0.0.6 1.6.75 0.0.7 1.6.76 0.0.8 1.6.77 0.0.9 1.6.78 0.1.0 1.6.79 0.1.1 1.6.81 0.1.2 1.6.82 0.1.3 1.6.83 0.1.4 1.6.84 0.1.5 1.6.85 0.1.6 1.6.86 0.1.7 1.6.87 0.1.8 1.6.88 0.1.9 1.6.89 0.2.0 1.6.90
ai-engine / app / i18n.js
ai-engine / app Last commit date
chatbot.js 5 months ago i18n.js 6 months ago index.js 5 months ago vendor.js 5 months ago
i18n.js
732 lines
1 // https://developer.wordpress.org/block-editor/how-to-guides/internationalization/
2
3 const { __, sprintf } = wp.i18n;
4
5 const i18n = {};
6
7 i18n.COMMON = {
8 GENERAL: __( 'General', 'ai-engine' ),
9 MODULES: __( 'Modules', 'ai-engine' ),
10 CLIENT_MODULES: __( 'Client Modules', 'ai-engine' ),
11 BACKEND_MODULES: __( 'Admin Modules', 'ai-engine' ),
12 SERVER_MODULES: __( 'Server Modules', 'ai-engine' ),
13 ADVISOR: __( 'Advisor', 'ai-engine' ),
14 SETTINGS: __( 'Settings', 'ai-engine' ),
15 CHATBOT: __( 'Chatbot', 'ai-engine' ),
16 CHATBOTS: __( 'Chatbots', 'ai-engine' ),
17 CHATBOT_HELP: __( 'Build intelligent conversational experiences with fully customizable AI-powered chatbots.', 'ai-engine' ),
18 INSIGHTS: __( 'Insights', 'ai-engine' ),
19 STYLE: __( 'Style', 'ai-engine' ),
20 ENABLE: __( 'Enable', 'ai-engine' ),
21 NAME: __( 'Name', 'ai-engine' ),
22 SUBMIT: __( 'Submit', 'ai-engine' ),
23 MODEL: __( 'Model', 'ai-engine' ),
24 AI_MODEL: __( 'AI Model', 'ai-engine' ),
25 TEMPERATURE: __( 'Temperature', 'ai-engine' ),
26 MAX_TOKENS: __( 'Max Tokens', 'ai-engine' ),
27 CONTEXT_MAX_LENGTH: __( 'Context Max Length', 'ai-engine' ),
28 STOP_SEQUENCE: __( 'Stop Sequence', 'ai-engine' ),
29 MODE: __( 'Mode', 'ai-engine' ),
30 CONTEXT: __( 'Knowledge & Context', 'ai-engine' ),
31 IMAGES_NUMBER: __( 'Number of Images', 'ai-engine' ),
32 AVATAR: __( 'Avatar', 'ai-engine' ),
33 AI_NAME: __( 'AI Name', 'ai-engine' ),
34 GUEST_NAME: __( 'Guest Name', 'ai-engine' ),
35 USER_NAME: __( 'User Name', 'ai-engine' ),
36 PLACEHOLDER: __( 'Placeholder', 'ai-engine' ),
37 START_SENTENCE: __( 'Start Sentence', 'ai-engine' ),
38 SEND: __( 'Send', 'ai-engine' ),
39 CLEAR: __( 'Clear', 'ai-engine' ),
40 CLOSE: __( 'Close', 'ai-engine' ),
41 VIEW: __( 'View', 'ai-engine' ),
42 EDIT: __( 'Edit', 'ai-engine' ),
43 SYSTEM_NAME: __( 'System Name', 'ai-engine' ),
44 ID: __( 'ID', 'ai-engine' ),
45 SCOPE: __( 'Scope', 'ai-engine' ),
46 POPUP: __( 'Popup', 'ai-engine' ),
47 POSITION: __( 'Position', 'ai-engine' ),
48 CENTER: __( 'Center', 'ai-engine' ),
49 OPEN_DELAY: __( 'Open Delay', 'ai-engine' ),
50 WINDOW_ANIMATION: __( 'Window Animation', 'ai-engine' ),
51 ZOOM: __( 'Zoom', 'ai-engine' ),
52 SLIDE: __( 'Slide', 'ai-engine' ),
53 FADE: __( 'Fade', 'ai-engine' ),
54 VOICE: __( 'Voice', 'ai-engine' ),
55 TALK_MODE: __( 'Talk Mode', 'ai-engine' ),
56 HANDS_FREE: __( 'Hands-Free', 'ai-engine' ),
57 HOLD_TO_TALK: __( 'Hold to Talk', 'ai-engine' ),
58 ICON: __( 'Icon', 'ai-engine' ),
59 ICON_TEXT: __( 'Icon Text', 'ai-engine' ),
60 ICON_TEXT_DELAY: __( 'Icon Text Delay', 'ai-engine' ),
61 FULL_SCREEN: __( 'Full Screen', 'ai-engine' ),
62 CASUALLY_FINE_TUNED: __( 'Casually Fine-Tuned', 'ai-engine' ),
63 CONTENT_AWARE: __( 'Content Aware', 'ai-engine' ),
64 TITLE: __( 'Title', 'ai-engine' ),
65 TOPIC: __( 'Topic', 'ai-engine' ),
66 TOPICS: __( 'Topics', 'ai-engine' ),
67 SPACING: __( 'Spacing', 'ai-engine' ),
68 BORDER_RADIUS: __( 'Border Radius', 'ai-engine' ),
69 FONT_SIZE: __( 'Font Size', 'ai-engine' ),
70 FONT_COLOR: __( 'Font Color', 'ai-engine' ),
71 BORDER_COLOR: __( 'Border Color', 'ai-engine' ),
72 BACK_PRIMARY_COLOR: __( 'Back Primary Color', 'ai-engine' ),
73 BACK_SECONDARY_COLOR: __( 'Back 2nd Color', 'ai-engine' ),
74 HEADER_COLOR: __( 'Header Color', 'ai-engine' ),
75 HEADER_BACKGROUND_COLOR: __( 'Header Back Color', 'ai-engine' ),
76 HEADER_SUBTITLE: __( 'Header Subtitle', 'ai-engine' ),
77 BUBBLE_COLOR: __( 'Bubble Color', 'ai-engine' ),
78 BACK_USER_COLOR: __( 'Back User Color', 'ai-engine' ),
79 BACK_AI_COLOR: __( 'Back AI Color', 'ai-engine' ),
80 BACK_AI_SECONDARY_COLOR: __( 'Back AI 2nd Color', 'ai-engine' ),
81 AVATAR_MESSAGE_BACKGROUND_COLOR: __( 'Message Back', 'ai-engine' ),
82 AVATAR_MESSAGE_FONT_COLOR: __( 'Message Color', 'ai-engine' ),
83 POPUP_ICON: __( 'Popup Icon', 'ai-engine' ),
84 CUSTOM_ICON: __( 'Custom Icon (URL or Emoticon)', 'ai-engine' ),
85 FEATURES: __( 'Features', 'ai-engine' ),
86 TIMEFRAME: __( 'Timeframe', 'ai-engine' ),
87 ABSOLUTE: __( 'Absolute', 'ai-engine' ),
88 NONE: __( 'None', 'ai-engine' ),
89 EDITORS_ADMINS: __( 'Editors & Admins', 'ai-engine' ),
90 ADMINS_ONLY: __( 'Admins Only', 'ai-engine' ),
91 MAINTENANCE: __( 'Maintenance', 'ai-engine' ),
92 CREDITS: __( 'Credits', 'ai-engine' ),
93 TYPE: __( 'Type', 'ai-engine' ),
94 LIMITS: __( 'Limits', 'ai-engine' ),
95 USERS: __( 'Users', 'ai-engine' ),
96 USER: __( 'User', 'ai-engine' ),
97 GUESTS: __( 'Guests', 'ai-engine' ),
98 GUEST: __( 'Guest', 'ai-engine' ),
99 OPENAI: __( 'Open AI', 'ai-engine' ),
100 LICENSE_TAB: __( 'License', 'ai-engine' ),
101 FINETUNES: __( 'Finetunes', 'ai-engine' ),
102 MODELS: __( 'Models', 'ai-engine' ),
103 FILES: __( 'Files', 'ai-engine' ),
104 ASSISTANT: __( 'Assistant', 'ai-engine' ),
105 ASSISTANTS: __( 'Assistants', 'ai-engine' ),
106 UTILITIES: __( 'Utilities', 'ai-engine' ),
107 POSTS_SUGGESTIONS: __( 'AI Copilot, AI Suggestions, Magic Wands', 'ai-engine' ),
108 POSTS_SUGGESTIONS_HELP: __( 'Tools to brainstorm/write faster and better.', 'ai-engine' ),
109 GENERATORS: __( 'Generators', 'ai-engine' ),
110 CONTENT_GENERATOR: __( 'Content Generator', 'ai-engine' ),
111 CONTENT_GENERATOR_HELP: __( 'Transform ideas into polished articles with AI-powered content creation.', 'ai-engine' ),
112 IMAGES_GENERATOR: __( 'Images Generator', 'ai-engine' ),
113 IMAGES_GENERATOR_HELP: __( 'Bring your vision to life with stunning AI-generated visuals.', 'ai-engine' ),
114 IMAGES_GENERATOR_INTRO: __( 'Create stunning visuals with AI-powered image generation. Use detailed prompts, customize styles and resolutions, and generate multiple variations. Perfect for creative projects, marketing materials, and visual content.', 'ai-engine' ),
115 PLAYGROUND: __( 'Playground', 'ai-engine' ),
116 PLAYGROUND_HELP: __( 'Experiment with AI models and unlock endless creative possibilities.', 'ai-engine' ),
117 FORMS: __( 'Forms', 'ai-engine' ),
118 FORMS_HELP: __( 'Create dynamic, intelligent forms that adapt and respond based on user input with conditional logic.', 'ai-engine' ),
119 SEARCH: __( 'Search', 'ai-engine' ),
120 SEARCH_HELP: __( 'Override the default WordPress search with AI powered keywords or embeddings.', 'ai-engine' ),
121 INSIGHTS_HELP: __( 'Enable Query Logs, Usage and Limits.', 'ai-engine' ),
122 CLIENT_DEBUG: __( 'Client Debug', 'ai-engine' ),
123 CLIENT_DEBUG_HELP: __( 'Debugging information for Chatbots and Forms will be displayed in the Browser Console.', 'ai-engine' ),
124 SERVER_DEBUG: __( 'Server Debug', 'ai-engine' ),
125 SERVER_DEBUG_HELP: __( 'API calls and server events will be logged and displayed in the Logs Console.', 'ai-engine' ),
126 MCP_DEBUG: __( 'MCP Debug', 'ai-engine' ),
127 MCP_DEBUG_HELP: __( 'Debugging information from MCP will be written directly to the PHP error logs using error_log().', 'ai-engine' ),
128 QUERIES_DEBUG: __( 'Queries Debug', 'ai-engine' ),
129 QUERIES_DEBUG_HELP: __( 'Full queries and responses will be written directly to the PHP error logs using error_log().', 'ai-engine' ),
130 DEV_MODE: __( 'Dev Mode', 'ai-engine' ),
131 DEV_MODE_HELP: __( 'Run tasks frequently for debugging.', 'ai-engine' ),
132 CLEAR_LOGS: __( 'Clear Logs', 'ai-engine' ),
133 REFRESH_LOGS: __( 'Refresh Logs', 'ai-engine' ),
134 API_KEY: __( 'API Key', 'ai-engine' ),
135 USAGE_HELP: __( 'Estimates only. Check your AI service for actual costs. Insights module provides better accuracy.', 'ai-engine' ),
136 RESET_USAGE_SURE: __( 'Are you sure you want to reset the usage data?', 'ai-engine' ),
137 USAGE_PRO_HELP: __( 'If you would like to have better control on the amounts, add conditions or set limits to the usage of the AI, consider %s.', 'ai-engine' ),
138 USAGE_PRO_HELP_URL: 'https://meowapps.com/ai-engine/',
139 USAGE_PRO_HELP_LINK_TEXT: __( 'AI Engine Pro ↗', 'ai-engine' ),
140 LANGUAGE: __( 'Language', 'ai-engine' ),
141 HIDE: __( 'Hide', 'ai-engine' ),
142 SHOW: __( 'Show', 'ai-engine' ),
143 CONTENT: __( 'Content', 'ai-engine' ),
144 IMAGES: __( 'Images', 'ai-engine' ),
145 IMAGES_AND_FILES: __( 'Images & Files', 'ai-engine' ),
146 EXCERPT: __( 'Excerpt', 'ai-engine' ),
147 GENERATE: __( 'Generate', 'ai-engine' ),
148 MODEL_PARAMS: __( 'Model Params', 'ai-engine' ),
149 CONTEXT_PARAMS: __( 'Context Params', 'ai-engine' ),
150 PROMPT: __( 'Prompt', 'ai-engine' ),
151 PROMPTS: __( 'Prompts', 'ai-engine' ),
152 LABEL: __( 'Label', 'ai-engine' ),
153 SYSTEM: __( 'System', 'ai-engine' ),
154 SHORTCODE: __( 'Shortcode', 'ai-engine' ),
155 SHORTCODES: __( 'Shortcodes', 'ai-engine' ),
156 RESOLVE: __( 'Resolve', 'ai-engine' ),
157 MAX_MESSAGES: __( 'Max Messages', 'ai-engine' ),
158 INPUT_MAX_LENGTH: __( 'Input Max Length', 'ai-engine' ),
159 COMPLIANCE_TEXT: __( 'Compliance Text', 'ai-engine' ),
160 MODERATION: __( 'Moderation', 'ai-engine' ),
161 MODERATION_HELP: __( 'Moderation features with AI.', 'ai-engine' ),
162 FORMATTING: __( 'Formatting', 'ai-engine' ),
163 FORMATTING_HELP: __( 'Format the reply from AI into HTML. This is already done automatically if Markdown is detected in the reply.', 'ai-engine' ),
164 LOGS: __( 'Logs', 'ai-engine' ),
165 QUERY: __( 'Query', 'ai-engine' ),
166 REPLY: __( 'Reply', 'ai-engine' ),
167 CODE: __( 'Code', 'ai-engine' ),
168 EMBEDDINGS: __( 'Embeddings', 'ai-engine' ),
169 QUERY_LOGS: __( 'Query Logs', 'ai-engine' ),
170 KNOWLEDGE: __( 'Knowledge', 'ai-engine' ),
171 KNOWLEDGE_HELP: __( 'Searchable data for AI. Powered by <b>embeddings</b> for now, alternatives will come later.', 'ai-engine' ),
172 REMOTE_ACCESS: __( 'Remote Access', 'ai-engine' ),
173 OTHERS: __( 'Others', 'ai-engine' ),
174 PINECONE_APIKEY_HELP: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
175 PINECONE_APIKEY_URL: 'https://app.pinecone.io/organizations/keys',
176 PINECONE_APIKEY_LINK_TEXT: __( 'Pinecone Account ↗', 'ai-engine' ),
177 QDRANT_APIKEY_HELP: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
178 QDRANT_APIKEY_URL: 'https://cloud.qdrant.io/accounts/',
179 QDRANT_APIKEY_LINK_TEXT: __( 'Qdrant Account ↗', 'ai-engine' ),
180 SERVER: __( 'Server', 'ai-engine' ),
181 PINECONE_SERVER_HELP: __( 'The URL of your host (check your Indexes).', 'ai-engine' ),
182 PINECONE_NAMESPACE_HELP: __( 'The namespace is used to separate the data from other data. This allows you to use the same server/index on more than one website. This is optional.', 'ai-engine' ),
183 QDRANT_SERVER_HELP: __( 'The URL of your cluster (known as Cluster URL).', 'ai-engine' ),
184 QDRANT_COLLECTION_HELP: __( 'The collection keeps data apart so you can use one cluster for many websites. If there\'s no collection, Qdrant makes one with 1536 dimensions and uses cosine similarity.', 'ai-engine' ),
185 COST: __( 'Cost', 'ai-engine' ),
186 USAGE: __( 'Usage', 'ai-engine' ),
187 USAGE_ESTIMATES_NOTE: __( 'Costs and tokens are estimates. For accurate data and detailed analytics, visit the Insights tab.', 'ai-engine' ),
188 ACTIVITY: __( 'Activity', 'ai-engine' ),
189 TRANSCRIPTION: __( 'Transcription', 'ai-engine' ),
190 TRANSCRIPTION_HELP: __( 'Introduces a \'Transcribe\' tab to easily transform audio/images into text and get AI answers in JSON format.', 'ai-engine' ),
191 AUDIO_TRANSCRIPTION: __( 'Audio-to-Text', 'ai-engine' ),
192 IMAGE_TRANSCRIPTION: __( 'Image-to-Text', 'ai-engine' ),
193 AUDIO_TO_TEXT: __( 'Audio ➡ Text', 'ai-engine' ),
194 IMAGE_TO_TEXT: __( 'Image ➡ Text', 'ai-engine' ),
195 EMBEDDINGS_ENV: __( 'Environment', 'ai-engine' ),
196 EMBEDDINGS_INDEX: __( 'Index', 'ai-engine' ),
197 NAMESPACE: __( 'Namespace', 'ai-engine' ),
198 NAMESPACES: __( 'Namespaces', 'ai-engine' ),
199 NAMESPACE_HELP: __( 'The namespace is used to separate the data from other data. This allows you to use the same index on more than one website.', 'ai-engine' ),
200 NAMESPACES_HELP: __( 'Enter the namespaces you would like to use on this site, separated by commas.', 'ai-engine' ),
201 ERROR: __( 'Error', 'ai-engine' ),
202 RETRY: __( 'Retry', 'ai-engine' ),
203 AUTO_RETRY: __( 'Auto Retry', 'ai-engine' ),
204 SKIP: __( 'Skip', 'ai-engine' ),
205 AUTO_SKIP: __( 'Auto Skip', 'ai-engine' ),
206 STOP: __( 'Stop', 'ai-engine' ),
207 AUTO_RETRY_DESCRIPTION: __( 'Auto Retry retries actions up to 10 times with increasing delay to avoid timeouts.', 'ai-engine' ),
208 WIDTH: __( 'Width', 'ai-engine' ),
209 MAX_HEIGHT: __( 'Max Height', 'ai-engine' ),
210 APPEARANCE: __( 'Appearance', 'ai-engine' ),
211 THRESHOLDS: __( 'Thresholds', 'ai-engine' ),
212 DASHBOARD: __( 'Dashboard', 'ai-engine' ),
213 ADVANCED: __( 'Advanced', 'ai-engine' ),
214 DISCUSSIONS: __( 'Discussions', 'ai-engine' ),
215 DISCUSSION_TITLES: __( 'Discussion Titles', 'ai-engine' ),
216 SUMMARIZE: __( 'Summarize', 'ai-engine' ),
217 ROWS: __( 'Rows', 'ai-engine' ),
218 POST_TYPE: __( 'Post Type', 'ai-engine' ),
219 GENERATE_CONTENT: __( 'Generate Content', 'ai-engine' ),
220 GENERATE_IMAGES: __( 'Generate Images', 'ai-engine' ),
221 REST_API: __( 'Public API', 'ai-engine' ),
222 ADMIN_BAR: __( 'Admin Bar', 'ai-engine' ),
223 REFRESH: __( 'Refresh', 'ai-engine' ),
224 DELETE: __( 'Delete', 'ai-engine' ),
225 DELETE_ALL: __( 'Delete All', 'ai-engine' ),
226 DELETE_SELECTED: __( 'Delete Selected', 'ai-engine' ),
227 OPENAI_ORGANIZATION_ID: __( 'Organization ID', 'ai-engine' ),
228 OPENAI_AZURE_API_KEY: __( 'API Key', 'ai-engine' ),
229 OPENAI_AZURE_DEPLOYMENT_NAME: __( 'Deployment Name', 'ai-engine' ),
230 OPENAI_AZURE_DEPLOYMENTS: __( 'Deployments', 'ai-engine' ),
231 ENDPOINT: __( 'Endpoint', 'ai-engine' ),
232 HUGGINGFACE_MODELS: __( 'Models', 'ai-engine' ),
233 HUGGINGFACE_MODEL_NAME: __( 'Name', 'ai-engine' ),
234 HUGGINGFACE_MODEL_URL: __( 'API URL', 'ai-engine' ),
235 THEME: __( 'Theme', 'ai-engine' ),
236 THEMES: __( 'Themes', 'ai-engine' ),
237 BANNED_WORDS: __( 'Banned Words', 'ai-engine' ),
238 WORD_BOUNDARIES: __( 'Word Boundaries', 'ai-engine' ),
239 IGNORE: __( 'Ignore', 'ai-engine' ),
240 BANNED_IPS: __( 'Banned IPs', 'ai-engine' ),
241 SECURITY: __( 'Security', 'ai-engine' ),
242 POST_TYPES: __( 'Post Types', 'ai-engine' ),
243 COPY_BUTTON: __( 'Copy Button', 'ai-engine' ),
244 AI_AVATAR: __( 'AI Avatar', 'ai-engine' ),
245 GUEST_AVATAR: __( 'Guest Avatar', 'ai-engine' ),
246 SITE_WIDE_CHATBOT: __( 'Site-Wide Chatbot', 'ai-engine' ),
247 QUERIES_DATA: __( 'Queries Data', 'ai-engine' ),
248 QUERIES_FORMS_DATA: __( 'Queries Form Data', 'ai-engine' ),
249 WEBSPEECH_API: __( 'Web Speech API', 'ai-engine' ),
250 GDPR_CONSENT: __( 'GDPR Consent', 'ai-engine' ),
251 GDPR_TEXT: __( 'GDPR Text', 'ai-engine' ),
252 GDPR_BUTTON: __( 'GDPR Button', 'ai-engine' ),
253 FIX: __( 'Fix', 'ai-engine' ),
254 SPEECH_RECOGNITION: __( 'Speech Recognition', 'ai-engine' ),
255 SPEECH_SYNTHESIS: __( 'Speech Synthesis', 'ai-engine' ),
256 QUERIES: __( 'Queries', 'ai-engine' ),
257 LOCAL_MEMORY: __( 'Local Memory', 'ai-engine' ),
258 ACTIONS: __( 'Actions', 'ai-engine' ),
259 RESET: __( 'Reset', 'ai-engine' ),
260 INCIDENTS_OPENAI: __( 'Incidents (OpenAI)', 'ai-engine' ),
261 PREVIEW: __( 'Preview', 'ai-engine' ),
262 LEGACY_FORMS: __( 'Legacy Forms', 'ai-engine' ),
263 LEGACY_FEATURES: __( 'Legacy Features', 'ai-engine' ),
264 DUPLICATE: __( 'Duplicate', 'ai-engine' ),
265 CHATBOT_EDITOR: __( 'Chatbot Editor', 'ai-engine' ),
266 THEME_EDITOR: __( 'Theme Editor', 'ai-engine' ),
267 STREAMING: __( 'Streaming', 'ai-engine' ),
268 SYNTAX_HIGHLIGHT: __( 'Syntax Highlight', 'ai-engine' ),
269 EVENT_LOGS: __( 'Event Logs', 'ai-engine' ),
270 PRIVACY_FIRST: __( 'Privacy First', 'ai-engine' ),
271 DATA_NOT_AVAILABLE: __( 'Data not available.', 'ai-engine' ),
272 EXPORT: __( 'Export', 'ai-engine' ),
273 IMPORT: __( 'Import', 'ai-engine' ),
274 MODIFY_EMBEDDING: __( 'Modify Embedding', 'ai-engine' ),
275 ADD_EMBEDDING: __( 'Add Embedding', 'ai-engine' ),
276 DEV_TOOLS: __( 'Dev Tools', 'ai-engine' ),
277 SINGLE_GENERATE: __( 'Single Generate', 'ai-engine' ),
278 PUBLIC_API: __( 'Public API', 'ai-engine' ),
279 USER_INTERFACE: __( 'User Interface', 'ai-engine' ),
280 INTRO_MESSAGE: __( 'Intro Message', 'ai-engine' ),
281 ADDONS: __( 'Add-ons', 'ai-engine' ),
282 AI_ENVIRONMENT_DEFAULTS: __( 'Default Environments for AI', 'ai-engine' ),
283 ENVIRONMENTS_FOR_AI: __( 'Environments for AI', 'ai-engine' ),
284 ENVIRONMENT_ID: __( 'Environment ID', 'ai-engine' ),
285 EMBEDDINGS_ENVIRONMENT_DEFAULT: __( 'Default Embeddings Environment', 'ai-engine' ),
286 ENVIRONMENT: __( 'Environment', 'ai-engine' ),
287 PLUGIN_DATA: __( 'Plugin Data', 'ai-engine' ),
288 PLUGIN_DATA_DESCRIPTION: __( "The database and all the options of the plugin will be removed on uninstall.", 'ai-engine' ),
289 RESET_LIMITS: __( 'Reset Limits', 'ai-engine' ),
290 VISION: __( 'Vision', 'ai-engine' ),
291 FILE_SEARCH: __( 'File Search', 'ai-engine' ),
292 PROMPT_TO_JSON: __( 'Prompt ➡ JSON', 'ai-engine' ),
293 RESOLUTION: __( 'Resolution', 'ai-engine' ),
294 DEFAULT: __( 'Default', 'ai-engine' ),
295 DEFAULTS: __( 'Defaults', 'ai-engine' ),
296 DEFAULT_FAST: __( 'Fast', 'ai-engine' ),
297 REFRESH_MODELS: __( 'Refresh Models', 'ai-engine' ),
298 AUDIO: __( 'Audio', 'ai-engine' ),
299 JSON: __( 'JSON', 'ai-engine' ),
300 AI_ENVIRONMENT: __( 'AI Environment', 'ai-engine' ),
301 OVERRIDE_DEFAULTS: __( 'Override Defaults', 'ai-engine' ),
302 REGION: __( 'Region', 'ai-engine' ),
303 PROJECT_ID: __( 'Project ID', 'ai-engine' ),
304 BEARER_TOKEN: __( 'Bearer Token', 'ai-engine' ),
305 DIMENSIONS: __( 'Dimensions', 'ai-engine' ),
306 EMBEDDINGS_MODEL: __( 'Embeddings Model', 'ai-engine' ),
307 MIN_SCORE: __( 'Min Score', 'ai-engine' ),
308 MAX_SELECT: __( 'Max Results', 'ai-engine' ),
309 QDRANT_COLLECTION: __( 'Collection', 'ai-engine' ),
310 INSTRUCTIONS: __( 'Instructions', 'ai-engine' ),
311 FUNCTIONS: __( 'Functions', 'ai-engine' ),
312 TOOLS: __( 'Tools & Capabilities', 'ai-engine' ),
313 WEB_SEARCH: __( 'Web Search', 'ai-engine' ),
314 IMAGE_GENERATION: __( 'Image Generation', 'ai-engine' ),
315 CODE_INTERPRETER: __( 'Code Interpreter', 'ai-engine' ),
316 ALLOWED_MIME_TYPES: __( 'Allowed Mime Types', 'ai-engine' ),
317 SELECT_MIME_TYPES: __( 'Select', 'ai-engine' ),
318 MIME_TYPE_SELECTOR: __( 'MIME Type Selector', 'ai-engine' ),
319 AUTO_SELECT: __( 'Auto-Select', 'ai-engine' ),
320 CUSTOM_MIME_TYPES: __( 'Custom MIME Types', 'ai-engine' ),
321 HISTORY_STRATEGY: __( 'History Strategy', 'ai-engine' ),
322 AUTOMATIC: __( 'Automatic', 'ai-engine' ),
323 FULL_HISTORY: __( 'Full History', 'ai-engine' ),
324 INCREMENTAL: __( 'Incremental', 'ai-engine' ),
325 BUBBLE: __( 'Bubble', 'ai-engine' ),
326 TABS: __( 'Tabs', 'ai-engine' ),
327 DROPDOWN: __( 'Dropdown', 'ai-engine' ),
328 CHATBOT_SELECT: __( 'Chatbot Select', 'ai-engine' ),
329 CONDITIONS: __( 'Conditions', 'ai-engine' ),
330 CONDITION: __( 'Condition', 'ai-engine' ),
331 ADD_CONDITION: __( 'Add Condition', 'ai-engine' ),
332 REMOVE: __( 'Remove', 'ai-engine' ),
333 MCP_NO_OPTIONS: __( 'MCP is enabled but no options are selected. Please enable at least one option.', 'ai-engine' ),
334 ORCHESTRATION: __( 'Orchestration', 'ai-engine' ),
335 ORCHESTRATION_HELP: __( 'Connect AI models to external tools and services through MCP servers. Currently, MCP servers need to be set up in Settings > Orchestration.', 'ai-engine' ),
336 MCP_SERVERS: __( 'MCP Servers', 'ai-engine' ),
337 MCP_FUNCTIONS: __( 'MCP Functions', 'ai-engine' ),
338 URL: __( 'URL', 'ai-engine' ),
339 TOKEN: __( 'Token', 'ai-engine' ),
340 SERVER_ID: __( 'Server ID', 'ai-engine' ),
341 PRICE: __( 'Price', 'ai-engine' ),
342 UNITS: __( 'Units', 'ai-engine' ),
343 FAMILY: __( 'Family', 'ai-engine' ),
344 DAILY: __( 'Daily', 'ai-engine' ),
345 MONTHLY: __( 'Monthly', 'ai-engine' ),
346 UNKNOWN_MODEL: __( 'Unknown Model', 'ai-engine' ),
347 CONTEXTUAL: __( 'Contextual', 'ai-engine' ),
348 COMPLETION: __( 'Completion', 'ai-engine' ),
349 TOTAL_MAX_TOKENS: __( 'Total Max Tokens', 'ai-engine' ),
350 RECOMMENDED: __( 'Recommended', 'ai-engine' ),
351 SESSION: __( 'Session', 'ai-engine' ),
352 LAST_REQUEST: __( 'Last Request', 'ai-engine' ),
353 RESET_USAGE: __( 'Reset Usage', 'ai-engine' ),
354 COPIED: __( 'Copied!', 'ai-engine' ),
355 CLIPBOARD_ERROR: __( 'Clipboard is not enabled (only works with https).', 'ai-engine' ),
356 VIEW_IN_PLATFORM: __( 'View in OpenAI Platform', 'ai-engine' ),
357 };
358
359 i18n.FORMS = {
360 PROMPT_INFO: __( 'The template of your prompt. To re-use the data entered by the user, use the name of that field between curly braces. Example: Recommend me {MUSIC_TYPE} artists. You can also use an ID as an input, like this: ${#myfield}. Finally, if you wish the output to be formatted, add: \'Use Markdown.\'."', 'ai-engine' ),
361 OUTPUT: __( 'Output', 'ai-engine' ),
362 OUTPUT_ELEMENT: __( 'Output Element', 'ai-engine' ),
363 OUTPUT_ELEMENT_INFO: __( 'The result will be written to this element. If you wish to simply display the result in an Output Block, use its ID. For instance, if its ID is mwai-666, use \'#mwai-666\'.', 'ai-engine' ),
364 };
365
366 i18n.HELP = {
367 TEMPERATURE: __( 'Between 0 and 1. Higher values means the model will take more risks.', 'ai-engine' ),
368 MAX_TOKENS: __( 'The maximum number of tokens to generate. The model will stop generating once it hits this limit.', 'ai-engine' ),
369 STOP_SEQUENCE: __( 'The sequence of tokens that will cause the model to stop generating text. You absolutely need this with fine-tuned models.', 'ai-engine' ),
370 COST: __( 'Keeps track of the current costs.', 'ai-engine' ),
371 RESOLVE_SHORTCODE: __( 'Will resolve the shortcode in your content when needed (Content-Aware will use this, for instance).', 'ai-engine' ),
372 FINETUNES: __( 'Train your own AI models.', 'ai-engine' ),
373 DISCUSSIONS: __( 'Keep the conversations and enable browsing them via the Conversations tab.', 'ai-engine' ),
374 DISCUSSION_TITLES: __( 'Generate titles for the discussions automatically with AI.', 'ai-engine' ),
375 DISCUSSION_SUMMARY: __( 'Automatically generate a brief summary of the discussion using the default (fast) model. It will be used as the discussion title.', 'ai-engine' ),
376 AZURE_DEPLOYMENTS: __( 'Add your deployments below and define what kind of model they are. GPT-5 models will automatically use the Responses API, while other models will use the Chat Completions API.', 'ai-engine' ),
377 BANNED_WORDS: __( 'Reject queries containing these words; separate with commas.', 'ai-engine' ),
378 WORD_BOUNDARIES: __( 'Ignore standard word separation (space) and match banned words anywhere in the text.', 'ai-engine' ),
379 BANNED_IPS: __( 'Block access from specified IP addresses or ranges using CIDR notation; separate with commas.', 'ai-engine' ),
380 GDPR_CONSENT: __( 'If enabled, the user will have to accept the conditions before using the chatbot.', 'ai-engine' ),
381 POST_TYPES: __( 'Enable for these post types; separate with commas.', 'ai-engine' ),
382 POST_STATUS: __( 'Enable for these post statuses (publish, draft, future, private, etc); separate with commas.', 'ai-engine' ),
383 POST_CATEGORIES: __( 'Enable for these categories (slugs); separate with commas. If none, it will be enabled for all.', 'ai-engine' ),
384 CONTEXT_MAX_LENGTH: __( 'Truncate the context (Content-Aware, Embeddings, etc) to make sure it is below this number of characters.', 'ai-engine' ),
385 INSTRUCTIONS: __( 'Placeholders: {DATE_TIME}, {DISPLAY_NAME}, {FIRST_NAME}, {LAST_NAME}, {USER_LOGIN}. With Content-Aware: {CONTENT}, {EXCERPT}, {TITLE}, {URL}.', 'ai-engine' ),
386 MAX_MESSAGES: __( 'Maximum number of historical messages that is sent to the AI model.', 'ai-engine' ),
387 INPUT_MAX_LENGTH: __( 'Maximum number of characters that can be input by the user.', 'ai-engine' ),
388 STATISTICS: __( ' In the Insights tab, you can browse through all your users\' activity. Contextual data is excluded unless you activate the options below. Make sure your users are aware of this.', 'ai-engine' ),
389 QUERIES_DATA: __( 'Record the queries and their replies.', 'ai-engine' ),
390 QUERIES_FORMS_DATA: __( 'Capture form data neatly for simple reuse.', 'ai-engine' ),
391 SPEECH_RECOGNITION: __( 'Enable speech-to-text. Depends on the browser and OS used by the user.', 'ai-engine' ),
392 SPEECH_SYNTHESIS: __( 'Enable text-to-speech.', 'ai-engine' ),
393 CUSTOM_SHORTCODE: __( 'Prefer the above version. If you need many chatbots, you can custom shortcodes, like the one below. Custom shortcodes are based on the default chatbot, and their attributes override the default ones.', 'ai-engine' ),
394 USER_FILTER: __( 'Type an User ID, or an IP.', 'ai-engine' ),
395 STREAMING: __( 'The AI\'s response will appear as it\'s being created. Be cautious: this feature\'s ability to manage statistics, limits, and filters is still in its beta phase.', 'ai-engine' ),
396 SYNTAX_HIGHLIGHT: __( 'Enable syntax highlighting for the code blocks.', 'ai-engine' ),
397 EVENT_LOGS: __( 'Display streaming events and function calls in the chatbot interface for debugging. Requires Streaming to be enabled. Currently only visible in chatbots.', 'ai-engine' ),
398 PRIVACY_FIRST: __( 'Only essential data is stored. IPs, conversations, and other private details are minimized and kept as anonymous as possible.', 'ai-engine' ),
399 DEV_TOOLS: __( 'Enable a new tab with debugging tools. For developers only.', 'ai-engine' ),
400 DEV_MODE: __( 'Run tasks very frequently for debugging.', 'ai-engine' ),
401 PUBLIC_API: __( 'Enable the Public REST API.', 'ai-engine' ),
402 INTRO_MESSAGE: __( 'Enable introduction messages on some modules.', 'ai-engine' ),
403 ADDONS: __( 'Enable the AI Addons section under the Meow Apps menu.', 'ai-engine' ),
404 OPENAI_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
405 OPENAI_API_KEY_URL: 'https://platform.openai.com/api-keys',
406 OPENAI_API_KEY_LINK_TEXT: __( 'OpenAI Account ↗', 'ai-engine' ),
407 OPENAI_ORGANIZATION_ID: __( 'You can link this environment to an %s. This is optional.', 'ai-engine' ),
408 OPENAI_ORGANIZATION_URL: 'https://platform.openai.com/account/organization',
409 OPENAI_ORGANIZATION_LINK_TEXT: __( 'Organization ↗', 'ai-engine' ),
410 AZURE_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
411 AZURE_API_KEY_URL: 'https://oai.azure.com/portal',
412 AZURE_API_KEY_LINK_TEXT: __( 'Azure Account ↗', 'ai-engine' ),
413 AZURE_ENDPOINT: __( 'Enter just your Azure resource domain (e.g., <code>myresource.openai.azure.com</code>). AI Engine will automatically construct the appropriate API endpoint based on the model type.', 'ai-engine' ),
414 AZURE_REGION: __( 'Optional: Specify your Azure deployment region (e.g., <code>swedencentral</code>, <code>eastus2</code>, <code>westus</code>). This is required for Realtime API connections. If not specified, AI Engine will attempt to auto-detect the region from your endpoint or use <code>eastus2</code> as default.', 'ai-engine' ),
415 ANTHROPIC_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
416 ANTHROPIC_API_KEY_URL: 'https://console.anthropic.com/settings/keys',
417 ANTHROPIC_API_KEY_LINK_TEXT: __( 'Anthropic Account ↗', 'ai-engine' ),
418 GOOGLE_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
419 GOOGLE_API_KEY_URL: 'https://aistudio.google.com/apikey',
420 GOOGLE_API_KEY_LINK_TEXT: __( 'Google AI Studio ↗', 'ai-engine' ),
421 OPENROUTER_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
422 OPENROUTER_API_KEY_URL: 'https://openrouter.ai/keys',
423 OPENROUTER_API_KEY_LINK_TEXT: __( 'OpenRouter Account ↗', 'ai-engine' ),
424 QDRANT: __( 'Use the code <b>#AIENGINE5</b> when you %s. You will get 5% off.', 'ai-engine' ),
425 QDRANT_URL: 'https://qdrant.to/cloud',
426 QDRANT_LINK_TEXT: __( 'Create a Qdrant Account ↗', 'ai-engine' ),
427 ASSISTANTS: __( 'The Assistants API is designed to help developers build powerful AI assistants capable of performing a variety of tasks.', 'ai-engine' ),
428 ASSISTANTS_INTRO: __( 'The Assistants API is designed to help developers build powerful AI assistants capable of performing a variety of tasks. To create them, head to the %s dashboard, then <b>Refresh Assistants</b> here. You can use an assistant in your chatbots by switching the <b>Mode</b> to <b>Assistant</b>.', 'ai-engine' ),
429 ASSISTANTS_INTRO_URL: 'https://beta.openai.com/assistants',
430 ASSISTANTS_INTRO_LINK_TEXT: __( 'OpenAI Assistants ↗', 'ai-engine' ),
431 ASSISTANTS_WARNINGS: __( 'Assistants are also %1$s, both for OpenAI and AI Engine. OpenAI did not add streaming support for them yet. Pricing is still quite unclear and %2$s. AI Engine can only perform an estimation. If you want to discuss assistants with other users, visit the %3$s.', 'ai-engine' ),
432 ASSISTANTS_BETA_URL: 'https://platform.openai.com/docs/api-reference/assistants',
433 ASSISTANTS_BETA_TEXT: __( 'in beta ↗', 'ai-engine' ),
434 ASSISTANTS_PRICING_URL: 'https://openai.com/pricing',
435 ASSISTANTS_PRICING_TEXT: __( 'tricky ↗', 'ai-engine' ),
436 ASSISTANTS_DISCORD_URL: 'https://discord.gg/bHDGh38',
437 ASSISTANTS_DISCORD_TEXT: __( 'Meow Apps Discord Server ↗', 'ai-engine' ),
438 BEARER_TOKEN: __( 'The Public API will be usable by using this Bearer Token. If not set, you will need to %s by using the <i>mwai_allow_public_api</i> filter.', 'ai-engine' ),
439 BEARER_TOKEN_URL: 'https://meowapps.com/ai-engine/api/#public-rest-api',
440 BEARER_TOKEN_LINK_TEXT: __( 'build your own authentication ↗', 'ai-engine' ),
441 REST_API_INTRO: __( 'The Public API enables integration with automation platforms and external applications. Use it with %s, n8n, Zapier, or any platform that supports HTTP requests to automate AI workflows and connect your WordPress site with other services.', 'ai-engine' ),
442 REST_API_MAKE_URL: 'https://www.make.com/en/integrations/ai-engine',
443 REST_API_MAKE_TEXT: __( 'Make.com ↗', 'ai-engine' ),
444 MCP_BEARER_TOKEN: __( 'A secret token used to authenticate AI assistants. Required for secure access to your WordPress site.', 'ai-engine' ),
445 MCP_INTRO: __( 'ChatGPT works perfectly with the No-Auth URL. %s for step-by-step setup. For Claude, which cannot handle SSE directly, %s is needed.', 'ai-engine' ),
446 MCP_TUTORIAL_URL: 'https://ai.thehiddendocs.com/mcp/mcp-server-chatgpt/',
447 MCP_TUTORIAL_TEXT: __( 'Check this tutorial ↗', 'ai-engine' ),
448 MCP_CLAUDE_TUTORIAL_URL: 'https://ai.thehiddendocs.com/mcp/mcp-server-claude/',
449 MCP_CLAUDE_TUTORIAL_TEXT: __( 'a relay ↗', 'ai-engine' ),
450 MCP_SERVER_URL: __( 'The URL of the MCP server. Must start with https://', 'ai-engine' ),
451 MCP_SERVER_TOKEN: __( 'Bearer token for authenticating with the MCP server.', 'ai-engine' ),
452 REST_API_DOCS_URL: 'https://ai.thehiddendocs.com/public-rest-api/',
453 REST_API_DOCS_TEXT: __( 'documentation ↗', 'ai-engine' ),
454 PHP_API_FUNCTIONS_URL: 'https://ai.thehiddendocs.com/php-functions/',
455 PHP_API_FUNCTIONS_TEXT: __( 'PHP Functions ↗', 'ai-engine' ),
456 PHP_API_CLASSES_URL: 'https://ai.thehiddendocs.com/php-classes/',
457 PHP_API_CLASSES_TEXT: __( 'PHP Classes ↗', 'ai-engine' ),
458 PHP_API_FILTERS_URL: 'https://ai.thehiddendocs.com/php-filters/',
459 PHP_API_FILTERS_TEXT: __( 'WordPress Filters ↗', 'ai-engine' ),
460 NO_EMBEDDINGS_RESULTS: __( 'No results for this search. Make sure the Minimum Score is not too high.', 'ai-engine' ),
461 NO_EMBEDDINGS_ROWS: __( 'No embeddings yet in this environment.', 'ai-engine' ),
462 MIN_SCORE: __( 'The minimum score the embeddings need to have to be returned. Between 0 and 100 and defaults to 35.', 'ai-engine' ),
463 MAX_SELECT: __( 'The maximum number of embeddings to return and to use as context. Between 1 and 100 and defaults to 10.', 'ai-engine' ),
464 FUNCTIONS: __( 'Select the functions to make available for the AI model\'s choice. It will use them to enhance responses and perform specific actions. This feature is known as Function Calling or Tools.', 'ai-engine' ),
465 FUNCTIONS_UNAVAILABLE: __( 'There are no functions available. Please use %s to add some. The Pro Version of AI Engine is also required for this feature.', 'ai-engine' ),
466 FUNCTIONS_CODE_ENGINE_URL: 'https://wordpress.org/plugins/code-engine/',
467 FUNCTIONS_CODE_ENGINE_TEXT: __( 'Code Engine ↗', 'ai-engine' ),
468 MCP_SERVERS: __( 'Select the MCP servers to make available for the AI model. These servers provide external tools and capabilities that the AI can use to enhance responses and perform specialized actions.', 'ai-engine' ),
469 MCP_SERVERS_UNAVAILABLE: __( 'No MCP servers are available. Configure them in Settings > Orchestration.', 'ai-engine' ),
470 TOOLS: __( 'Enable AI tools to enhance your chatbot capabilities. Web Search and Image Generation work with OpenAI and Google. Code Interpreter is OpenAI-only.', 'ai-engine' ),
471 WEB_SEARCH: __( 'Allow the AI to search the web for current information', 'ai-engine' ),
472 IMAGE_GENERATION: __( 'Allow the AI to generate images based on text descriptions', 'ai-engine' ),
473 CODE_INTERPRETER: __( 'Allow the AI to write and run Python code to solve complex problems, process data, and generate visualizations', 'ai-engine' ),
474 ALLOWED_MIME_TYPES: __( 'Restrict file uploads to specific mime types. Leave empty to use defaults. Comma-separated list (e.g., image/png, image/jpeg, application/pdf).', 'ai-engine' ),
475 HISTORY_STRATEGY: __( 'Control how conversation history is sent to the Responses API. Incremental uses previous_response_id for efficiency, Full History sends all messages.', 'ai-engine' ),
476 ADVISOR: __( 'In your Dashboard will be displayed daily recommendations tailored to your WordPress setup. Admins only.', 'ai-engine' ),
477 BUBBLE: __( 'The popup will be displayed as a bubble.', 'ai-engine' ),
478 ICON_TEXT: __( 'If set, this text will appear next to the icon/bubble.', 'ai-engine' ),
479 ICON_TEXT_DELAY: __( 'Delay before text appears.', 'ai-engine' ),
480 WIDTH: __( 'Width of the chatbot when open.', 'ai-engine' ),
481 OPEN_DELAY: __( 'Auto-open after X seconds.', 'ai-engine' ),
482 CHATBOT_SELECT: __( 'Choose how you want to select the chatbot. By default, tabs are used, but you can also use a filterable dropdown if you have many chatbots.', 'ai-engine' ),
483 };
484
485 i18n.SETTINGS = {
486 AI_ENV_SETUP: __( 'AI Engine connects directly to AI services. We recommend starting with OpenAI. Visit the %s website to create an account and generate an API Key. Then, go to <b>Settings > AI > Environments for AI</b> to enter your key. Once done, try talking to the default chatbot - it should work right away! 🐱', 'ai-engine' ),
487 AI_ENV_SETUP_URL: 'https://platform.openai.com/api-keys',
488 AI_ENV_SETUP_LINK_TEXT: __( 'OpenAI ↗', 'ai-engine' ),
489 PINECONE_SETUP: __( 'You choose to use Embeddings. To use them, you need to a Pinecone account. Visit the %s website to create an account, then insert your Pinecone API Key in the <b>Settings</b> tab.', 'ai-engine' ),
490 PINECONE_SETUP_URL: 'https://app.pinecone.io',
491 PINECONE_SETUP_LINK_TEXT: __( 'Pinecone ↗', 'ai-engine' ),
492 INTRO: __( 'Boost your WordPress with AI, now! Please start with our %1$s. Then move to our %2$s. Have a look at our %3$s. And make sure you read the %4$s. Have fun! 🎵', 'ai-engine' ),
493 INTRO_TUTORIAL_URL: 'https://meowapps.com/ai-engine/tutorial/',
494 INTRO_TUTORIAL_TEXT: __( 'tutorial ↗', 'ai-engine' ),
495 INTRO_DOCS_URL: 'https://ai.thehiddendocs.com/',
496 INTRO_DOCS_TEXT: __( 'documentation ↗', 'ai-engine' ),
497 INTRO_ADDONS_URL: 'https://meowapps.com/products/category/ai-add-ons/',
498 INTRO_ADDONS_TEXT: __( 'add-ons ↗', 'ai-engine' ),
499 INTRO_DISCLAIMER_URL: 'https://meowapps.com/ai-engine/disclaimer/',
500 INTRO_DISCLAIMER_TEXT: __( 'disclaimer ↗', 'ai-engine' ),
501 MODULES_INTRO: __( 'To avoid cluttering the UI and your WP, only enable the features you need.', 'ai-engine' ),
502 ALERT_INJECT_BUT_NO_POPUP: __( 'You choose to inject the chatbot in your website. You probably also want to use the chatbot in a Popup.', 'ai-engine' ),
503 ALERT_CASUALLY_BUT_NO_FINETUNE: __( 'Normally, you should not check the Casually Fine Tuned option with a non-finetuned model. Make sure that\'s what you want.', 'ai-engine' ),
504 ALERT_CONTENTAWARE_BUT_NO_CONTENT: __( 'Content Aware requires your Context to use the {CONTENT} placeholder. It will be replaced by the content of page the chatbot is on. More info %s.', 'ai-engine' ),
505 ALERT_CONTENTAWARE_URL: 'https://meowapps.com/ai-engine/tutorial/#contextualization',
506 ALERT_CONTENTAWARE_LINK_TEXT: __( 'here ↗', 'ai-engine' ),
507 SET_AS_DEFAULT_PARAMETERS: __( 'Set as Default Parameters', 'ai-engine' ),
508 SET_AS_DEFAULT_PARAMETERS_HELP: __( 'Set the parameters above as the default parameters for the chatbot. You can then use the shortcode [mwai_chat] anywhere on your website.', 'ai-engine' ),
509 INJECT_DEFAULT_CHATBOT: __( 'Inject Default Chatbot in Entire Website', 'ai-engine' ),
510 INJECT_DEFAULT_CHATBOT_HELP: __( 'Inject the chatbot [mwai_chat] in the entire website.', 'ai-engine' ),
511 CHATGPT_STYLE_INTRO: __( 'Keep in mind that you can also style the chatbot (or a specific chatbot, if you use many) by injecting CSS. Have a look %1$s. More information in the %2$s.', 'ai-engine' ),
512 CHATGPT_STYLE_CSS_URL: 'https://meowapps.com/ai-engine/tutorial/#apply-custom-style-to-the-chatbot',
513 CHATGPT_STYLE_CSS_TEXT: __( 'here ↗', 'ai-engine' ),
514 CHATGPT_STYLE_FAQ_URL: 'https://meowapps.com/ai-engine/faq',
515 CHATGPT_STYLE_FAQ_TEXT: __( 'FAQ ↗', 'ai-engine' ),
516 TYPEWRITER_EFFECT: __( 'Typewriter Effect', 'ai-engine' ),
517 TYPEWRITER_EFFECT_HELP: __( 'The reply from AI will be typewrited. This delays the final output! Absolutely not recommended. Please use <b>Streaming</b> instead.', 'ai-engine' ),
518 CHATBOT_MODERATION_HELP: __( 'If the conversation seems offensive, the chatbot will reject it.', 'ai-engine' ),
519 CUSTOM_URL: __( 'Custom URL', 'ai-engine' ),
520 ASSISTANT_NO_FILE_SEARCH: __( 'This assistant does not support File Search. You can activate it on the %s dashboard. Then, use the Refresh button in the Assistants tab.', 'ai-engine' ),
521 ASSISTANT_NO_FILE_SEARCH_URL: 'https://platform.openai.com/assistants',
522 ASSISTANT_NO_FILE_SEARCH_LINK_TEXT: __( 'OpenAI Assistants ↗', 'ai-engine' ),
523 ASSISTANT_FILE_SEARCH: __( 'File Search will be used when the users upload documents. If the user uploads images, those will be handled by AI Vision if the model supports it and if it is enabled.', 'ai-engine' ),
524 MCP_SERVERS_INFO: __( 'MCP (Model Context Protocol) servers enable AI models to interact with external tools and systems. The URL must be a secure HTTPS endpoint that implements the MCP protocol. You can configure multiple servers to provide different capabilities to your AI models.', 'ai-engine' ),
525 REMOTE_ACCESS_INFO: __( 'AI Engine provides two ways to integrate with external systems: REST API and Model Context Protocol (MCP).<h2>REST API</h2><p>Ideal for automation platforms like Make.com, Zapier, or n8n. Use this when you want to trigger AI operations from external services or integrate AI Engine into your existing workflows.</p><h2>MCP</h2><p><u>How to Use</u></p><ul><li>- <b>Claude Desktop App:</b> Use the <code>mcp.js</code> relay. Check <code>/labs/mcp.md</code> for setup instructions.</li><li>- <b>OpenAI/ChatGPT:</b> Limited to Deep Research mode with only <code>search</code> and <code>fetch</code> tools (requires Tuned Core enabled).</li><li>- <b>Claude.ai:</b> Currently not supported.</li></ul><p><u>Available Tools</u></p><ul><li>- <b>Full access (Claude Desktop):</b> WordPress management, plugin/theme development, SEO Engine, Code Engine snippets</li><li>- <b>Limited access (OpenAI):</b> Only search and fetch WordPress posts/pages</li></ul><p><u>For Developers</u></p><p>Extend functionality using <code>mwai_mcp_tools</code> and <code>mwai_mcp_callback</code> filters. See <code>dev-notes.md</code> for details.</p><p><b>Note:</b> This makes WordPress an MCP server. For connecting TO external MCP servers, use the Orchestration module.</p>', 'ai-engine' ),
526 KNOWLEDGE_INFO: __( 'Embeddings are textual data converted into vectors for similarity search. You can manage embeddings in the Knowledge tab, where you can switch from EDIT to AI SEARCH mode to query your knowledge base.<br/><br/>Embeddings are synchronized with vector databases like %1$s or Qdrant. You can create, edit, and search embeddings, then use Sync to process your posts and create/update embeddings as needed.<br/><br/>Both chatbots and AI Forms can use embeddings to enrich their answers with relevant context from your knowledge base.<br/><br/><b>If you want to discuss embeddings with other users, visit the %2$s.</b>', 'ai-engine' ),
527 KNOWLEDGE_PINECONE_URL: 'https://www.pinecone.io/',
528 KNOWLEDGE_PINECONE_TEXT: __( 'Pinecone ↗', 'ai-engine' ),
529 KNOWLEDGE_DISCORD_URL: 'https://discord.gg/bHDGh38',
530 KNOWLEDGE_DISCORD_TEXT: __( 'Meow Apps Discord Server ↗', 'ai-engine' ),
531 ORCHESTRATION_INFO: __( 'MCP servers extend AI capabilities by providing tools and functions that AI models can call during conversations. Configure external MCP servers here to give your chatbots access to specialized tools like web browsing, file system access, database queries, or custom business logic.<br/><br/>Each server requires a secure HTTPS URL implementing the MCP protocol and may require authentication via bearer token. Once configured, the tools from these servers become available to AI models through function calling.<br/><br/><b>Note:</b> This is for connecting TO external MCP servers. To make your WordPress accessible AS an MCP server for AI agents like Claude, use the MCP option under Remote Access.', 'ai-engine' ),
532 };
533
534 i18n.CHATBOT = {
535 CHATBOT_BUILDER: __( 'Chatbot Builder', 'ai-engine' ),
536 RESET_PARAMS: __( 'Reset Parameters', 'ai-engine' ),
537 };
538
539 i18n.STATISTICS = {
540 ABSOLUTE_HELP: __( 'Using Absolute, Day represents <i>today</i>. Otherwise, the <i>past 24 hours</i>. Same logic applies to the other timeframes.', 'ai-engine' ),
541 NO_CREDITS_MESSAGE: __( 'Message for No Credits', 'ai-engine' ),
542 FULL_ACCESS_USERS: __( 'Full-Access Users', 'ai-engine' ),
543 ENABLE_LIMITS: __( 'Enable Limits', 'ai-engine' ),
544 };
545
546 i18n.CONTENT_GENERATOR = {
547 INTRO: __( 'Generate high-quality articles with AI assistance. Create comprehensive content with customizable templates, writing styles, and automatic SEO optimization. Perfect for blogs, documentation, and marketing materials.', 'ai-engine' ),
548 TITLE_MISSING: __( 'Title is missing!', 'ai-engine' ),
549 SECTIONS_MISSING: __( 'Sections are missing!', 'ai-engine' ),
550 SINGLE_GENERATE: __( 'Single Generate', 'ai-engine' ),
551 BULK_GENERATE: __( 'Bulk Generate', 'ai-engine' ),
552 CONTENT_PARAMS: __( 'Content Params', 'ai-engine' ),
553 POST_PARAMS: __( 'Post Params', 'ai-engine' ),
554 CONTENT_PARAMS_INTRO: __( 'Input fields are displayed for certain placeholders used in prompts, such as {LANGUAGE} or {WRITING_TONE}', 'ai-engine' ),
555 CUSTOM_LANGUAGE: __( 'Custom Language', 'ai-engine' ),
556 WRITING_STYLE: __( 'Writing Style', 'ai-engine' ),
557 WRITING_TONE: __( 'Writing Tone', 'ai-engine' ),
558 CUSTOM_LANGUAGE_HELP: __( 'AI supports all languages with varying quality. %s.', 'ai-engine' ),
559 CUSTOM_LANGUAGE_URL: 'https://meowapps.com/ai-engine/faq/#languages',
560 CUSTOM_LANGUAGE_LINK_TEXT: __( 'Learn more ↗', 'ai-engine' ),
561 MODEL_HELP: __( 'It is recommended to use Turbo or GPT-4 to write texts.', 'ai-engine' ),
562 PROMPTS_INTRO: __( 'Prompts represent the exact request sent to the AI. The variables between curly braces will be replaced by the content of the corresponding field. Prompts are saved in your templates.', 'ai-engine' ),
563 PROMPT_TITLE: __( 'Prompt for <b>Title</b>', 'ai-engine' ),
564 PROMPT_SECTIONS: __( 'Prompt for <b>Sections</b>', 'ai-engine' ),
565 PROMPT_CONTENT: __( 'Prompt for <b>Content</b>', 'ai-engine' ),
566 PROMPT_EXCERPT: __( 'Prompt for <b>Excerpt</b>', 'ai-engine' ),
567 POST_CREATED: __( 'Post Created', 'ai-engine' ),
568 POST_CREATED_AS_DRAFT: __( 'The post was created as a draft.', 'ai-engine' ),
569 CONTENT_HELP: __( 'You can modify the content before using "Create Post". Markdown is supported, and will be converted to HTML when the post is created.', 'ai-engine' ),
570 SECTIONS_HELP: __( 'Add, rewrite, remove, or reorganize those sections as you wish before (re)clicking on "Generate Content". Markdown format is recommended.', 'ai-engine' ),
571 GENERATE_EXCERPT: __( 'Generate Excerpt', 'ai-engine' ),
572 GENERATE_CONTENT: __( 'Generate Content', 'ai-engine' ),
573 GENERATE_SECTIONS: __( 'Generate Sections', 'ai-engine' ),
574 PARAGRAPHS_PER_SECTION: __( '# of Paragraphs per Section', 'ai-engine' ),
575 NUMBER_OF_SECTIONS: __( '# of Sections', 'ai-engine' ),
576 ADVICE: __( 'Advice', 'ai-engine' ),
577 SECTIONS: __( 'Sections', 'ai-engine' ),
578 USE_MAX_TOKENS: __( 'Use Max Tokens', 'ai-engine' ),
579 TOPICS_HELP: __( 'Write or paste your topics below. Each line will be used as a topic. The <b>Context</b> on the left will be applied to all topics. The same <b>Params</b> and <b>Prompts</b> will be used as with the <b>Single Generate</b>, so make sure you get satisfying results with it first. This <b>takes time</b>, so relax and enjoy some coffee ☕️ and tea 🍵 :)', 'ai-engine' ),
580 GENERATED_POSTS: __( 'Generated Posts', 'ai-engine' ),
581 USE_TOPICS_AS_TITLES: __( 'Use Topics as Titles', 'ai-engine' ),
582 NOTHING_YET: __( 'Nothing yet.', 'ai-engine' ),
583 BULK_ERROR_CONFIRM: __( 'An error was caught ({MESSAGE}). Should we continue?', 'ai-engine' ),
584 GENERATE_ALL: __( 'Generate All', 'ai-engine' ),
585 EDIT_POST: __( 'Edit Post', 'ai-engine' ),
586 CREATE_POST: __( 'Create Post', 'ai-engine' ),
587 TITLE_TOO_SHORT: __( 'The title is too short. It should be at least 3 words.', 'ai-engine' ),
588 TITLE_TOO_SHORT_2: __( 'The title is too short. It should be at least 40 characters.', 'ai-engine' ),
589 TITLE_TOO_LONG: __( 'The title is too long. It should be less than 8 words.', 'ai-engine' ),
590 TITLE_TOO_LONG_2: __( 'The title is too long. It should be less than 70 characters.', 'ai-engine' ),
591 };
592
593 i18n.TEMPLATES = {
594 TEMPLATE: __( 'Template', 'ai-engine' ),
595 TEMPLATES: __( 'Templates', 'ai-engine' ),
596 DELETE_CONFIRM: __( 'Are you sure you want to delete this template?', 'ai-engine' ),
597 DELETE_ALL_CONFIRM: __( 'Are you sure you want to delete all the templates?', 'ai-engine' ),
598 NEW_TEMPLATE_NAME: __( 'New Template', 'ai-engine' ),
599 EDIT: __( 'EDIT', 'ai-engine' )
600 };
601
602 i18n.PLAYGROUND = {
603 INTRO: __( 'Welcome to the AI Playground! Here, you can play with different AI models and ask the UI to perform various tasks for you. You can ask it to write, rewrite, or translate an article, categorize words or elements into groups, write an email, etc. <b>Let me know if there are any new features you would like to see!</b> Have fun 🥳', 'ai-engine' ),
604 PROMPT: __( 'Query / Prompt', 'ai-engine' ),
605 REPLY: __( 'Reply', 'ai-engine' ),
606 };
607
608 i18n.ALERTS = {
609 FINETUNING_STARTED: __( 'Fine-tuning started! Check its progress in the Models section. Depending on your dataset size, it may take a while (from a few minutes to days).', 'ai-engine' ),
610 RESET_BUILDER: __( 'This will delete all the rows in the builder. Are you sure?', 'ai-engine' ),
611 DELETE_FINETUNE: __( 'You are going to delete this fine-tune. Are you sure?\n\nPlease note that it will take a while before it is actually deleted. This might be a temporary issue of OpenAI.', 'ai-engine' ),
612 FINETUNE_ALREADY_DELETED: __( 'This fine-tune was already deleted. It will be removed from the list.', 'ai-engine' ),
613 CHECK_CONSOLE: __( 'Error! Check your console for more details.', 'ai-engine' ),
614 DATASET_UPLOADED: __( 'Uploaded successfully! You can now train a model based on this dataset.', 'ai-engine' ),
615 ONLY_SUPPORTS_FILES: __( 'This only supports JSON, JSONL, and CSV files. Check the Instructions section below.', 'ai-engine' ),
616 EMPTY_LINES_DATASET: __( 'Some lines were empty. Make sure the CSV has a header row and that the columns are named \'prompt\' and \'completion\'. For debugging, an empty line was logged to the console.', 'ai-engine' ),
617 EMPTY_LINES_EMBEDDINGS: __( 'Some lines were empty. Make sure the CSV has a header row and that the columns are named \'title\' and \'content\'. For debugging, an empty line was logged to the console.', 'ai-engine' ),
618 ARE_YOU_SURE: __( 'Are you sure?', 'ai-engine' ),
619 };
620
621 i18n.FINETUNING = {
622 MODELS_INTRO: __( 'The AI models you have fine-tuned. To create more, visit <b>Files</b>.', 'ai-engine' ),
623 LEGACY_MODELS_INTRO: __( 'The AI models you have fine-tuned. <b>Do not use legacy fine-tuning anymore (based on models prior to GPT 3.5). Their deprecation has been %s for January 4th, 2024.</b><br />', 'ai-engine' ),
624 LEGACY_MODELS_DEPRECATION_URL: 'https://platform.openai.com/docs/guides/legacy-fine-tuning',
625 LEGACY_MODELS_DEPRECATION_TEXT: __( 'announced by OpenAI ↗', 'ai-engine' ),
626 FILES_INTRO: __( 'The files you have uploaded to OpenAI. To create a new dataset file, switch from <b>Model & Files</b> to <b>Dataset Editor</b>. To train a new model, click on the <i>magic wand</i>.', 'ai-engine' ),
627 MODEL_FINETUNE: __( 'Model Finetune', 'ai-engine' ),
628 MODELS_FILES: __( 'Models & Files', 'ai-engine' ),
629 DATASET_EDITOR: __( 'Dataset Editor', 'ai-engine' ),
630 EDITOR: __( 'Editor', 'ai-engine' ),
631 GENERATOR: __( 'Generator', 'ai-engine' ),
632 HUGE_DATASET_WARNING: __( 'Caution: The data is too large to be saved in your browser\'s local storage.', 'ai-engine' ),
633 NO_FINETUNES_YET: __( 'No fine-tunes found. Refresh the list, or create a new one (via a dataset).', 'ai-engine' ),
634 CLEAN_MODELS_LIST: __( 'Clean Models List', 'ai-engine' ),
635 DELETED_FINETUNE_ISSUE: __( 'For some reason, OpenAI still return the models even after you deleted them. Don\'t worry, AI Engine will do the cleanup for you! You can force the cleanup by using this button. It takes a bit of time depending on the total of models you have.', 'ai-engine' ),
636 };
637
638 i18n.DISCUSSIONS = {
639 NEW_CHAT: __( 'New Chat', 'ai-engine' ),
640 NO_MESSAGES_YET: __( 'No messages yet', 'ai-engine' ),
641 RENAME: __( 'Rename', 'ai-engine' ),
642 DELETE: __( 'Delete', 'ai-engine' ),
643 UNTITLED: __( 'Untitled', 'ai-engine' ),
644 TITLE_GENERATION_PROMPT: __( 'Based on the following conversation, generate a concise and specific title for the discussion, strictly less than 64 characters. Focus on the main topic, avoiding unnecessary words such as articles, pronouns, or adjectives. Do not include any punctuation at the end. Do not include anything else than the title itself, only one sentence, no line breaks, just the title.', 'ai-engine' ),
645 };
646
647 i18n.WRITING_STYLES = {
648 INFORMATIVE: __( 'Informative', 'ai-engine' ),
649 DESCRIPTIVE: __( 'Descriptive', 'ai-engine' ),
650 CREATIVE: __( 'Creative', 'ai-engine' ),
651 NARRATIVE: __( 'Narrative', 'ai-engine' ),
652 PERSUASIVE: __( 'Persuasive', 'ai-engine' ),
653 REFLECTIVE: __( 'Reflective', 'ai-engine' ),
654 ARGUMENTATIVE: __( 'Argumentative', 'ai-engine' ),
655 ANALYTICAL: __( 'Analytical', 'ai-engine' ),
656 EVALUATIVE: __( 'Evaluative', 'ai-engine' ),
657 JOURNALISTIC: __( 'Journalistic', 'ai-engine' ),
658 TECHNICAL: __( 'Technical', 'ai-engine' ),
659 };
660
661 i18n.WRITING_TONES = {
662 NEUTRAL: __( 'Neutral', 'ai-engine' ),
663 FORMAL: __( 'Formal', 'ai-engine' ),
664 ASSERTIVE: __( 'Assertive', 'ai-engine' ),
665 CHEERFUL: __( 'Cheerful', 'ai-engine' ),
666 HUMOROUS: __( 'Humorous', 'ai-engine' ),
667 INFORMAL: __( 'Informal', 'ai-engine' ),
668 INSPIRATIONAL: __( 'Inspirational', 'ai-engine' ),
669 PROFESSIONAL: __( 'Professional', 'ai-engine' ),
670 CONFLUENT: __( 'Confluent', 'ai-engine' ),
671 EMOTIONAL: __( 'Emotional', 'ai-engine' ),
672 PERSUASIVE: __( 'Persuasive', 'ai-engine' ),
673 SUPPORTIVE: __( 'Supportive', 'ai-engine' ),
674 SARCASTIC: __( 'Sarcastic', 'ai-engine' ),
675 CONDESCENDING: __( 'Condescending', 'ai-engine' ),
676 SKEPTICAL: __( 'Skeptical', 'ai-engine' ),
677 NARRATIVE: __( 'Narrative', 'ai-engine' ),
678 JOURNALISTIC: __( 'Journalistic', 'ai-engine' ),
679 };
680
681 i18n.EMBEDDINGS = {
682 EDIT: __( 'EDIT', 'ai-engine' ),
683 AI_SEARCH: __( 'AI SEARCH', 'ai-engine' ),
684 SYNC_POSTS: __( 'Sync Posts', 'ai-engine' ),
685 AUTO_SYNC_POSTS: __( 'Auto-Sync Posts', 'ai-engine' ),
686 AUTO_SYNC_POSTS_DESCRIPTION: __( 'Embeddings will be created, updated or removed based on the activity related to your posts.', 'ai-engine' ),
687 REWRITE_CONTENT: __( 'Rewrite Content', 'ai-engine' ),
688 REWRITE_CONTENT_DESCRIPTION: __( 'Shorten and improve the content for your embedding using the default model.', 'ai-engine' ),
689 FORCE_RECREATE: __( 'Force Recreate', 'ai-engine' ),
690 FORCE_RECREATE_DESCRIPTION: __( 'Force recreation of existing embeddings even when content, model, and dimensions haven\'t changed. Note: New posts without embeddings will always be synced regardless of this setting.', 'ai-engine' ),
691 DELETE_ALL_EMBEDDINGS: __( 'Delete All Embeddings', 'ai-engine' ),
692 DELETE_ALL_EMBEDDINGS_CONFIRM: __( 'Are you sure you want to delete all the embeddings in this environment?', 'ai-engine' ),
693 REWRITE_PROMPT_DESCRIPTION: __( 'Prompt for the rewrite. Supports {CONTENT}, {TITLE}, {URL}, {EXCERPT}, {LANGUAGE}, {ID}.', 'ai-engine' ),
694 SYNC_ALL: __( 'Sync All', 'ai-engine' ),
695 SYNC_ONE: __( 'Sync One', 'ai-engine' ),
696 ADD_INDEX: __( 'Add Index', 'ai-engine' ),
697 ADD_INDEX_DESCRIPTION: __( 'An index is like a database, and contains embeddings. You can have many indexes and switch between them. The indexes are hosted on Pinecone.', 'ai-engine' ),
698 NO_NAMESPACE_SUPPORT: __( 'Note: This server does not support namespaces.', 'ai-engine' ),
699 };
700
701 i18n.ERROR = {
702 UPDATING_OPTIONS: __( 'An error occurred while updating the options.' ),
703 GETTING_OPTIONS: __( 'An error occurred while getting the options.' ),
704 CHECK_YOUR_CONSOLE: __( 'For more information, check <a target="_blank" href="https://meowapps.com/tutorial-network-activity-dev-tools/">your console ↗</a>. You might also want to check your <a target="_blank" href="https://meowapps.com/tutorial-php-error-logs/">PHP Error Logs ↗</a>.', 'ai-engine' ),
705 SESSION_EXPIRED: __( 'Your session has expired. Please refresh the page to continue using AI Engine.', 'ai-engine' ),
706 COULD_NOT_PARSE_ERROR_STREAM: __( 'Could not parse the \'error\' stream.', 'ai-engine' ),
707 COULD_NOT_PARSE_END_STREAM: __( 'Could not parse the \'end\' stream.', 'ai-engine' ),
708 // Chatbot specific errors
709 INVALID_API_KEY: __( 'Invalid API key: Please check your OpenAI API key in settings.', 'ai-engine' ),
710 RATE_LIMIT_EXCEEDED: __( 'Rate limit exceeded: Too many requests. Please try again later.', 'ai-engine' ),
711 NETWORK_ERROR: __( 'Network error: Failed to establish connection to the AI service.', 'ai-engine' ),
712 AUTHENTICATION_FAILED: __( 'Authentication failed: Your session has expired. Please refresh the page.', 'ai-engine' ),
713 INTERNAL_SERVER_ERROR: __( 'Internal server error: An unexpected error occurred. Please try again.', 'ai-engine' ),
714 PROCESSING_ERROR: __( 'An error occurred while processing your request. Please try again.', 'ai-engine' ),
715 // Realtime errors
716 MEDIADEVICES_NOT_AVAILABLE: __( 'MediaDevices API not available. Please ensure you are using HTTPS and a modern browser.', 'ai-engine' ),
717 MICROPHONE_ACCESS_FAILED: __( 'Failed to access microphone. Please ensure microphone permissions are granted and try again.', 'ai-engine' ),
718 CONNECTION_FAILED: __( 'Failed to establish connection with OpenAI servers. Please try again.', 'ai-engine' ),
719 };
720
721 // Console/debug messages
722 i18n.DEBUG = {
723 CRASH_IN_MARKDOWN: __( 'Crash in markdown-to-jsx! Reverting to plain text.', 'ai-engine' ),
724 AI_ENGINE_COULD_NOT_FIND_BLOCK: __( 'AI Engine: Could not find block element for', 'ai-engine' ),
725 AI_WAND_TABLE_REQUIRES_DATA: __( 'AI Wand: Table requires structured data for proper update', 'ai-engine' ),
726 AI_WAND_COULD_NOT_FIND_SELECTION: __( 'AI Wand: Could not find selection, replacing entire block content', 'ai-engine' ),
727 NEW_TOKEN_RECEIVED: __( '[MWAI] 🔐 New token received', 'ai-engine' ),
728 NONCE_ERROR_DETECTED: __( '[MWAI] Nonce error detected, attempting to refresh...', 'ai-engine' ),
729 };
730
731 export default i18n;
732