Plugin Directory

Changeset 3129774


Ignore:
Timestamp:
08/01/2024 11:59:20 PM (20 months ago)
Author:
jamesdlow
Message:

1.0.4

  • Use PageApp for SettingsLib if avaliable
Location:
ai-translate-for-polylang
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • ai-translate-for-polylang/trunk/ai-translate-polylang.php

    r3129770 r3129774  
    44Plugin URI: https://wordpress.org/plugins/ai-translate-polylang/
    55Description: Add auto AI translation caperbility to Polylang
    6 Version: 1.0.3
     6Version: 1.0.4
    77Author: James Low
    88Author URI: http://jameslow.com
     
    1212/*
    1313Next Version:
    14 - Clear out or translate Yoast SEO
    1514- Auto translate on publish post (publish/save as draft)
    1615- Setting to only auto translate for certain categories/pages
     
    3130    /* Helper functions */
    3231    public static function require_settings() {
    33         require_once 'inc/settingslib.php';
     32        if (class_exists('\PageApp')) {
     33            \PageApp::require_settings();
     34        } else {
     35            require_once 'inc/settingslib.php';
     36        }
    3437    }
    3538    public static function require_utils() {
    36         require_once 'inc/utilslib.php';
     39        if (class_exists('\PageApp')) {
     40            \PageApp::require_utils();
     41        } else {
     42            require_once 'inc/utilslib.php';
     43        }
    3744    }
    3845    public static function require_openai() {
  • ai-translate-for-polylang/trunk/readme.txt

    r3129770 r3129774  
    55Requires at least: 3.0
    66Tested up to: 6.5.4
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: MIT
    99License URI: https://opensource.org/licenses/MIT
    1010
    11 Add auto AI translation caperbility to Polylang using OpenAI/ChatGPT.
     11Add auto AI translation caperbility to Polylang using OpenAI/ChatGPT or Anthropic/Claude.
    1212
    1313== Description ==
    14 Add auto AI translation caperbility to Polylang using OpenAI/ChatGPT.
     14Add auto AI translation caperbility to Polylang using OpenAI/ChatGPT  or Anthropic/Claude.
    1515
    16 This plugin connects to OpenAI/ChatGPT (api.openai.com) in PHP from the Wordpress admin in order to faciliate the translations. When a Wordpress author has the plugin activated, has entered their OpenAI API key in the settings, and clicks new translation from Polylang, the plugin will send the post title and post content to OpenAI for tranlsation.
     16This plugin connects to OpenAI/ChatGPT (api.openai.com) or Anthropic/Claude (api.anthropic.com) in PHP from the Wordpress admin in order to faciliate the translations. When a Wordpress author has the plugin activated, has entered their OpenAI API key in the settings, and clicks new translation from Polylang, the plugin will send the post title and post content to OpenAI or Anthropic for tranlsation.
    1717
    1818== Installation ==
     
    3434== Changelog ==
    3535
     36= 1.0.4 =
     37* Use PageApp for SettingsLib if avaliable
     38
    3639= 1.0.3 =
    3740* Add Claude API
Note: See TracChangeset for help on using the changeset viewer.