Translate problem again - by Fantasia - on WordPress WooCommerce support

This topic has 10 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Jack Richardson

  • Avatar: Fantasia
    Fantasia
    Participant
    September 2, 2015 at 14:31

    Hello,

    I have translating problems again, and the way that you suggested in this topic, not works in these cases. These text there are not between strings I can edit in POEdit. (and I continuously can’t edit php files with Hungarian characters)

    1. the “newsletter” word in header
    2. search form in the header, the text in the boc “Search for…”
    3. search results: “no product were found”
    4. on product page: “returns and delivery” (description tabs)

    What can I do with the texts like them? And I’m sure I’ll find new ones too during my work with the page.

    Thank you for your help,
    Zsu

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    September 2, 2015 at 16:36

    Hello,

    Please provide us with wp-admin panel/FTP credentials credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: Fantasia
    Fantasia
    Participant
    September 2, 2015 at 17:15

    Hello,

    all info in private.

    Thanks,
    Zsu

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    September 2, 2015 at 17:53

    Hello,

    1. “Newsletter” word is present in default.po file in wp-content/themes/woopress/languages directory. Please make sure you copied all words to your .po file.

    2. “Search for …” text can be found in wp-content/themes/woopress/woosearchform.php (line 14).

    3. “No products were found” is placed in wp-content/themes/woopress/woocommerce/loop/no-products-found.php.

    4. You can translate “Returns and Delivery” tab in Theme Options > Single Product Page > Custom Tab Title.

    Regards,
    Eva Kemp.

    Avatar: Fantasia
    Fantasia
    Participant
    September 2, 2015 at 18:23

    Hello,

    1. and 4. solved, thanks!

    2. 3.: as I wrote earlier, I can’t put Hungarian characters into the PHP files, because when I save them as with UTF-8 coding (they are ANSI originally), I get an error message on all of my pages:

    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/fresnhu1/public_html/wp-content/themes/woopress/framework/shortcodes.php:1) in /home/fresnhu1/public_html/wp-content/plugins/screets-chat/core/fn.init.php on line 164

    Characters will be good anyway, but this message is there everywhere on the top of the pages and also inside the WP admin too. Anyway, I don’t know what this message means :S

    How should I fix this problem?

    Thank you for your help,
    Zsu

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 3, 2015 at 12:33

    Hello,

    You should contact your hosting provider as the errors regarding sessions are related to server configuration.
    You need set correct session save path in server config file. In this case your hosting provider should assist you.

    Thank you.
    Best regards,
    Jack Richardson.

    Avatar: Fantasia
    Fantasia
    Participant
    September 4, 2015 at 18:30

    Hello,

    the problem was not in connect with the hosting provider, but it was that I made my changes with Total Commander. The program puts phantom characters into the php files when saves them, and WordPress doesn’t able to use them this way.
    Editing the files simply with Wordpad was the solution. 🙂

    Thanks,
    Zsu

    Avatar: Eva
    Eva Kemp
    Support staff
    September 4, 2015 at 18:54

    Hello,

    Is your issue resolved now?

    Regards,
    Eva Kemp.

    Avatar: Fantasia
    Fantasia
    Participant
    September 20, 2015 at 13:42

    Hello,

    yes, I’ve made the changes succesfully. When the template updates, do I have to make these changes again?

    Thanks,
    Zsu

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 21, 2015 at 10:41

    Hello,

    In the next update we’ll update translation files and you’ll be able to translate text in .po file.
    Before update you need create a back up of your files and database.

    Best regards,
    Jack Richardson.

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.