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?
ksoshnin
ParticipantHi Catalin,
Thank you for replying.
Here is the info:
http://electronicsports.ca/site_v0/wp-admin/
user: catalin
pass: kleo11!Pages:
http://electronicsports.ca/site_v0/events/league-of-legends-championship/
http://electronicsports.ca/site_v0/en/events/league-of-legends-championship/Best regards,
KirilP.S. Could you also take a look at this thread please: https://archived.seventhqueen.com/forums/topic/translating-theme-options-output (I’ve posted it on August 27 and still no reply)
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