Forum Replies Created
-
Author
-
ksoshnin
ParticipantNOTE: I use WPML to support 2 languages, so I need to translate these strings for 2 languages. WPML does not detect these strings as they were not internationalized in the code, so they are only outputted in 1 language (in the language that they were written in the admin theme options). This is a critical issue as all theme options behave this way.
ksoshnin
ParticipantThis concerns ALL admin theme options output.
An example would be the contact form output that is configured via the admin theme options: please see attached screenshot (in red). How do I translate this?
Attachments:
You must be logged in to view attached files.ksoshnin
ParticipantHi Unisip,
To see the BuddyPress section in Appereance>Menu, don’t forget to click on “Screen Options” and check “BuddyPress” to make it visible.
ksoshnin
ParticipantDo I need to modify the core theme files myself so the theme becomes truly fully wpml compatible?
ksoshnin
ParticipantUpdate:
I tried inserting this code into my child theme’s functions.php, but it didn’t work.
COPY CODEremove_action('kleo_after_footer', 'kleo_show_contact_form'); add_action('kleo_after_footer', 'child_show_contact_form'); function child_show_contact_form() { $title = sq_option('contact_form_title',''); $content= sq_option('contact_form_text',''); $translated_title = __($title, 'kleo_framework'); $translated_content = __($content, 'kleo_framework'); echo do_shortcode('[kleo_contact_form title="'.$translated_title.'"]'.$translated_content.'[/kleo_contact_form]'); }
-
AuthorPosts