Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1293118
    flamingbob
    Participant

    Hi there,

    Im trying to change some text in x/framework/functions/global/portfolio.php

    I cant override the functions in my child theme and get a nice code 500 due to double declared functions.

    Whole idea is to change the social sharing texts since the site needs to be dutch and is now in english.

    Noticed also that customizer does change the URL slug, but not the actual page title. Can that also be altered?

    Hope when that is done i can also add social sharing to the blogs.

    Thanks!

    #1293339
    Friech
    Moderator

    Hey there,

    Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.

    Thank you for your understanding.

    #1295474
    flamingbob
    Participant

    Hi Friech,

    Its mainly for translating some stuff in the X-theme. Maybe thats a feature for newer releases. For now just need to do it manually or try it with filters.

    Eg all these hooks:
    “<a href=\”#share\” data-toggle=\”tooltip\” data-placement=\”bottom\” data-trigger=\”hover\” class=\”x-share\” title=\”” . __( ‘Share on Facebook’, ‘__x__’ )

    Nice in english but better to translate it on my own language.
    Hoped there was a smarter way but now do the dirty programmer trick. Change it and add +i to the file

    #1295560
    Paul R
    Moderator

    Hi,

    Please refer to the link below.

    https://community.theme.co/kb/translation/

    Hope that helps.

    #1295575
    flamingbob
    Participant

    Found it yes! Works good.
    Strange is that my portfolio work is translated but the shortcode [x_share title=”Deel deze post” facebook=”true” twitter=”true” pinterest=”true” email=”true”] is not

    So with the altered mo and po i get a good translation on the portfolio but all other shares still go in english.

    Have you seen that before?

    #1295749
    Jade
    Moderator

    Hi there,

    Would you mind providing the link to the section that is not translated so that we can check it?

    Thank you.

    #1297151
    flamingbob
    Participant

    Sure can do so. Can you send me the ip adress so i can remove the under construction page? Else i can remove it also, just then need to update my license and open it for public. Its strange that its not picking it up within the posts but translating does work on the portfolio. BTW get a lot of compliments out of dutch wordpress users whos aw it a bit.

    #1297199
    Christian
    Moderator

    We’re sorry but we could not give an IP address as support members are spread across different countries and we have dynamic IP addresses. Please disable restriction.

    Shortcodes are powered by Cornerstone and it’s text domain is cornerstone so you’ll have to translate it to. See https://premium.wpmudev.org/blog/translating-wordpress-plugins/ to see how to translate a plugin.

    Thanks.

    #1298450
    flamingbob
    Participant

    Cool ideas. So that is the trick. Will let you know. Might be a good idea if it works to list it on the knowledge database 🙂 Thanks!

    #1298489
    Jade
    Moderator

    Thanks for the suggestion! We’ll surely look into it. 🙂

    #1301650
    flamingbob
    Participant

    Cool find btw. Translated a bunch of stuff in cornerstone that works awesome! Epic to do
    About x-content-dock
    Here its harder to do. Noticed it uses a general __X__ domain and maybe better to limit it to the plugin domain
    Line 87 in
    x-content-dock/views/site/content-dock.php has to be altered to actually use the translations:
    from:

    <input type=”checkbox” id=”x_content_dock_do_not_show” value=”1″ /> <?php _e( ‘Do not show again’, ‘__e__’ ); ?>
    To:
    <input type=”checkbox” id=”x_content_dock_do_not_show” value=”1″ /> <?php _e( ‘Do not show again’, ‘__x__’ ); ?>

    Basic stuff for the users is now done! Thanks can launch this concept soon and get this license as soon as my wife sees this site as done:)

    #1301734
    Rahul
    Moderator

    Hey There,

    Thanks for the input. Appreciated!

    Let us know if we can help with anything else.

    Thank you.

  • <script> jQuery(function($){ $("#no-reply-1293118 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>