elliv1989
Forum Replies Created
-
yeah, me neither yet. But I’ll figure it out and when I will, I’ll let you know.
As you can see here the plugin setsail tours and the plugin setsail core, renamed in the TTfP settings as “main”. I can’t understand why.
and the translations of TTfP “main” don’t work of course as you can see here I have the translation
I can understant this, because the plugin is not main but setsail-tours.
In setsail-tours plugin the code of strings is (‘string’, ‘setsail-tours’) as you can see here.
So I tried the to add “$domains[] = “main”;” but still nothing.
Why and how the plugin renamed in TTfP settings is a mystery.
Good morning,
That’s exactly my problem, as mentioned before, the plugin is like it’s not installed at all.
It disappeared look the settings here: https://ibb.co/mtvtSm0
and the code here: https://ibb.co/8dHJ6x3
But I have to tell you that the theme is setsail, setsail tours is a plugin: https://ibb.co/XDDrVvY
No, It disappeared from there and the translation stopped working. I don’t know why. It is in my plugins but not there.
And now there is something that has the name main… and I don’t know what is this
- This reply was modified 1 year, 10 months ago by elliv1989.
I did, but still nothing changed! I can’t understand!
I disabled all other plugins, still the same problem, I visited the page from incognito but again the same problem!
I really can’t understand why it is not working
ok sure, thank you, I appreciate it
so we have this string for example: https://ibb.co/s9yLq8m
the code: https://ibb.co/zhbfMcR
the string translation: https://ibb.co/6ysFJX7
the languages: https://ibb.co/6yCtdHC
and the settings that I just notice that setsail-tour plugin disappeared: https://ibb.co/kJ2CDnC
- This reply was modified 1 year, 10 months ago by elliv1989.
Still not working… I really can’t understand why
No, I already write it to previous answer.
My Theme name is setsail.
The screenshot is from plugin please read my answer above
see also the screenshot
And my theme name is setsail look here
- This reply was modified 1 year, 10 months ago by elliv1989.
this code is from a theme’s plugin, the setsail tours, because the example in the screeshot I sent with strings like “INFORMATION” TOUR PLAN” etc are in this plugin, my theme’s name is setsail
ah ok, you mean something like this one
<h3 class="qodef-tour-plan-title"> <?php esc_html_e( 'Tour Plan', 'setsail-tours' ); ?> </h3>
You can find screenshot from settings here:
and a screenshot from the code here:
I can’t understand what exactly you need.
Although I’ll upload some images with the problem.
I translated all strings in string translation but everything are in default theme/plugin language
Img-1: https://ibb.co/V2G5qt0
Img-2: https://ibb.co/6bCTMKg
Img-3: https://ibb.co/Thk2xfy
I also found another topic with a relative problem and I tried a code you suggested with my theme name, but it didn’t work again.
I tried this code:
add_filter(‘ttfp_domains’, ‘custom_ttfp_domains’, 10, 1);
function custom_ttfp_domains(array $domains)
{
$domains[] = “setsail”;
return $domains;
}and also this one:
add_filter(‘ttfp_domains’, ‘custom_ttfp_domains’, 10, 1);
function custom_ttfp_domains(array $domains)
{
$domains[] = “setsail-child”;
return $domains;
}Καλημ?ρα, με polylang, polylang for woocommerce & polylang business