translation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16144
    Rpaskinrpaskin
    Participant

    Hi,

    I need to translate certain components, for example on a Department page, I need “Contact Information”, “Our Faculty”, etc. in my language (pt-br).

    I’ve created new po and mo file using PoEdit with that, and uploaded them into wp-content/languages

    I’ve also set the language in general settings to pt-br.

    However, I don’t see my translations kick in. What am I missing?

    Please help!

    thanks,
    Ronnie

    #16152
    VeenaVeena
    Moderator

    You need to do an update in POEdit to see all the translated strings.

    #16623
    Rpaskinrpaskin
    Participant

    I have uploaded updated POE files into my wp-content/themes/invent/languages directory (translating to Portuguese so pt_BR.mo and pt_BT.po).

    I’ve also followed this link: http://www.solostream.com/blog/translate-wordpress-theme/ for some tips, so I looked at the code and the text_domain seems to be set with ‘mo_theme’ so edited wp-content/themes/invent/functions.php to add:

    load_theme_textdomain('mo_theme');

    I’ve also edited wp-config.php to add:

    define ('WPLANG', 'pt_BR');

    Still, when I go to a page (e.g. ) to see the translations, they don’t take. Please help as this is really necessary for me to make the site live!

    #16625
    Rpaskinrpaskin
    Participant

    NM, I think the PO/MO files were in the wrong directory or maybe were corrupt, I re-uploaded and it’s working now.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Invent Theme Support’ is closed to new topics and replies.