Home Forums WoodMart support forum Hello translate problem

Hello translate problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #474275

    montessori
    Participant

    Hello,
    Everytime when the theme update the file /public_html/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/counter-visitors/class-main.php is replaced and the line 360 with my translated contend is converted in english again.
    What i have to do this to never happen?

    (<span class=”wd-visits-count-msg”><?php echo esc_html( _n( ‘Persoane vizualizează produsul in acest moment!’, ‘Persoane vizualizează produsul in acest moment!’, $count, ‘woodmart’ ) ); ?></span>
    </div>)

    #474289

    Luke Nielsen
    Keymaster

    Hello,

    You need to copy that file to the child theme and make changes in that copied file in the child theme so as a result, after each update the changed text will save.

    In the meantime, feel free to ask me any questions you may have.

    Kind Regards

    #474596

    montessori
    Participant

    Thank you very much

    #474647

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! In case you need any additional help, I’d be more than happy to assist you.

    Have a good day!

    Kind Regards

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