It looks like you need to rewrite your prompt. The prompt I gave you was generated by Google Translate because I don't speak Spanish. It (the prompt) needs to tell GPT to keep the HTML formatting of the text translated to your language. If GPT-3.5 Turbo doesn't understand it, you need to use GPT-4.
From what I can see, GPT returned the text in Login to see this link. GPT-3.5 can make such mistakes, while GPT-4 always understands this type of tasks correctly.
This problem is not related to CyberSEO Pro and can't be fixed on its site. It's about your GPT prompts.
As about this your .htaccess config:
Login to see the code
It appears that you are using the LiteSpeed server. Thanks for sharing your solution. Perhaps it will be useful to other users in similar situations.
Login to see this link
5:14 pm
April 9, 2024
8:51 am
April 9, 2024
So I figured out prompt which delivers clean article. But I have 2 new issues.
1. There is no images, I needed to delete them using prompt to avoid trace to original site URL - How can I ask plugin to add images from original website and put them into post after gpt4 translate post?
2. Some sentences are not translated. In syndicator log, these texts even do not appear, so seems they are not even sent to GPT. What causes that?
Login to see the quote
In your GPT prompt, you should explain exactly what you want to receive as a result. The plugin doesn't control GPT; you do, by creating correct prompts with clear instructions. The CyberSEO Pro plugin is a robot that does not think like AI but merely follows the algorithm. For example, if you want to remove all the images from your posts, you can set the plugin to simply remove all img tags from your content: Login to see this link
In your initial post, you asked for a solution to break the post into paragraphs and then translate them one by one. If the code I provide in this thread does not send some content to GPT, then this content is not located in paragraphs. That's why I said that this solution is not universal and will work for paragraphs only. Thus, it cannot be implemented as a standard option in the plugin's interface - every single case is very specific and requires its own dedicated solution. I would suggest considering DeepL as an alternative.
By the way, for large texts, you can try the new Google Gemini Pro 1.5 model (gemini-1.5-pro-latest). According to the documentation, you can translate texts with up to 8192 tokens each: Login to see this link
And of course the OpenAI GPT-4 32K (gpt-4-32k) is also available since 2023: Login to see this link
These models should be used with a simple shortcode and don't require custom PHP snippets for processing of rather large texts.
1:54 pm
April 9, 2024
CyberSEO said
In your GPT prompt, you should explain exactly what you want to receive as a result. The plugin doesn't control GPT; you do, by creating correct prompts with clear instructions. The CyberSEO Pro plugin is a robot that does not think like AI but merely follows the algorithm. For example, if you want to remove all the images from your posts, you can set the plugin to simply remove all img tags from your content: Login to see this linkIn your initial post, you asked for a solution to break the post into paragraphs and then translate them one by one. If the code I provide in this thread does not send some content to GPT, then this content is not located in paragraphs. That's why I said that this solution is not universal and will work for paragraphs only. Thus, it cannot be implemented as a standard option in the plugin's interface - every single case is very specific and requires its own dedicated solution. I would suggest considering DeepL as an alternative.
By the way, for large texts, you can try the new Google Gemini Pro 1.5 model (gemini-1.5-pro-latest). According to the documentation, you can translate texts with up to 8192 tokens each: Login to see this link
And of course the OpenAI GPT-4 32K (gpt-4-32k) is also available since 2023: Login to see this link
These models should be used with a simple shortcode and don't require custom PHP snippets for processing of rather large texts.
Thanks, I see. GPT4 32k is not available for me. Can't find it in openAI account.
It seems like the best would be not to use PHP and just proceed with AI article tab in simple language form.
Hopefully last question:
Do you have any tutorial, excluding your blog, where you show the best setup for ENG->other language setup?
mediasf1231 said
Thanks, I see. GPT4 32k is not available for me. Can't find it in openAI account.
You can use it through OpenRouter.ai, which is also supported by CyberSEO Pro: Login to see this link
mediasf1231 said
Do you have any tutorial, excluding your blog, where you show the best setup for ENG->other language setup?
Please be specific in your question. There is no best setup. Everything is very individual for your personal case. What is best for one is definitely worst for another.
2:19 pm
April 9, 2024
5:03 pm
April 9, 2024
Ok I have figured out GPT.
Now I need to figure out how to handle categories.
So I have a list of categories which are created based on original source blog. But I need to translate these categories into other languages and I don't want them to be added again once I syndicate another blog post from source.
So for example I have categories:
Business
Life
Fresh News
Then I translate them to other language and English version disappears. But due this new posts are not added into translated versions, instead they create again English categories.
Is it possible to solve?
12:15 am
April 9, 2024
CyberSEO said
When you are using a translation service, the categories get translated automatically. How exactly these categories were translated?
I am using openAI to translate posts and add new categories function if categories are not found.
As far as I can see , categories are not translated. What should I do?
8:58 am
April 9, 2024
9:05 am
April 9, 2024
mediasf1231 said
Another thing besides categories.For some reason articles have this code of images not deleted from original article, please check screenshot. Image you see is from Dalle and its working fine, but under it there is that code chunk. How to get it removed?
Login to see this link
Problem solved with images.
10:26 am
April 9, 2024
mediasf1231 said
CyberSEO said
When you are using a translation service, the categories get translated automatically. How exactly these categories were translated?I am using openAI to translate posts and add new categories function if categories are not found.
As far as I can see , categories are not translated. What should I do?
I just need to solve this. Any ideas?
When you translate text using supported third-party services and select the target language, the plugin sees that you are performing text translation, so it automatically translates post tags and categories using the same settings - the service and the target language.
When you use a shortcode to do something with your content using AI, the plugin has no idea on what exactly you do in your prompt. So course it doesn't know that some parts of your article were rewritten, translated etc. It doesn't know that you want to translate your categories, maybe some custom field values etc. It doesn't even know which GPT prompt you'd like to use...
In this situation, the only solution is to use DeepL, Google Translate or Yandex Translate, so the plugin will be able to see what you actually do. Alternatively, you can write a custom PHP script to implement your personal strategy using CyberSEO Pro Login to see this link. In this case, you can select the AI engine you want, set the target language, create your own GPT prompt, and translate any supplemental elements of your posts, such as categories, tags, and custom field values using a GPT prompt. Since this is a very custom task, it requires its own custom code. You can write it yourself or order a custom development service according to your technical specifications.
P.S. The Login to see this link is familiar with CyberSEO Pro documentation and can write custom snippets for it. However, your task may require a good technical specification of the task you need to perform.
10:55 am
April 9, 2024
CyberSEO said
When you translate text using supported third-party services and select the target language, the plugin sees that you are performing text translation, so it automatically translates post tags and categories using the same settings - the service and the target language.When you use a shortcode to do something with your content using AI, the plugin has no idea on what exactly you do in your prompt. So course it doesn't know that some parts of your article were rewritten, translated etc. It doesn't know that you want to translate your categories, maybe some custom field values etc. It doesn't even know which GPT prompt you'd like to use...
In this situation, the only solution is to use DeepL, Google Translate or Yandex Translate, so the plugin will be able to see what you actually do. Alternatively, you can write a custom PHP script to implement your personal strategy using CyberSEO Pro Login to see this link. In this case, you can select the AI engine you want, set the target language, create your own GPT prompt, and translate any supplemental elements of your posts, such as categories, tags, and custom field values using a GPT prompt. Since this is a very custom task, it requires its own custom code. You can write it yourself or order a custom development service according to your technical specifications.
P.S. The Login to see this link is familiar with CyberSEO Pro documentation and can write custom snippets for it. However, your task may require a good technical specification of the task you need to perform.
Thanks for explanation! Nice, I have chatgpt so can chat with support assistant.
2:45 pm
April 9, 2024
CyberSEO said
When you translate text using supported third-party services and select the target language, the plugin sees that you are performing text translation, so it automatically translates post tags and categories using the same settings - the service and the target language.When you use a shortcode to do something with your content using AI, the plugin has no idea on what exactly you do in your prompt. So course it doesn't know that some parts of your article were rewritten, translated etc. It doesn't know that you want to translate your categories, maybe some custom field values etc. It doesn't even know which GPT prompt you'd like to use...
In this situation, the only solution is to use DeepL, Google Translate or Yandex Translate, so the plugin will be able to see what you actually do. Alternatively, you can write a custom PHP script to implement your personal strategy using CyberSEO Pro Login to see this link. In this case, you can select the AI engine you want, set the target language, create your own GPT prompt, and translate any supplemental elements of your posts, such as categories, tags, and custom field values using a GPT prompt. Since this is a very custom task, it requires its own custom code. You can write it yourself or order a custom development service according to your technical specifications.
P.S. The Login to see this link is familiar with CyberSEO Pro documentation and can write custom snippets for it. However, your task may require a good technical specification of the task you need to perform.
So I am using only deepl, but categories still are not translated. What should I do now?
[18-04-24 12:41:40] Processing a new post: I have removed URL to not post here.
[18-04-24 12:41:40] Apply post filtering
[18-04-24 12:41:40] Done
[18-04-24 12:41:40] Checking for duplicate by link
[18-04-24 12:41:40] Processing post templates
[18-04-24 12:41:40] Trying to translated content with DeepL
[18-04-24 12:41:43] Done
Most Users Ever Online: 541
Currently Online:
10 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2819
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1627
Posts: 8280
Newest Members:
sneakpeachagency, bkc.tessier, igor.buzaev, jeremyboucher, lthompson2709, MACAdministrators: CyberSEO: 3913