Tagged: x
-
AuthorPosts
-
December 14, 2016 at 12:54 pm #1293118
flamingbobParticipantHi 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!
December 14, 2016 at 3:36 pm #1293339
FriechModeratorHey 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.
December 16, 2016 at 4:23 am #1295474
flamingbobParticipantHi 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 fileDecember 16, 2016 at 7:05 am #1295560
Paul RModeratorDecember 16, 2016 at 7:20 am #1295575
flamingbobParticipantFound 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 notSo 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?
December 16, 2016 at 10:47 am #1295749
JadeModeratorHi there,
Would you mind providing the link to the section that is not translated so that we can check it?
Thank you.
December 18, 2016 at 7:21 am #1297151
flamingbobParticipantSure 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.
December 18, 2016 at 9:10 am #1297199
ChristianModeratorWe’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
cornerstoneso you’ll have to translate it to. See https://premium.wpmudev.org/blog/translating-wordpress-plugins/ to see how to translate a plugin.Thanks.
December 19, 2016 at 12:00 pm #1298450
flamingbobParticipantCool 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!
December 19, 2016 at 12:33 pm #1298489
JadeModeratorThanks for the suggestion! We’ll surely look into it. 🙂
December 22, 2016 at 7:14 am #1301650
flamingbobParticipantCool 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:)
December 22, 2016 at 8:48 am #1301734
RahulModeratorHey There,
Thanks for the input. Appreciated!
Let us know if we can help with anything else.
Thank you.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1293118 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
