Tagged: x
-
AuthorPosts
-
August 22, 2016 at 12:53 am #1141028
maghrabi42ParticipantHello,
I can’t translate the shipping on the checkout page find in attachment please
thank youAugust 22, 2016 at 1:13 am #1141045
Paul RModeratorHi,
You can add this in your child theme’s functions.php file.
function my_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Shipping' : $translated_text = __( 'ADD YOUR TRANSLATION HERE', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'my_text_strings', 20, 3 );Change ADD YOUR TRANSLATION HERE with your text
Hope that helps
August 22, 2016 at 2:19 am #1141076
maghrabi42Participantnothing happen please see it in attachment
thank youAugust 22, 2016 at 3:15 am #1141122
ChristianModeratorHey there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
August 22, 2016 at 4:26 am #1141180
maghrabi42ParticipantThis reply has been marked as private.August 22, 2016 at 4:29 am #1141187
maghrabi42ParticipantHello,
if you can also translate please the (Your cart is currently empty) (Return To Shop)
because i translate the spot file but nothing change exactly like the shipping
thank youAugust 22, 2016 at 5:13 am #1141245
ChristianModeratorThe code given previously works (see attachment).
I’ve also added
case 'Your cart is currently empty.' : $translated_text = __( 'سلة مشترياتك فارغة حاليًا.', 'woocommerce' ); break;to the code which also works (see attachment).
For more translations, please seek help from a web developer. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thanks.
August 22, 2016 at 10:21 am #1141582
maghrabi42Participantthank you so much for your help
August 22, 2016 at 11:43 am #1141709
RahulModeratorGlad we could help you.
If you have anything else, let us know. We’d be happy to assist you with everything.
Thanks for using X.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1141028 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
