PluginProbe ʕ •ᴥ•ʔ
AI Engine – The Chatbot, AI Framework & MCP for WordPress / 3.5.1
AI Engine – The Chatbot, AI Framework & MCP for WordPress v3.5.1
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 1 month ago i18n.js 1 month ago index.js 1 month ago vendor.js 1 month ago
i18n.js
786 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 ENV_MOVES_BELOW_USAGE: __( 'Once everything is set up, this panel moves below Usage automatically.', 'ai-engine' ),
51 WINDOW_ANIMATION: __( 'Window Animation', 'ai-engine' ),
52 ZOOM: __( 'Zoom', 'ai-engine' ),
53 SLIDE: __( 'Slide', 'ai-engine' ),
54 FADE: __( 'Fade', 'ai-engine' ),
55 VOICE: __( 'Voice', 'ai-engine' ),
56 TALK_MODE: __( 'Talk Mode', 'ai-engine' ),
57 HANDS_FREE: __( 'Hands-Free', 'ai-engine' ),
58 HOLD_TO_TALK: __( 'Hold to Talk', 'ai-engine' ),
59 ICON: __( 'Icon', 'ai-engine' ),
60 ICON_TEXT: __( 'Icon Text', 'ai-engine' ),
61 ICON_TEXT_DELAY: __( 'Icon Text Delay', 'ai-engine' ),
62 ICON_SIZE: __( 'Icon Size', 'ai-engine' ),
63 FULL_SCREEN: __( 'Full Screen', 'ai-engine' ),
64 CASUALLY_FINE_TUNED: __( 'Casually Fine-Tuned', 'ai-engine' ),
65 CONTENT_AWARE: __( 'Content Aware', 'ai-engine' ),
66 TITLE: __( 'Title', 'ai-engine' ),
67 TOPIC: __( 'Topic', 'ai-engine' ),
68 TOPICS: __( 'Topics', 'ai-engine' ),
69 SPACING: __( 'Spacing', 'ai-engine' ),
70 BORDER_RADIUS: __( 'Border Radius', 'ai-engine' ),
71 FONT_SIZE: __( 'Font Size', 'ai-engine' ),
72 FONT_COLOR: __( 'Font Color', 'ai-engine' ),
73 BORDER_COLOR: __( 'Border Color', 'ai-engine' ),
74 BACK_PRIMARY_COLOR: __( 'Back Primary Color', 'ai-engine' ),
75 BACK_SECONDARY_COLOR: __( 'Back 2nd Color', 'ai-engine' ),
76 HEADER_COLOR: __( 'Header Color', 'ai-engine' ),
77 HEADER_BACKGROUND_COLOR: __( 'Header Back Color', 'ai-engine' ),
78 HEADER_SUBTITLE: __( 'Header Subtitle', 'ai-engine' ),
79 BUBBLE_COLOR: __( 'Bubble Color', 'ai-engine' ),
80 BACK_USER_COLOR: __( 'Back User Color', 'ai-engine' ),
81 BACK_AI_COLOR: __( 'Back AI Color', 'ai-engine' ),
82 BACK_AI_SECONDARY_COLOR: __( 'Back AI 2nd Color', 'ai-engine' ),
83 AVATAR_MESSAGE_BACKGROUND_COLOR: __( 'Message Back', 'ai-engine' ),
84 AVATAR_MESSAGE_FONT_COLOR: __( 'Message Color', 'ai-engine' ),
85 ACCENT_COLOR: __( 'Accent Color', 'ai-engine' ),
86 POPUP_ICON: __( 'Popup Icon', 'ai-engine' ),
87 CUSTOM_ICON: __( 'Custom Icon (URL or Emoticon)', 'ai-engine' ),
88 FEATURES: __( 'Features', 'ai-engine' ),
89 TIMEFRAME: __( 'Timeframe', 'ai-engine' ),
90 ABSOLUTE: __( 'Absolute', 'ai-engine' ),
91 NONE: __( 'None', 'ai-engine' ),
92 EDITORS_ADMINS: __( 'Editors & Admins', 'ai-engine' ),
93 ADMINS_ONLY: __( 'Admins Only', 'ai-engine' ),
94 MAINTENANCE: __( 'Maintenance', 'ai-engine' ),
95 CREDITS: __( 'Credits', 'ai-engine' ),
96 TYPE: __( 'Type', 'ai-engine' ),
97 LIMITS: __( 'Limits', 'ai-engine' ),
98 USERS: __( 'Users', 'ai-engine' ),
99 USER: __( 'User', 'ai-engine' ),
100 GUESTS: __( 'Guests', 'ai-engine' ),
101 GUEST: __( 'Guest', 'ai-engine' ),
102 OPENAI: __( 'Open AI', 'ai-engine' ),
103 LICENSE_TAB: __( 'License', 'ai-engine' ),
104 // TODO: Remove FINETUNES, ALERT_CASUALLY_BUT_NO_FINETUNE, MODEL_FINETUNE and any HELP.FINETUNES string after 2027-02 (OpenAI ends fine-tune job creation on 2027-01-06).
105 FINETUNES: __( 'Finetunes', 'ai-engine' ),
106 MODELS: __( 'Models', 'ai-engine' ),
107 FILES: __( 'Files', 'ai-engine' ),
108 ASSISTANT: __( 'Assistant', 'ai-engine' ),
109 EDITOR_ASSISTANT: __( 'AI Assistant', 'ai-engine' ),
110 EDITOR_ASSISTANT_HELP: __( 'An AI sidebar in the block editor to help with your content. The Pro Version supports editing the post directly.', 'ai-engine' ),
111 ASSISTANTS: __( 'Assistants', 'ai-engine' ),
112 UTILITIES: __( 'Utilities', 'ai-engine' ),
113 POSTS_SUGGESTIONS: __( 'AI Copilot, AI Suggestions, Magic Wands', 'ai-engine' ),
114 POSTS_SUGGESTIONS_HELP: __( 'Tools to brainstorm/write faster and better.', 'ai-engine' ),
115 GENERATORS: __( 'Generators', 'ai-engine' ),
116 CONTENT_GENERATOR: __( 'Content Generator', 'ai-engine' ),
117 CONTENT_GENERATOR_HELP: __( 'Transform ideas into polished articles with AI-powered content creation.', 'ai-engine' ),
118 IMAGES_GENERATOR: __( 'Images Generator', 'ai-engine' ),
119 IMAGES_GENERATOR_HELP: __( 'Bring your vision to life with stunning AI-generated visuals.', 'ai-engine' ),
120 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' ),
121 PLAYGROUND: __( 'Playground', 'ai-engine' ),
122 PLAYGROUND_HELP: __( 'Experiment with AI models and unlock endless creative possibilities.', 'ai-engine' ),
123 FORMS: __( 'Forms', 'ai-engine' ),
124 FORMS_HELP: __( 'Create dynamic, intelligent forms that adapt and respond based on user input with conditional logic.', 'ai-engine' ),
125 SEARCH: __( 'Search', 'ai-engine' ),
126 SEARCH_HELP: __( 'Override the default WordPress search with AI powered keywords or embeddings.', 'ai-engine' ),
127 INSIGHTS_HELP: __( 'Enable Query Logs, Usage and Limits.', 'ai-engine' ),
128 CLIENT_DEBUG: __( 'Client Debug', 'ai-engine' ),
129 CLIENT_DEBUG_HELP: __( 'Debugging information for Chatbots and Forms will be displayed in the Browser Console.', 'ai-engine' ),
130 SERVER_DEBUG: __( 'Server Debug', 'ai-engine' ),
131 SERVER_DEBUG_HELP: __( 'API calls and server events will be logged and displayed in the Logs Console.', 'ai-engine' ),
132 MCP_DEBUG: __( 'MCP Debug', 'ai-engine' ),
133 MCP_DEBUG_HELP: __( 'Debugging information from MCP will be written directly to the PHP error logs using error_log().', 'ai-engine' ),
134 QUERIES_DEBUG: __( 'Queries Debug', 'ai-engine' ),
135 QUERIES_DEBUG_HELP: __( 'Full queries and responses will be written directly to the PHP error logs using error_log().', 'ai-engine' ),
136 DEV_MODE: __( 'Dev Mode', 'ai-engine' ),
137 DEV_MODE_HELP: __( 'Run tasks frequently for debugging.', 'ai-engine' ),
138 CLEAR_LOGS: __( 'Clear Logs', 'ai-engine' ),
139 REFRESH_LOGS: __( 'Refresh Logs', 'ai-engine' ),
140 API_KEY: __( 'API Key', 'ai-engine' ),
141 USAGE_HELP: __( 'Estimates only. Check your AI service for actual costs. Insights module provides better accuracy.', 'ai-engine' ),
142 RESET_USAGE_SURE: __( 'Are you sure you want to reset the usage data?', 'ai-engine' ),
143 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' ),
144 USAGE_PRO_HELP_URL: 'https://meowapps.com/ai-engine/',
145 USAGE_PRO_HELP_LINK_TEXT: __( 'AI Engine Pro ↗', 'ai-engine' ),
146 LANGUAGE: __( 'Language', 'ai-engine' ),
147 HIDE: __( 'Hide', 'ai-engine' ),
148 SHOW: __( 'Show', 'ai-engine' ),
149 CONTENT: __( 'Content', 'ai-engine' ),
150 IMAGES: __( 'Images', 'ai-engine' ),
151 IMAGES_AND_FILES: __( 'Images & Files', 'ai-engine' ),
152 EXCERPT: __( 'Excerpt', 'ai-engine' ),
153 GENERATE: __( 'Generate', 'ai-engine' ),
154 MODEL_PARAMS: __( 'Model Params', 'ai-engine' ),
155 CONTEXT_PARAMS: __( 'Context Params', 'ai-engine' ),
156 PROMPT: __( 'Prompt', 'ai-engine' ),
157 PROMPTS: __( 'Prompts', 'ai-engine' ),
158 LABEL: __( 'Label', 'ai-engine' ),
159 SYSTEM: __( 'System', 'ai-engine' ),
160 SHORTCODE: __( 'Shortcode', 'ai-engine' ),
161 SHORTCODES: __( 'Shortcodes', 'ai-engine' ),
162 RESOLVE: __( 'Resolve', 'ai-engine' ),
163 MAX_MESSAGES: __( 'Max Messages', 'ai-engine' ),
164 INPUT_MAX_LENGTH: __( 'Input Max Length', 'ai-engine' ),
165 COMPLIANCE_TEXT: __( 'Compliance Text', 'ai-engine' ),
166 MODERATION: __( 'Moderation', 'ai-engine' ),
167 MODERATION_HELP: __( 'Moderation features with AI.', 'ai-engine' ),
168 FORMATTING: __( 'Formatting', 'ai-engine' ),
169 FORMATTING_HELP: __( 'Format the reply from AI into HTML. This is already done automatically if Markdown is detected in the reply.', 'ai-engine' ),
170 LOGS: __( 'Logs', 'ai-engine' ),
171 QUERY: __( 'Query', 'ai-engine' ),
172 REPLY: __( 'Reply', 'ai-engine' ),
173 CODE: __( 'Code', 'ai-engine' ),
174 EMBEDDINGS: __( 'Embeddings', 'ai-engine' ),
175 QUERY_LOGS: __( 'Query Logs', 'ai-engine' ),
176 KNOWLEDGE: __( 'Knowledge', 'ai-engine' ),
177 KNOWLEDGE_HELP: __( 'Searchable data for AI. Powered by <b>embeddings</b> for now, alternatives will come later.', 'ai-engine' ),
178 REMOTE_ACCESS: __( 'Remote Access', 'ai-engine' ),
179 OTHERS: __( 'Others', 'ai-engine' ),
180 PINECONE_APIKEY_HELP: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
181 PINECONE_APIKEY_URL: 'https://app.pinecone.io/organizations/keys',
182 PINECONE_APIKEY_LINK_TEXT: __( 'Pinecone Account ↗', 'ai-engine' ),
183 QDRANT_APIKEY_HELP: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
184 QDRANT_APIKEY_URL: 'https://cloud.qdrant.io/accounts/',
185 QDRANT_APIKEY_LINK_TEXT: __( 'Qdrant Account ↗', 'ai-engine' ),
186 SERVER: __( 'Server', 'ai-engine' ),
187 PINECONE_SERVER_HELP: __( 'The URL of your host (check your Indexes).', 'ai-engine' ),
188 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' ),
189 QDRANT_SERVER_HELP: __( 'The URL of your cluster (known as Cluster URL).', 'ai-engine' ),
190 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' ),
191 COST: __( 'Cost', 'ai-engine' ),
192 USAGE: __( 'Usage', 'ai-engine' ),
193 USAGE_ESTIMATES_NOTE: __( 'Costs and tokens are estimates. For accurate data and detailed analytics, visit the Insights tab.', 'ai-engine' ),
194 ACTIVITY: __( 'Activity', 'ai-engine' ),
195 TRANSCRIPTION: __( 'Transcription', 'ai-engine' ),
196 TRANSCRIPTION_HELP: __( 'Introduces a \'Transcribe\' tab to easily transform audio/images into text and get AI answers in JSON format.', 'ai-engine' ),
197 AUDIO_TRANSCRIPTION: __( 'Audio-to-Text', 'ai-engine' ),
198 IMAGE_TRANSCRIPTION: __( 'Image-to-Text', 'ai-engine' ),
199 AUDIO_TO_TEXT: __( 'Audio ➡ Text', 'ai-engine' ),
200 IMAGE_TO_TEXT: __( 'Image ➡ Text', 'ai-engine' ),
201 EMBEDDINGS_ENV: __( 'Environment', 'ai-engine' ),
202 EMBEDDINGS_INDEX: __( 'Index', 'ai-engine' ),
203 NAMESPACE: __( 'Namespace', 'ai-engine' ),
204 NAMESPACES: __( 'Namespaces', 'ai-engine' ),
205 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' ),
206 NAMESPACES_HELP: __( 'Enter the namespaces you would like to use on this site, separated by commas.', 'ai-engine' ),
207 ERROR: __( 'Error', 'ai-engine' ),
208 RETRY: __( 'Retry', 'ai-engine' ),
209 AUTO_RETRY: __( 'Auto Retry', 'ai-engine' ),
210 SKIP: __( 'Skip', 'ai-engine' ),
211 AUTO_SKIP: __( 'Auto Skip', 'ai-engine' ),
212 STOP: __( 'Stop', 'ai-engine' ),
213 AUTO_RETRY_DESCRIPTION: __( 'Auto Retry retries actions up to 10 times with increasing delay to avoid timeouts.', 'ai-engine' ),
214 WIDTH: __( 'Width', 'ai-engine' ),
215 MAX_HEIGHT: __( 'Max Height', 'ai-engine' ),
216 APPEARANCE: __( 'Appearance', 'ai-engine' ),
217 THRESHOLDS: __( 'Thresholds', 'ai-engine' ),
218 DASHBOARD: __( 'Dashboard', 'ai-engine' ),
219 ADVANCED: __( 'Advanced', 'ai-engine' ),
220 DISCUSSIONS: __( 'Discussions', 'ai-engine' ),
221 DISCUSSION_TITLES: __( 'Discussion Titles', 'ai-engine' ),
222 SUMMARIZE: __( 'Summarize', 'ai-engine' ),
223 ROWS: __( 'Rows', 'ai-engine' ),
224 POST_TYPE: __( 'Post Type', 'ai-engine' ),
225 GENERATE_CONTENT: __( 'Generate Content', 'ai-engine' ),
226 GENERATE_IMAGES: __( 'Generate Images', 'ai-engine' ),
227 REST_API: __( 'Public API', 'ai-engine' ),
228 ADMIN_BAR: __( 'Admin Bar', 'ai-engine' ),
229 REFRESH: __( 'Refresh', 'ai-engine' ),
230 DELETE: __( 'Delete', 'ai-engine' ),
231 DELETE_ALL: __( 'Delete All', 'ai-engine' ),
232 DELETE_SELECTED: __( 'Delete Selected', 'ai-engine' ),
233 OPENAI_ORGANIZATION_ID: __( 'Organization ID', 'ai-engine' ),
234 OPENAI_AZURE_API_KEY: __( 'API Key', 'ai-engine' ),
235 OPENAI_AZURE_DEPLOYMENT_NAME: __( 'Deployment Name', 'ai-engine' ),
236 OPENAI_AZURE_DEPLOYMENTS: __( 'Deployments', 'ai-engine' ),
237 ENDPOINT: __( 'Endpoint', 'ai-engine' ),
238 HUGGINGFACE_MODELS: __( 'Models', 'ai-engine' ),
239 HUGGINGFACE_MODEL_NAME: __( 'Name', 'ai-engine' ),
240 HUGGINGFACE_MODEL_URL: __( 'API URL', 'ai-engine' ),
241 THEME: __( 'Theme', 'ai-engine' ),
242 THEMES: __( 'Themes', 'ai-engine' ),
243 BANNED_WORDS: __( 'Banned Words', 'ai-engine' ),
244 WORD_BOUNDARIES: __( 'Word Boundaries', 'ai-engine' ),
245 IGNORE: __( 'Ignore', 'ai-engine' ),
246 BANNED_IPS: __( 'Banned IPs', 'ai-engine' ),
247 SECURITY: __( 'Security', 'ai-engine' ),
248 POST_TYPES: __( 'Post Types', 'ai-engine' ),
249 COPY_BUTTON: __( 'Copy Button', 'ai-engine' ),
250 PDF_BUTTON: __( 'PDF Button', 'ai-engine' ),
251 PDF_BUTTON_HELP: __( 'Show a print-to-PDF icon on the last AI message, so users can save the whole conversation.', 'ai-engine' ),
252 MORE_OPTIONS: __( 'More options...', 'ai-engine' ),
253 MORE_APPEARANCE_OPTIONS: __( 'More Appearance Options', 'ai-engine' ),
254 DONE: __( 'Done', 'ai-engine' ),
255 AI_AVATAR: __( 'AI Avatar', 'ai-engine' ),
256 GUEST_AVATAR: __( 'Guest Avatar', 'ai-engine' ),
257 SITE_WIDE_CHATBOT: __( 'Site-Wide Chatbot', 'ai-engine' ),
258 QUERIES_DATA: __( 'Queries Data', 'ai-engine' ),
259 QUERIES_FORMS_DATA: __( 'Queries Form Data', 'ai-engine' ),
260 WEBSPEECH_API: __( 'Web Speech API', 'ai-engine' ),
261 GDPR_CONSENT: __( 'GDPR Consent', 'ai-engine' ),
262 GDPR_TEXT: __( 'GDPR Text', 'ai-engine' ),
263 GDPR_BUTTON: __( 'GDPR Button', 'ai-engine' ),
264 FIX: __( 'Fix', 'ai-engine' ),
265 SPEECH_RECOGNITION: __( 'Speech Recognition', 'ai-engine' ),
266 SPEECH_SYNTHESIS: __( 'Speech Synthesis', 'ai-engine' ),
267 QUERIES: __( 'Queries', 'ai-engine' ),
268 LOCAL_MEMORY: __( 'Local Memory', 'ai-engine' ),
269 ACTIONS: __( 'Actions', 'ai-engine' ),
270 RESET: __( 'Reset', 'ai-engine' ),
271 INCIDENTS_OPENAI: __( 'Incidents (OpenAI)', 'ai-engine' ),
272 PREVIEW: __( 'Preview', 'ai-engine' ),
273 LEGACY_FORMS: __( 'Legacy Forms', 'ai-engine' ),
274 LEGACY_FEATURES: __( 'Legacy Features', 'ai-engine' ),
275 DUPLICATE: __( 'Duplicate', 'ai-engine' ),
276 CHATBOT_EDITOR: __( 'Chatbot Editor', 'ai-engine' ),
277 THEME_EDITOR: __( 'Theme Editor', 'ai-engine' ),
278 STREAMING: __( 'Streaming', 'ai-engine' ),
279 SYNTAX_HIGHLIGHT: __( 'Syntax Highlight', 'ai-engine' ),
280 EVENT_LOGS: __( 'Event Logs', 'ai-engine' ),
281 PRIVACY_FIRST: __( 'Privacy First', 'ai-engine' ),
282 DATA_NOT_AVAILABLE: __( 'Data not available.', 'ai-engine' ),
283 DATA_NOT_AVAILABLE_HINT: __( 'Enable "Queries Data" in Settings > Others > Insights to record the content of queries and replies.', 'ai-engine' ),
284 USAGE_EMPTY_SUBTITLE: __( 'Usage will appear here once AI queries start running.', 'ai-engine' ),
285 ENVIRONMENTS: __( 'Environments', 'ai-engine' ),
286 ENVIRONMENT_EMPTY_TITLE: __( 'No AI environment set up yet', 'ai-engine' ),
287 ENVIRONMENT_EMPTY_SUBTITLE: __( 'Add OpenAI, Anthropic, Google, or any other provider to start.', 'ai-engine' ),
288 SET_UP_ENVIRONMENT: __( 'Set up an environment', 'ai-engine' ),
289 NO_API_KEY: __( 'No API key', 'ai-engine' ),
290 TYPE_UNAVAILABLE: __( 'Type unavailable', 'ai-engine' ),
291 CONFIGURE: __( 'Configure', 'ai-engine' ),
292 EXPORT: __( 'Export', 'ai-engine' ),
293 IMPORT: __( 'Import', 'ai-engine' ),
294 MODIFY_EMBEDDING: __( 'Modify Embedding', 'ai-engine' ),
295 ADD_EMBEDDING: __( 'Add Embedding', 'ai-engine' ),
296 DEV_TOOLS: __( 'Dev Tools', 'ai-engine' ),
297 SINGLE_GENERATE: __( 'Single Generate', 'ai-engine' ),
298 PUBLIC_API: __( 'Public API', 'ai-engine' ),
299 USER_INTERFACE: __( 'User Interface', 'ai-engine' ),
300 INTRO_MESSAGE: __( 'Intro Message', 'ai-engine' ),
301 ADDONS: __( 'Add-ons', 'ai-engine' ),
302 AI_ENVIRONMENT_DEFAULTS: __( 'Default Environments for AI', 'ai-engine' ),
303 ENVIRONMENTS_FOR_AI: __( 'Environments for AI', 'ai-engine' ),
304 ENVIRONMENT_ID: __( 'Environment ID', 'ai-engine' ),
305 EMBEDDINGS_ENVIRONMENT_DEFAULT: __( 'Default Embeddings Environment', 'ai-engine' ),
306 ENVIRONMENT: __( 'Environment', 'ai-engine' ),
307 PLUGIN_DATA: __( 'Plugin Data', 'ai-engine' ),
308 PLUGIN_DATA_DESCRIPTION: __( "The database and all the options of the plugin will be removed on uninstall.", 'ai-engine' ),
309 RESET_LIMITS: __( 'Reset Limits', 'ai-engine' ),
310 VISION: __( 'Vision', 'ai-engine' ),
311 FILE_SEARCH: __( 'File Search', 'ai-engine' ),
312 PROMPT_TO_JSON: __( 'Prompt ➡ JSON', 'ai-engine' ),
313 RESOLUTION: __( 'Resolution', 'ai-engine' ),
314 QUALITY: __( 'Quality', 'ai-engine' ),
315 DEFAULT: __( 'Default', 'ai-engine' ),
316 DEFAULTS: __( 'Defaults', 'ai-engine' ),
317 DEFAULT_FAST: __( 'Fast', 'ai-engine' ),
318 REFRESH_MODELS: __( 'Refresh Models', 'ai-engine' ),
319 AUDIO: __( 'Audio', 'ai-engine' ),
320 JSON: __( 'JSON', 'ai-engine' ),
321 AI_ENVIRONMENT: __( 'AI Environment', 'ai-engine' ),
322 OVERRIDE_DEFAULTS: __( 'Override Defaults', 'ai-engine' ),
323 REGION: __( 'Region', 'ai-engine' ),
324 PROJECT_ID: __( 'Project ID', 'ai-engine' ),
325 BEARER_TOKEN: __( 'Bearer Token', 'ai-engine' ),
326 DIMENSIONS: __( 'Dimensions', 'ai-engine' ),
327 EMBEDDINGS_MODEL: __( 'Embeddings Model', 'ai-engine' ),
328 MIN_SCORE: __( 'Min Score', 'ai-engine' ),
329 MAX_SELECT: __( 'Max Results', 'ai-engine' ),
330 QDRANT_COLLECTION: __( 'Collection', 'ai-engine' ),
331 INSTRUCTIONS: __( 'Instructions', 'ai-engine' ),
332 FUNCTIONS: __( 'Functions', 'ai-engine' ),
333 TOOLS: __( 'Tools & Capabilities', 'ai-engine' ),
334 WEB_SEARCH: __( 'Web Search', 'ai-engine' ),
335 IMAGE_GENERATION: __( 'Image Generation', 'ai-engine' ),
336 CODE_INTERPRETER: __( 'Code Interpreter', 'ai-engine' ),
337 ALLOWED_MIME_TYPES: __( 'Allowed Mime Types', 'ai-engine' ),
338 SELECT_MIME_TYPES: __( 'Select', 'ai-engine' ),
339 MIME_TYPE_SELECTOR: __( 'MIME Type Selector', 'ai-engine' ),
340 AUTO_SELECT: __( 'Auto-Select', 'ai-engine' ),
341 CUSTOM_MIME_TYPES: __( 'Custom MIME Types', 'ai-engine' ),
342 HISTORY_STRATEGY: __( 'History Strategy', 'ai-engine' ),
343 AUTOMATIC: __( 'Automatic', 'ai-engine' ),
344 FULL_HISTORY: __( 'Full History', 'ai-engine' ),
345 INCREMENTAL: __( 'Incremental', 'ai-engine' ),
346 BUBBLE: __( 'Bubble', 'ai-engine' ),
347 TABS: __( 'Tabs', 'ai-engine' ),
348 DROPDOWN: __( 'Dropdown', 'ai-engine' ),
349 CHATBOT_SELECT: __( 'Chatbot Select', 'ai-engine' ),
350 CONDITIONS: __( 'Conditions', 'ai-engine' ),
351 CONDITION: __( 'Condition', 'ai-engine' ),
352 ADD_CONDITION: __( 'Add Condition', 'ai-engine' ),
353 REMOVE: __( 'Remove', 'ai-engine' ),
354 MCP_NO_OPTIONS: __( 'MCP is enabled but no options are selected. Please enable at least one option.', 'ai-engine' ),
355 ORCHESTRATION: __( 'Orchestration', 'ai-engine' ),
356 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' ),
357 MCP_SERVERS: __( 'MCP Servers', 'ai-engine' ),
358 MCP_FUNCTIONS: __( 'MCP Functions', 'ai-engine' ),
359 URL: __( 'URL', 'ai-engine' ),
360 TOKEN: __( 'Token', 'ai-engine' ),
361 SERVER_ID: __( 'Server ID', 'ai-engine' ),
362 PRICE: __( 'Price', 'ai-engine' ),
363 UNITS: __( 'Units', 'ai-engine' ),
364 FAMILY: __( 'Family', 'ai-engine' ),
365 DAILY: __( 'Daily', 'ai-engine' ),
366 MONTHLY: __( 'Monthly', 'ai-engine' ),
367 UNKNOWN_MODEL: __( 'Unknown Model', 'ai-engine' ),
368 CONTEXTUAL: __( 'Contextual', 'ai-engine' ),
369 COMPLETION: __( 'Completion', 'ai-engine' ),
370 TOTAL_MAX_TOKENS: __( 'Total Max Tokens', 'ai-engine' ),
371 RECOMMENDED: __( 'Recommended', 'ai-engine' ),
372 SESSION: __( 'Session', 'ai-engine' ),
373 LAST_REQUEST: __( 'Last Request', 'ai-engine' ),
374 RESET_USAGE: __( 'Reset Usage', 'ai-engine' ),
375 COPIED: __( 'Copied!', 'ai-engine' ),
376 CLIPBOARD_ERROR: __( 'Clipboard is not enabled (only works with https).', 'ai-engine' ),
377 VIEW_IN_PLATFORM: __( 'View in OpenAI Platform', 'ai-engine' ),
378 };
379
380 i18n.FORMS = {
381 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' ),
382 OUTPUT: __( 'Output', 'ai-engine' ),
383 OUTPUT_ELEMENT: __( 'Output Element', 'ai-engine' ),
384 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' ),
385 };
386
387 i18n.HELP = {
388 TEMPERATURE: __( 'Between 0 and 1. Higher values means the model will take more risks.', 'ai-engine' ),
389 MAX_TOKENS: __( 'The maximum number of tokens to generate. The model will stop generating once it hits this limit.', 'ai-engine' ),
390 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' ),
391 COST: __( 'Keeps track of the current costs.', 'ai-engine' ),
392 RESOLVE_SHORTCODE: __( 'Will resolve the shortcode in your content when needed (Content-Aware will use this, for instance).', 'ai-engine' ),
393 FINETUNES: __( 'Train your own AI models.', 'ai-engine' ),
394 DISCUSSIONS: __( 'Keep the conversations and enable browsing them via the Conversations tab.', 'ai-engine' ),
395 DISCUSSION_TITLES: __( 'Generate titles for the discussions automatically with AI.', 'ai-engine' ),
396 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' ),
397 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' ),
398 BANNED_WORDS: __( 'Reject queries containing these words; separate with commas.', 'ai-engine' ),
399 WORD_BOUNDARIES: __( 'Ignore standard word separation (space) and match banned words anywhere in the text.', 'ai-engine' ),
400 BANNED_IPS: __( 'Block access from specified IP addresses or ranges using CIDR notation; separate with commas.', 'ai-engine' ),
401 GDPR_CONSENT: __( 'If enabled, the user will have to accept the conditions before using the chatbot.', 'ai-engine' ),
402 POST_TYPES: __( 'Enable for these post types; separate with commas.', 'ai-engine' ),
403 POST_STATUS: __( 'Enable for these post statuses (publish, draft, future, private, etc); separate with commas.', 'ai-engine' ),
404 POST_CATEGORIES: __( 'Enable for these categories (slugs); separate with commas. If none, it will be enabled for all.', 'ai-engine' ),
405 CONTEXT_MAX_LENGTH: __( 'Truncate the context (Content-Aware, Embeddings, etc) to make sure it is below this number of characters.', 'ai-engine' ),
406 INSTRUCTIONS: __( 'Placeholders: {DATE_TIME}, {DISPLAY_NAME}, {FIRST_NAME}, {LAST_NAME}, {USER_LOGIN}. With Content-Aware: {CONTENT}, {EXCERPT}, {TITLE}, {URL}.', 'ai-engine' ),
407 MAX_MESSAGES: __( 'Maximum number of historical messages that is sent to the AI model.', 'ai-engine' ),
408 INPUT_MAX_LENGTH: __( 'Maximum number of characters that can be input by the user.', 'ai-engine' ),
409 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' ),
410 QUERIES_DATA: __( 'Record the queries and their replies.', 'ai-engine' ),
411 QUERIES_FORMS_DATA: __( 'Capture form data neatly for simple reuse.', 'ai-engine' ),
412 SPEECH_RECOGNITION: __( 'Enable speech-to-text. Depends on the browser and OS used by the user.', 'ai-engine' ),
413 SPEECH_SYNTHESIS: __( 'Enable text-to-speech.', 'ai-engine' ),
414 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' ),
415 USER_FILTER: __( 'Type an User ID, or an IP.', 'ai-engine' ),
416 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' ),
417 SYNTAX_HIGHLIGHT: __( 'Enable syntax highlighting for the code blocks.', 'ai-engine' ),
418 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' ),
419 PRIVACY_FIRST: __( 'Only essential data is stored. IPs, conversations, and other private details are minimized and kept as anonymous as possible.', 'ai-engine' ),
420 DEV_TOOLS: __( 'Enable a new tab with debugging tools. For developers only.', 'ai-engine' ),
421 DEV_MODE: __( 'Run tasks very frequently for debugging.', 'ai-engine' ),
422 PUBLIC_API: __( 'Enable the Public REST API.', 'ai-engine' ),
423 INTRO_MESSAGE: __( 'Enable introduction messages on some modules.', 'ai-engine' ),
424 ADDONS: __( 'Enable the AI Addons section under the Meow Apps menu.', 'ai-engine' ),
425 OPENAI_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
426 OPENAI_API_KEY_URL: 'https://platform.openai.com/api-keys',
427 OPENAI_API_KEY_LINK_TEXT: __( 'OpenAI Account ↗', 'ai-engine' ),
428 OPENAI_ORGANIZATION_ID: __( 'You can link this environment to an %s. This is optional.', 'ai-engine' ),
429 OPENAI_ORGANIZATION_URL: 'https://platform.openai.com/account/organization',
430 OPENAI_ORGANIZATION_LINK_TEXT: __( 'Organization ↗', 'ai-engine' ),
431 AZURE_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
432 AZURE_API_KEY_URL: 'https://oai.azure.com/portal',
433 AZURE_API_KEY_LINK_TEXT: __( 'Azure Account ↗', 'ai-engine' ),
434 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' ),
435 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' ),
436 ANTHROPIC_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
437 ANTHROPIC_API_KEY_URL: 'https://console.anthropic.com/settings/keys',
438 ANTHROPIC_API_KEY_LINK_TEXT: __( 'Anthropic Account ↗', 'ai-engine' ),
439 GOOGLE_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
440 GOOGLE_API_KEY_URL: 'https://aistudio.google.com/apikey',
441 GOOGLE_API_KEY_LINK_TEXT: __( 'Google AI Studio ↗', 'ai-engine' ),
442 OPENROUTER_API_KEY: __( 'You can get your API Keys in your %s.', 'ai-engine' ),
443 OPENROUTER_API_KEY_URL: 'https://openrouter.ai/keys',
444 OPENROUTER_API_KEY_LINK_TEXT: __( 'OpenRouter Account ↗', 'ai-engine' ),
445 QDRANT: __( 'Use the code <b>#AIENGINE5</b> when you %s. You will get 5% off.', 'ai-engine' ),
446 QDRANT_URL: 'https://qdrant.to/cloud',
447 QDRANT_LINK_TEXT: __( 'Create a Qdrant Account ↗', 'ai-engine' ),
448 ASSISTANTS: __( 'The Assistants API is designed to help developers build powerful AI assistants capable of performing a variety of tasks.', 'ai-engine' ),
449 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' ),
450 ASSISTANTS_INTRO_URL: 'https://beta.openai.com/assistants',
451 ASSISTANTS_INTRO_LINK_TEXT: __( 'OpenAI Assistants ↗', 'ai-engine' ),
452 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' ),
453 ASSISTANTS_BETA_URL: 'https://platform.openai.com/docs/api-reference/assistants',
454 ASSISTANTS_BETA_TEXT: __( 'in beta ↗', 'ai-engine' ),
455 ASSISTANTS_PRICING_URL: 'https://openai.com/pricing',
456 ASSISTANTS_PRICING_TEXT: __( 'tricky ↗', 'ai-engine' ),
457 ASSISTANTS_DISCORD_URL: 'https://discord.gg/bHDGh38',
458 ASSISTANTS_DISCORD_TEXT: __( 'Meow Apps Discord Server ↗', 'ai-engine' ),
459 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' ),
460 BEARER_TOKEN_URL: 'https://meowapps.com/ai-engine/api/#public-rest-api',
461 BEARER_TOKEN_LINK_TEXT: __( 'build your own authentication ↗', 'ai-engine' ),
462 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' ),
463 REST_API_MAKE_URL: 'https://www.make.com/en/integrations/ai-engine',
464 REST_API_MAKE_TEXT: __( 'Make.com ↗', 'ai-engine' ),
465 MCP_BEARER_TOKEN: __( 'A secret token used to authenticate AI assistants. Required for secure access to your WordPress site.', 'ai-engine' ),
466 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' ),
467 MCP_TUTORIAL_URL: 'https://ai.thehiddendocs.com/mcp/',
468 MCP_TUTORIAL_TEXT: __( 'Check this tutorial ↗', 'ai-engine' ),
469 MCP_CLAUDE_TUTORIAL_URL: 'https://ai.thehiddendocs.com/mcp/mcp-server-claude/',
470 MCP_CLAUDE_TUTORIAL_TEXT: __( 'a relay ↗', 'ai-engine' ),
471 MCP_SERVER_URL: __( 'The URL of the MCP server. Must start with https://', 'ai-engine' ),
472 MCP_SERVER_TOKEN: __( 'Bearer token for authenticating with the MCP server.', 'ai-engine' ),
473 REST_API_DOCS_URL: 'https://ai.thehiddendocs.com/public-rest-api/',
474 REST_API_DOCS_TEXT: __( 'documentation ↗', 'ai-engine' ),
475 PHP_API_FUNCTIONS_URL: 'https://ai.thehiddendocs.com/php-functions/',
476 PHP_API_FUNCTIONS_TEXT: __( 'PHP Functions ↗', 'ai-engine' ),
477 PHP_API_CLASSES_URL: 'https://ai.thehiddendocs.com/php-classes/',
478 PHP_API_CLASSES_TEXT: __( 'PHP Classes ↗', 'ai-engine' ),
479 PHP_API_FILTERS_URL: 'https://ai.thehiddendocs.com/php-filters/',
480 PHP_API_FILTERS_TEXT: __( 'WordPress Filters ↗', 'ai-engine' ),
481 NO_EMBEDDINGS_RESULTS: __( 'No results for this search. Make sure the Minimum Score is not too high.', 'ai-engine' ),
482 NO_EMBEDDINGS_ROWS: __( 'No embeddings yet in this environment.', 'ai-engine' ),
483 MIN_SCORE: __( 'The minimum score the embeddings need to have to be returned. Between 0 and 100 and defaults to 35.', 'ai-engine' ),
484 MAX_SELECT: __( 'The maximum number of embeddings to return and to use as context. Between 1 and 100 and defaults to 10.', 'ai-engine' ),
485 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 %s.', 'ai-engine' ),
486 FUNCTIONS_LINK_URL: 'https://ai.thehiddendocs.com/use-function-calling/',
487 FUNCTIONS_LINK_TEXT: __( 'Function Calling ↗', 'ai-engine' ),
488 FUNCTIONS_UNAVAILABLE: __( 'No functions registered yet. You can create them with %s, or register them from your own code via the <code>mwai_functions_list</code> filter.', 'ai-engine' ),
489 FUNCTIONS_CODE_ENGINE_URL: 'https://wordpress.org/plugins/code-engine/',
490 FUNCTIONS_CODE_ENGINE_TEXT: __( 'Code Engine ↗', 'ai-engine' ),
491 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' ),
492 MCP_SERVERS_UNAVAILABLE: __( 'No MCP servers are available. Configure them in Settings → Orchestration.', 'ai-engine' ),
493 TOOLS: __( 'Enable AI tools to enhance your chatbot capabilities. Availability depends on the model, so please test to confirm they work with your chosen model.', 'ai-engine' ),
494 WEB_SEARCH: __( 'Allow the AI to search the web for current information', 'ai-engine' ),
495 IMAGE_GENERATION: __( 'Allow the AI to generate images based on text descriptions', 'ai-engine' ),
496 CODE_INTERPRETER: __( 'Allow the AI to write and run Python code to solve complex problems, process data, and generate visualizations', 'ai-engine' ),
497 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' ),
498 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' ),
499 ADVISOR: __( 'In your Dashboard will be displayed daily recommendations tailored to your WordPress setup. Admins only.', 'ai-engine' ),
500 BUBBLE: __( 'The popup will be displayed as a bubble.', 'ai-engine' ),
501 ICON_TEXT: __( 'If set, this text will appear next to the icon/bubble.', 'ai-engine' ),
502 ICON_TEXT_DELAY: __( 'Delay before text appears.', 'ai-engine' ),
503 WIDTH: __( 'Width of the chatbot when open.', 'ai-engine' ),
504 OPEN_DELAY: __( 'Auto-open after X seconds. Skipped on mobile so it does not hijack the screen.', 'ai-engine' ),
505 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' ),
506 };
507
508 i18n.SETTINGS = {
509 AI_ENV_SETUP: __( 'Add your API key in <b>Settings → AI → Environments</b>. %s covers most cases, so it\'s a no-brainer. Let\'s try? 🐱', 'ai-engine' ),
510 AI_FRESH_INSTALL: __( 'Hello! 🐱 We have prepared an <b>OpenAI</b> environment for you, just paste your key in <b>Settings → Environments for AI</b>. Prefer Claude, Gemini, or another provider? Switch the environment type any time.', 'ai-engine' ),
511 AI_DEFAULT_NO_KEY: __( 'Your default environment is %s, but it has no API key. Set one, or pick a different default in <b>Settings → AI → Environments</b>.', 'ai-engine' ),
512 AI_DEFAULT_TYPE_UNAVAILABLE: __( 'Your default environment is %s, but its engine type is no longer available. Pick a different default or re-install the matching add-on.', 'ai-engine' ),
513 AI_DEFAULT_MISSING: __( 'The <b>Default</b> environment or model isn\'t set. Pick one in <b>Settings → AI → AI Environment Defaults</b>.', 'ai-engine' ),
514 AI_DEFAULT_DEPRECATED: __( 'The <b>Default</b> model is marked as deprecated and may stop working soon. Pick a current model in <b>Settings → AI → AI Environment Defaults</b>.', 'ai-engine' ),
515 AI_FAST_MISSING: __( 'The <b>Fast</b> environment or model isn\'t set. Pick one in <b>Settings → AI → AI Environment Defaults</b>.', 'ai-engine' ),
516 AI_FAST_DEPRECATED: __( 'The <b>Fast</b> model is marked as deprecated and may stop working soon. Pick a current model in <b>Settings → AI → AI Environment Defaults</b>.', 'ai-engine' ),
517 AI_ENV_SETUP_URL: 'https://platform.openai.com/api-keys',
518 AI_ENV_SETUP_LINK_TEXT: __( 'OpenAI ↗', 'ai-engine' ),
519 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' ),
520 PINECONE_SETUP_URL: 'https://app.pinecone.io',
521 PINECONE_SETUP_LINK_TEXT: __( 'Pinecone ↗', 'ai-engine' ),
522 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' ),
523 INTRO_TUTORIAL_URL: 'https://meowapps.com/ai-engine/tutorial/',
524 INTRO_TUTORIAL_TEXT: __( 'tutorial', 'ai-engine' ),
525 INTRO_DOCS_URL: 'https://ai.thehiddendocs.com/',
526 INTRO_DOCS_TEXT: __( 'documentation', 'ai-engine' ),
527 INTRO_ADDONS_URL: 'https://meowapps.com/products/category/ai-add-ons/',
528 INTRO_ADDONS_TEXT: __( 'add-ons', 'ai-engine' ),
529 INTRO_DISCLAIMER_URL: 'https://meowapps.com/ai-engine/disclaimer/',
530 INTRO_DISCLAIMER_TEXT: __( 'disclaimer', 'ai-engine' ),
531 MODULES_INTRO: __( 'To avoid cluttering the UI and your WP, only enable the features you need.', 'ai-engine' ),
532 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' ),
533 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' ),
534 ALERT_CONTENTAWARE_BUT_NO_CONTENT: __( 'Content Aware requires your Instructions to use at least one placeholder. More info %s.', 'ai-engine' ),
535 ALERT_CONTENTAWARE_URL: 'https://meowapps.com/ai-engine/tutorial/#contextualization',
536 ALERT_CONTENTAWARE_LINK_TEXT: __( 'here ↗', 'ai-engine' ),
537 SET_AS_DEFAULT_PARAMETERS: __( 'Set as Default Parameters', 'ai-engine' ),
538 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' ),
539 INJECT_DEFAULT_CHATBOT: __( 'Inject Default Chatbot in Entire Website', 'ai-engine' ),
540 INJECT_DEFAULT_CHATBOT_HELP: __( 'Inject the chatbot [mwai_chat] in the entire website.', 'ai-engine' ),
541 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' ),
542 CHATGPT_STYLE_CSS_URL: 'https://meowapps.com/ai-engine/tutorial/#apply-custom-style-to-the-chatbot',
543 CHATGPT_STYLE_CSS_TEXT: __( 'here ↗', 'ai-engine' ),
544 CHATGPT_STYLE_FAQ_URL: 'https://meowapps.com/ai-engine/faq',
545 CHATGPT_STYLE_FAQ_TEXT: __( 'FAQ ↗', 'ai-engine' ),
546 TYPEWRITER_EFFECT: __( 'Typewriter Effect', 'ai-engine' ),
547 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' ),
548 CHATBOT_MODERATION_HELP: __( 'If the conversation seems offensive, the chatbot will reject it.', 'ai-engine' ),
549 CUSTOM_URL: __( 'Custom URL', 'ai-engine' ),
550 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' ),
551 ASSISTANT_NO_FILE_SEARCH_URL: 'https://platform.openai.com/assistants',
552 ASSISTANT_NO_FILE_SEARCH_LINK_TEXT: __( 'OpenAI Assistants ↗', 'ai-engine' ),
553 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' ),
554 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' ),
555 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' ),
556 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' ),
557 KNOWLEDGE_PINECONE_URL: 'https://www.pinecone.io/',
558 KNOWLEDGE_PINECONE_TEXT: __( 'Pinecone ↗', 'ai-engine' ),
559 KNOWLEDGE_DISCORD_URL: 'https://discord.gg/bHDGh38',
560 KNOWLEDGE_DISCORD_TEXT: __( 'Meow Apps Discord Server ↗', 'ai-engine' ),
561 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' ),
562 };
563
564 i18n.CHATBOT = {
565 CHATBOT_BUILDER: __( 'Chatbot Builder', 'ai-engine' ),
566 RESET_PARAMS: __( 'Reset Parameters', 'ai-engine' ),
567 };
568
569 i18n.STATISTICS = {
570 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' ),
571 NO_CREDITS_MESSAGE: __( 'Message for No Credits', 'ai-engine' ),
572 FULL_ACCESS_USERS: __( 'Full-Access Users', 'ai-engine' ),
573 ENABLE_LIMITS: __( 'Enable Limits', 'ai-engine' ),
574 };
575
576 i18n.CONTENT_GENERATOR = {
577 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' ),
578 TITLE_MISSING: __( 'Title is missing!', 'ai-engine' ),
579 SECTIONS_MISSING: __( 'Sections are missing!', 'ai-engine' ),
580 SINGLE_GENERATE: __( 'Single Generate', 'ai-engine' ),
581 BULK_GENERATE: __( 'Bulk Generate', 'ai-engine' ),
582 CONTENT_PARAMS: __( 'Content Params', 'ai-engine' ),
583 POST_PARAMS: __( 'Post Params', 'ai-engine' ),
584 CONTENT_PARAMS_INTRO: __( 'Input fields are displayed for certain placeholders used in prompts, such as {LANGUAGE} or {WRITING_TONE}', 'ai-engine' ),
585 CUSTOM_LANGUAGE: __( 'Custom Language', 'ai-engine' ),
586 WRITING_STYLE: __( 'Writing Style', 'ai-engine' ),
587 WRITING_TONE: __( 'Writing Tone', 'ai-engine' ),
588 CUSTOM_LANGUAGE_HELP: __( 'AI supports all languages with varying quality. %s.', 'ai-engine' ),
589 CUSTOM_LANGUAGE_URL: 'https://meowapps.com/ai-engine/faq/#languages',
590 CUSTOM_LANGUAGE_LINK_TEXT: __( 'Learn more ↗', 'ai-engine' ),
591 MODEL_HELP: __( 'It is recommended to use Turbo or GPT-4 to write texts.', 'ai-engine' ),
592 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' ),
593 PROMPT_TITLE: __( 'Prompt for <b>Title</b>', 'ai-engine' ),
594 PROMPT_SECTIONS: __( 'Prompt for <b>Sections</b>', 'ai-engine' ),
595 PROMPT_CONTENT: __( 'Prompt for <b>Content</b>', 'ai-engine' ),
596 PROMPT_EXCERPT: __( 'Prompt for <b>Excerpt</b>', 'ai-engine' ),
597 POST_CREATED: __( 'Post Created', 'ai-engine' ),
598 POST_CREATED_AS_DRAFT: __( 'The post was created as a draft.', 'ai-engine' ),
599 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' ),
600 SECTIONS_HELP: __( 'Add, rewrite, remove, or reorganize those sections as you wish before (re)clicking on "Generate Content". Markdown format is recommended.', 'ai-engine' ),
601 GENERATE_EXCERPT: __( 'Generate Excerpt', 'ai-engine' ),
602 GENERATE_CONTENT: __( 'Generate Content', 'ai-engine' ),
603 GENERATE_SECTIONS: __( 'Generate Sections', 'ai-engine' ),
604 PARAGRAPHS_PER_SECTION: __( '# of Paragraphs per Section', 'ai-engine' ),
605 NUMBER_OF_SECTIONS: __( '# of Sections', 'ai-engine' ),
606 ADVICE: __( 'Advice', 'ai-engine' ),
607 SECTIONS: __( 'Sections', 'ai-engine' ),
608 USE_MAX_TOKENS: __( 'Use Max Tokens', 'ai-engine' ),
609 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' ),
610 GENERATED_POSTS: __( 'Generated Posts', 'ai-engine' ),
611 USE_TOPICS_AS_TITLES: __( 'Use Topics as Titles', 'ai-engine' ),
612 NOTHING_YET: __( 'Nothing yet.', 'ai-engine' ),
613 BULK_ERROR_CONFIRM: __( 'An error was caught ({MESSAGE}). Should we continue?', 'ai-engine' ),
614 GENERATE_ALL: __( 'Generate All', 'ai-engine' ),
615 EDIT_POST: __( 'Edit Post', 'ai-engine' ),
616 CREATE_POST: __( 'Create Post', 'ai-engine' ),
617 TITLE_TOO_SHORT: __( 'The title is too short. It should be at least 3 words.', 'ai-engine' ),
618 TITLE_TOO_SHORT_2: __( 'The title is too short. It should be at least 40 characters.', 'ai-engine' ),
619 TITLE_TOO_LONG: __( 'The title is too long. It should be less than 8 words.', 'ai-engine' ),
620 TITLE_TOO_LONG_2: __( 'The title is too long. It should be less than 70 characters.', 'ai-engine' ),
621 };
622
623 i18n.TEMPLATES = {
624 TEMPLATE: __( 'Template', 'ai-engine' ),
625 TEMPLATES: __( 'Templates', 'ai-engine' ),
626 DELETE_CONFIRM: __( 'Are you sure you want to delete this template?', 'ai-engine' ),
627 DELETE_ALL_CONFIRM: __( 'Are you sure you want to delete all the templates?', 'ai-engine' ),
628 NEW_TEMPLATE_NAME: __( 'New Template', 'ai-engine' ),
629 EDIT: __( 'EDIT', 'ai-engine' )
630 };
631
632 i18n.PLAYGROUND = {
633 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' ),
634 PROMPT: __( 'Query / Prompt', 'ai-engine' ),
635 REPLY: __( 'Reply', 'ai-engine' ),
636 };
637
638 i18n.ALERTS = {
639 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' ),
640 RESET_BUILDER: __( 'This will delete all the rows in the builder. Are you sure?', 'ai-engine' ),
641 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' ),
642 FINETUNE_ALREADY_DELETED: __( 'This fine-tune was already deleted. It will be removed from the list.', 'ai-engine' ),
643 CHECK_CONSOLE: __( 'Error! Check your console for more details.', 'ai-engine' ),
644 DATASET_UPLOADED: __( 'Uploaded successfully! You can now train a model based on this dataset.', 'ai-engine' ),
645 ONLY_SUPPORTS_FILES: __( 'This only supports JSON, JSONL, and CSV files. Check the Instructions section below.', 'ai-engine' ),
646 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' ),
647 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' ),
648 ARE_YOU_SURE: __( 'Are you sure?', 'ai-engine' ),
649 };
650
651 i18n.FINETUNING = {
652 MODELS_INTRO: __( 'The AI models you have fine-tuned. To create more, visit <b>Files</b>.', 'ai-engine' ),
653 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' ),
654 LEGACY_MODELS_DEPRECATION_URL: 'https://platform.openai.com/docs/guides/legacy-fine-tuning',
655 LEGACY_MODELS_DEPRECATION_TEXT: __( 'announced by OpenAI ↗', 'ai-engine' ),
656 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' ),
657 MODEL_FINETUNE: __( 'Model Finetune', 'ai-engine' ),
658 MODELS_FILES: __( 'Models & Files', 'ai-engine' ),
659 DATASET_EDITOR: __( 'Dataset Editor', 'ai-engine' ),
660 EDITOR: __( 'Editor', 'ai-engine' ),
661 GENERATOR: __( 'Generator', 'ai-engine' ),
662 HUGE_DATASET_WARNING: __( 'Caution: The data is too large to be saved in your browser\'s local storage.', 'ai-engine' ),
663 NO_FINETUNES_YET: __( 'No fine-tunes found. Refresh the list, or create a new one (via a dataset).', 'ai-engine' ),
664 CLEAN_MODELS_LIST: __( 'Clean Models List', 'ai-engine' ),
665 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' ),
666 };
667
668 i18n.DISCUSSIONS = {
669 NEW_CHAT: __( 'New Chat', 'ai-engine' ),
670 NO_MESSAGES_YET: __( 'No messages yet', 'ai-engine' ),
671 RENAME: __( 'Rename', 'ai-engine' ),
672 DELETE: __( 'Delete', 'ai-engine' ),
673 UNTITLED: __( 'Untitled', 'ai-engine' ),
674 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' ),
675 };
676
677 i18n.WRITING_STYLES = {
678 INFORMATIVE: __( 'Informative', 'ai-engine' ),
679 DESCRIPTIVE: __( 'Descriptive', 'ai-engine' ),
680 CREATIVE: __( 'Creative', 'ai-engine' ),
681 NARRATIVE: __( 'Narrative', 'ai-engine' ),
682 PERSUASIVE: __( 'Persuasive', 'ai-engine' ),
683 REFLECTIVE: __( 'Reflective', 'ai-engine' ),
684 ARGUMENTATIVE: __( 'Argumentative', 'ai-engine' ),
685 ANALYTICAL: __( 'Analytical', 'ai-engine' ),
686 EVALUATIVE: __( 'Evaluative', 'ai-engine' ),
687 JOURNALISTIC: __( 'Journalistic', 'ai-engine' ),
688 TECHNICAL: __( 'Technical', 'ai-engine' ),
689 };
690
691 i18n.WRITING_TONES = {
692 NEUTRAL: __( 'Neutral', 'ai-engine' ),
693 FORMAL: __( 'Formal', 'ai-engine' ),
694 ASSERTIVE: __( 'Assertive', 'ai-engine' ),
695 CHEERFUL: __( 'Cheerful', 'ai-engine' ),
696 HUMOROUS: __( 'Humorous', 'ai-engine' ),
697 INFORMAL: __( 'Informal', 'ai-engine' ),
698 INSPIRATIONAL: __( 'Inspirational', 'ai-engine' ),
699 PROFESSIONAL: __( 'Professional', 'ai-engine' ),
700 CONFLUENT: __( 'Confluent', 'ai-engine' ),
701 EMOTIONAL: __( 'Emotional', 'ai-engine' ),
702 PERSUASIVE: __( 'Persuasive', 'ai-engine' ),
703 SUPPORTIVE: __( 'Supportive', 'ai-engine' ),
704 SARCASTIC: __( 'Sarcastic', 'ai-engine' ),
705 CONDESCENDING: __( 'Condescending', 'ai-engine' ),
706 SKEPTICAL: __( 'Skeptical', 'ai-engine' ),
707 NARRATIVE: __( 'Narrative', 'ai-engine' ),
708 JOURNALISTIC: __( 'Journalistic', 'ai-engine' ),
709 };
710
711 i18n.EMBEDDINGS = {
712 EDIT: __( 'EDIT', 'ai-engine' ),
713 AI_SEARCH: __( 'AI SEARCH', 'ai-engine' ),
714 SYNC_POSTS: __( 'Sync Posts', 'ai-engine' ),
715 AUTO_SYNC_POSTS: __( 'Auto-Sync Posts', 'ai-engine' ),
716 AUTO_SYNC_POSTS_DESCRIPTION: __( 'Embeddings will be created, updated or removed based on the activity related to your posts.', 'ai-engine' ),
717 REWRITE_CONTENT: __( 'Rewrite Content', 'ai-engine' ),
718 REWRITE_CONTENT_DESCRIPTION: __( 'Shorten and improve the content for your embedding using the default model.', 'ai-engine' ),
719 FORCE_RECREATE: __( 'Force Recreate', 'ai-engine' ),
720 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' ),
721 DELETE_ALL_EMBEDDINGS: __( 'Delete All Embeddings', 'ai-engine' ),
722 DELETE_ALL_EMBEDDINGS_CONFIRM: __( 'Are you sure you want to delete all the embeddings in this environment?', 'ai-engine' ),
723 REWRITE_PROMPT_DESCRIPTION: __( 'Prompt for the rewrite. Supports {CONTENT}, {TITLE}, {URL}, {EXCERPT}, {LANGUAGE}, {ID}.', 'ai-engine' ),
724 SYNC_ALL: __( 'Sync All', 'ai-engine' ),
725 SYNC_ONE: __( 'Sync One', 'ai-engine' ),
726 ADD_INDEX: __( 'Add Index', 'ai-engine' ),
727 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' ),
728 NO_NAMESPACE_SUPPORT: __( 'Note: This server does not support namespaces.', 'ai-engine' ),
729 // Remote URL Settings
730 REWRITE_REMOTE_CONTENT: __( 'Rewrite Remote Content', 'ai-engine' ),
731 REWRITE_REMOTE_CONTENT_DESCRIPTION: __( 'Clean and optimize content fetched from remote URLs using the default model.', 'ai-engine' ),
732 FORCE_REMOTE_RECREATE: __( 'Force Remote Recreate', 'ai-engine' ),
733 FORCE_REMOTE_RECREATE_DESCRIPTION: __( 'Force recreation of remote URL embeddings even when content hasn\'t changed.', 'ai-engine' ),
734 REWRITE_REMOTE_PROMPT_DESCRIPTION: __( 'Prompt for the remote URL rewrite. Supports {CONTENT}, {URL}.', 'ai-engine' ),
735 DEFAULT_REMOTE_REWRITE_PROMPT: __( 'Extract and clean the main content from this web page. Remove all website elements that are not part of the actual content: navigation menus, headers, footers, sidebars, breadcrumbs, ads, cookie notices, social sharing buttons, and related links sections.\n\nKeep only the primary content of the page. Use minimal formatting:\n- Use line breaks to separate distinct sections\n- Use simple lists (with dashes) only when the original has clear list items\n- For products or items: keep name, price, and key details on separate lines\n- Do not add markdown headers, bold, or other rich formatting\n\nThe result should be clean, readable text that preserves the essential information and structure. Keep it concise (under 1000 words). Output only the cleaned content, nothing else.\n\n{CONTENT}', 'ai-engine' ),
736 SYNC_REMOTE_URLS_INTERVAL: __( 'Sync Interval', 'ai-engine' ),
737 SYNC_REMOTE_URLS_INTERVAL_DESCRIPTION: __( 'How often to check remote URLs for content updates.', 'ai-engine' ),
738 INTERVAL_1H: __( 'Every hour', 'ai-engine' ),
739 INTERVAL_6H: __( 'Every 6 hours', 'ai-engine' ),
740 INTERVAL_12H: __( 'Every 12 hours', 'ai-engine' ),
741 INTERVAL_24H: __( 'Every 24 hours', 'ai-engine' ),
742 INTERVAL_48H: __( 'Every 48 hours', 'ai-engine' ),
743 INTERVAL_72H: __( 'Every 72 hours', 'ai-engine' ),
744 INTERVAL_1W: __( 'Every week', 'ai-engine' ),
745 INTERVAL_1M: __( 'Every month', 'ai-engine' ),
746 // Section Labels
747 LOCAL_CONTENT: __( 'Local Content', 'ai-engine' ),
748 REMOTE_URLS: __( 'Remote URLs', 'ai-engine' ),
749 SYNC_SETTINGS: __( 'Sync Settings', 'ai-engine' ),
750 SYNC_SETTINGS_DESCRIPTION: __( 'Settings for synchronizing embeddings with your content.', 'ai-engine' ),
751 SEARCH_SETTINGS: __( 'Search Settings', 'ai-engine' ),
752 SEARCH_SETTINGS_DESCRIPTION: __( 'Settings for how embeddings are retrieved during conversations.', 'ai-engine' ),
753 };
754
755 i18n.ERROR = {
756 UPDATING_OPTIONS: __( 'An error occurred while updating the options.' ),
757 GETTING_OPTIONS: __( 'An error occurred while getting the options.' ),
758 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' ),
759 SESSION_EXPIRED: __( 'Your session has expired. Please refresh the page to continue using AI Engine.', 'ai-engine' ),
760 COULD_NOT_PARSE_ERROR_STREAM: __( 'Could not parse the \'error\' stream.', 'ai-engine' ),
761 COULD_NOT_PARSE_END_STREAM: __( 'Could not parse the \'end\' stream.', 'ai-engine' ),
762 // Chatbot specific errors
763 INVALID_API_KEY: __( 'Invalid API key: Please check your OpenAI API key in settings.', 'ai-engine' ),
764 RATE_LIMIT_EXCEEDED: __( 'Rate limit exceeded: Too many requests. Please try again later.', 'ai-engine' ),
765 NETWORK_ERROR: __( 'Network error: Failed to establish connection to the AI service.', 'ai-engine' ),
766 AUTHENTICATION_FAILED: __( 'Authentication failed: Your session has expired. Please refresh the page.', 'ai-engine' ),
767 INTERNAL_SERVER_ERROR: __( 'Internal server error: An unexpected error occurred. Please try again.', 'ai-engine' ),
768 PROCESSING_ERROR: __( 'An error occurred while processing your request. Please try again.', 'ai-engine' ),
769 // Realtime errors
770 MEDIADEVICES_NOT_AVAILABLE: __( 'MediaDevices API not available. Please ensure you are using HTTPS and a modern browser.', 'ai-engine' ),
771 MICROPHONE_ACCESS_FAILED: __( 'Failed to access microphone. Please ensure microphone permissions are granted and try again.', 'ai-engine' ),
772 CONNECTION_FAILED: __( 'Failed to establish connection with OpenAI servers. Please try again.', 'ai-engine' ),
773 };
774
775 // Console/debug messages
776 i18n.DEBUG = {
777 CRASH_IN_MARKDOWN: __( 'Crash in markdown-to-jsx! Reverting to plain text.', 'ai-engine' ),
778 AI_ENGINE_COULD_NOT_FIND_BLOCK: __( 'AI Engine: Could not find block element for', 'ai-engine' ),
779 AI_WAND_TABLE_REQUIRES_DATA: __( 'AI Wand: Table requires structured data for proper update', 'ai-engine' ),
780 AI_WAND_COULD_NOT_FIND_SELECTION: __( 'AI Wand: Could not find selection, replacing entire block content', 'ai-engine' ),
781 NEW_TOKEN_RECEIVED: __( '[MWAI] 🔐 New token received', 'ai-engine' ),
782 NONCE_ERROR_DETECTED: __( '[MWAI] Nonce error detected, attempting to refresh...', 'ai-engine' ),
783 };
784
785 export default i18n;
786