Translate codestyling - by movileanu - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp

  • Avatar: movileanu
    movileanu
    Participant
    March 7, 2015 at 07:43

    Hello guys,

    i am tryng to translate with codestyling.

    In the wp config file i can find the “define (‘WPLANG’),”);”

    I ve saw that in another template i ve inserted the $locale=’ro_RO’;, and it seems to work

    Can i leave it like this? it runs ok?

    Please advice

    Thanks

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 7, 2015 at 18:22

    Hello,

    In wp-config.php file you need use the $locale with prefix with your language name which should be similar to the translation file name. For example: $locale='ro_RO';.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: movileanu
    movileanu
    Participant
    March 7, 2015 at 19:48

    Hello Eva,

    like this?

    http://evrik.ro/ro.jpg

    Avatar: Eva
    Eva Kemp
    Support staff
    March 7, 2015 at 20:50

    Hello,

    Yes, that’s correct.

    Regards,
    Eva Kemp.

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