Translation problem - by mildac - on WordPress WooCommerce support

This topic has 9 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Stan Russell

  • Avatar: mildac
    mildac
    Participant
    September 25, 2015 at 09:41

    Good morning,

    Is there any way to keep dashboard as english but the website to the local language? Because, when I use $locale code, my dashboard is turning to local language. But I would like to keep dashboard as English but translating the theme.

    Thx in advance

    8 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 25, 2015 at 14:29

    Hello,

    Unfortunately there is no such feature, but you may refer to WordPress forums.

    Best regards,
    Jack Richardson.

    Avatar: mildac
    mildac
    Participant
    September 25, 2015 at 22:27

    Dear Jack,

    After a long search, I found a plugin works perfect – Backend Localization. You can recommend to other users who is looking for two different languages for backend and forend. (there are some other plugins also such as native dashboard)

    And I highly recommend to other users translate the template first. Because, my all links are broken now. And I dont know how to repair.

    I would like to ask a few more questions:

    1) After translation to local language, I need to reduce the font size of ”quick view” (which is on the corner of thumbnails.) How can I change?

    2) Some words on checkout page’s header was not translated into local. (such as billing address, shipping address, etc.) Which codes I should edit? I looked for almost all files under the checkout and billing files but couldnot find. Sorry for bothering.

    Thank you for your support.

    Avatar: mildac
    mildac
    Participant
    September 26, 2015 at 07:48

    3) And also how we can translate the ”latest products” and ”featured products” headlines on the home page? We translated these words on .po files but it didnot reflect.

    Avatar: stan
    Stan Russell
    Participant
    September 26, 2015 at 19:31

    Hello mildac,

    you need to edit file \royal\framework\shortcodes.php on lines 1123 and 1180
    We recommend you to make these changes in Child theme.
    Read here how to do it right: https://codex.wordpress.org/Child_Themes

    Regards,
    Stan Russell.

    Avatar: mildac
    mildac
    Participant
    September 28, 2015 at 13:12

    Thank you Stan. But my theme is not Royal, it is Legenda. So couldnot fide codes on the line which you mention. Waiting your kind replays regarding to these 3 questions.

    1) After translation to local language, I need to reduce the font size of ”quick view” (which is on the corner of thumbnails.) How can I change?

    2) Some words on checkout page’s header was not translated into local. (such as billing address, shipping address, etc.) Which codes I should edit? I looked for almost all files under the checkout and billing files but couldnot find. Sorry for bothering.

    3) And also how we can translate the ”latest products” and ”featured products” headlines on the home page? We translated these words on .po files but it didnot reflect.

    Avatar: mildac
    mildac
    Participant
    September 28, 2015 at 13:28

    And all above this, I need to solve the broken links problem. I need your prompt response. The all links which I created are broken after the translation. Please see the private content.

    And the reason is not the changing .po file. There is no translation for product category on .po file. The reason is localization. It happened after I localized the wordpress,

    Please, contact administrator
    for this information.
    Avatar: mildac
    mildac
    Participant
    September 28, 2015 at 13:44

    Link problem solved. Please ignore it. Just waiting ur answers regarding to these 3 questions.

    1) After translation to local language, I need to reduce the font size of ”quick view” (which is on the corner of thumbnails.) How can I change?

    2) Some words on checkout page’s header was not translated into local. (such as billing address, shipping address, etc.) Which codes I should edit? I looked for almost all files under the checkout and billing files but couldnot find. Sorry for bothering.

    3) And also how we can translate the ”latest products” and ”featured products” headlines on the home page? We translated these words on .po files but it didnot reflect.

    Avatar: stan
    Stan Russell
    Participant
    September 29, 2015 at 07:12

    Hello mildac,

    1) please use following css code:

    .show-quickly{
    font-size:8px!important
    }

    2) in order to translate these words, you need to edit files \legenda\woocommerce\checkout\form-billing.php (line 17 and 21) and \legenda\woocommerce\checkout\form-checkout.php (lines 47,48,49)

    3) you need to edit file \legenda\framework\shortcodes.php (lines 458 and 515)

    Please make all changes to theme files only in Child theme. Read here how to do it right: https://codex.wordpress.org/Child_Themes

    Regards,
    Stan Russell.

  • Viewing 9 results - 1 through 9 (of 9 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.