Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3551405
translation didn't work
Closed

Comments

  • amany started the conversation

    hello

    i need to translate 

     لقد قرأت terms and conditions واوافق عليه

    in page checkout - bikerz

    using 

    [pencilang en_US='i have read [terms]and accept' ar='Partager' language_code='لقد قرات الشروط والاحكام واوافق عليها' /]

    but it didn't work and i add shortcode plugin can you help to translate terms and condition in checkout 

  •  2,610
    PenciDesign replied

    Hi,

    For this specific situation, please send me your WordPress admin account details through a PRIVATE message. I will then log in and make an effort to assist you in diagnosing and resolving this issue.

    Regards,
    PenciDesign.


  •   amany replied privately
  • amany replied

    also please note that when i enable plugin  penci shortcode home page on mobile corrupted i attache screenshot 

    Attached files:  WhatsApp Image 2023-12-29 at 1.13.31 PM.jpeg

  •  2,610
    PenciDesign replied

    Hi,

    The pencilang shortcode only works when you've activated the Penci Shortcode & Performance plugin.

    In case you don't want to activate this plugin, you should insert this code either into the functions.php file of the child theme or by using the CodeSnippet plugin available here: https://wordpress.org/plugins/code-snippets/

    if ( ! function_exists( 'penci_language' ) ) {
        add_shortcode( 'pencilang', 'penci_language' );
        function penci_language( $langs ) {
            $current_lang = get_locale();
            $current_lang = strtolower( $current_lang );
            if ( array_key_exists( $current_lang, $langs ) && isset( $langs[ $current_lang ] ) ) {
                return $langs[ $current_lang ];
            } elseif ( array_key_exists( 'default', $langs ) ) {
                return $langs['default'];
            }         return;
        }
    }

    Regards,
    PenciDesign.



  •   amany replied privately
  • amany replied

    any updates

  •  2,610
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → WooCommerce → Checkout → Terms and conditions: translate the text in this option.

    Regards,
    PenciDesign.


  •   amany replied privately
  •   PenciDesign replied privately
  • amany replied

    i saw it thanks very much