Hello
The SKTThemes author seemed to make his theme compatible with Polylang. You should see with the SKTThemes author if he did something:
https://wordpress.org/support/topic/skt-full-width-slider?replies=2
Tnx for reply Chrystl..I am kind a new in php so i need to figure out how exactly to use those functions but i would rather stick to wpml-config.xml i guess it is kind more straight forward just don;t know exactly what i need to define inside.
footer Strings Main menu, Get In Touch Contact Info, and title bellow contact info
Did you fill all these strings in the “Theme Options”?
Hey Chrystl..Currently i cant figure out xml…the problem is that those strings were hardcoded in theme…there was not an option in Theme options to set them manually..So i worked my way around and look for them in footer.php and used wordpress translate function _e(string,text domain). Then i scan my po. files again and they showed up. Now i am trying to use pll_register_string() function together with pll_e() to translate slider texts and footer text for example but so far no sucsess. They show in String translation menu but they don’t translate on front end.
They show in String translation menu but they don’t translate on front end.
Did you check the option “The language is set from the directory name in pretty permalinks” in Polylang settings?
Option is checked because i wanted to be my site name with language code after it. Is this an issue?Maybe i don’t target string’s good. For example i have code like this or similar
if ( (function_exists( ‘of_get_option’ ) && (of_get_option(‘footertext2’, true) != 1) ) ) {
echo esc_html( of_get_option(‘footertext2’,true) );
} ?>
So i want footer2 text to translate. How should i target that with register string function. Thank you so much so far for support!
Sorry I can’t help you more as my php skills are limited.
No worries thank you so much you have been helpful i will try to find my way around.