Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • in reply to: Translating theme options output #28167
     ksoshnin
    Participant

    NOTE: 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.

    in reply to: Translating theme options output #28165
     ksoshnin
    Participant

    This 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.
    in reply to: Events Manager Breadcrumbs Issue #28163
     ksoshnin
    Participant

    Hi,

    Any updates? Have you found the bug that is causing this issue?

    in reply to: Events Manager Breadcrumbs Issue #27405
     ksoshnin
    Participant
    This reply has been set as private.
    in reply to: Log-in Pop up Module Tutorial #27184
     ksoshnin
    Participant

    Hi Unisip,

    To see the BuddyPress section in Appereance>Menu, don’t forget to click on “Screen Options” and check “BuddyPress” to make it visible.

    in reply to: Translating theme options output #27082
     ksoshnin
    Participant

    Do I need to modify the core theme files myself so the theme becomes truly fully wpml compatible?

    in reply to: Translating theme options output #26769
     ksoshnin
    Participant

    Update:

    I tried inserting this code into my child theme’s functions.php, but it didn’t work.

    COPY CODE
    remove_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]');
    }
    in reply to: Translating theme options output #26765
     ksoshnin
    Participant

    By the way, the theme and all plugins are up-to-date.

Viewing 8 posts - 1 through 8 (of 8 total)

Log in with your credentials

Forgot your details?