This topic has 14 replies, 7 voices, and was last updated 8 years by Laura.

  • Author
  • #38849
     Laura
    Moderator

    Hello, this is a guide about how to translate the Theme and Buddypress.

    How to translate the Theme and Buddypress?
    We suggest using Codestyling Localization plugin, but another that edits .mo /.po files would work. For this guide, we will use Codestyling Localization.

    Plugin: https://wordpress.org/plugins/codestyling-localization/

    0. Activate the plugin
    1. Enter Localization From Tools Menu
    2. Look for Sweetdate or any other plugin you want to translate.
    3. Follow the screenshots to Scan The files, then Edit button.
    4. Find the word you want to translate.
    5. Click edit and translate it
    6. Save your translation.
    7. Save the file using GENERATE MO-FILE.

    FAQ
    1. Memory Limit error appears!
    The translation plugins shows the error because maybe you have a memory limit, we can try a code, but if your hosting doesnt allow it, you should talk to them.

    Try adding this to wp-config.php

    COPY CODE
    define(‘WP_MEMORY_LIMIT’, ’96M’);
    

    If not, try this in .htaccess (if you can see it)

    COPY CODE
    php_value memory_limit 64M
    

    If nothing changes then talk to your host.

    2. Weird Symbols appearing?
    This is something coming from your database, try this http://blogsuccessjournal.com/blog-tips-and-advice/wordpress-tips/seeing-weird-characters-on-blog-how-to-fix-wordpress-character-encoding-latin1-to-utf8/ or contact your hosting provider

    3. Some Warnings appearing around the site?
    It may be an error with some translations, or another issue, but as they are just warnings, we can just hide them if we dont find a way to fix them.

    To hide them:
    Try adding this to your wp-config.php

    COPY CODE
    error_reporting(0);
    @ini_set(‘display_errors’, 0);
    

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    Attachments:
    You must be logged in to view attached files.
    #47182
     Globetrekker
    Participant

    Hi Laura,

    Thanks for the guide.
    Where can I change the language of the sign-up form: “Create an Account. Registering for this site is easy, just fill in the fields below and we will get a new account set up for you in no time.” ?
    I cannot seem to find it when I search in my language files.

    #47834
     Globetrekker
    Participant

    Any ideas?

    #50203
     Laura
    Moderator

    Hello, that is in Sweetdate > Buddypress

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #96004
     jnschmid
    Participant

    The Codestyling Plugin is not available anymore 🙁

    #96132
     Laura
    Moderator

    Hello, try then Loco Translate 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #108728
     vinz98
    Participant

    There is one thing to keep in mind though, Loco Translate offers two file save locations for you:
    For instance I took buddypress to add a translation.
    The translations file can be saved at two places. Original or global.

    X create in plugins/buddypress
    X create in global languages directory languages/plugins/

    The first one will be overwritten when a plugin updates and the second one will not. (You want your custom work to stay, off course.)
    However when you choose the second one, there will be two POT files and WP will choose the first one available, the plugin one. So check that out.
    To force WP to choose the “custom” global one, you simply rename the original one for instance buddypress.no or similar.
    Now the global one will be found first, and thus be used.

    After an plugin update you need to “sync” to throw out obsolete and new translation positions.

    I hope this helps for anyone

    #115569
     a6331996
    Participant

    Hi, Laura

    How I can translate the search form in the homepage?
    for example: “I am a” translated to “我是”

    Thank you

    #115912
     Laura
    Moderator

    Hello, at Users > Profile fields you will find it 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #122547
     Kanokpanb
    Participant

    Hi everyone,
    I just used this plug in”Transposh”(link below). It would translate everything on your page. And you can custom the words yourself. Try it and correct me if I’m wrong.

    https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/installation/

    Attachments:
    You must be logged in to view attached files.
    #122827
     Laura
    Moderator

    Thanks you for the suggestion! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #124375
     racso420
    Participant

    Hello – After last theme update, the translation you did for me, is overwriten again, again.

    When Loco translation, Transposh and Codelocation translationsplugins wont react, what to do then?

    No post have been usefull in this supportforum, nothing changes.

    Its only 3-4 strings that i miss, where are these strings located, so i can hardcode them my self?

    Its the “read more” text on blogs, and the upper right corner “profile” and “log in/log out”

    Please help me out!

    O.

    #124553
     Laura
    Moderator

    Hello @racso420 , can you open a topic about that and share your admin credentials? I will be happy to help you resolve this issue 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #126366
     Globetrekker
    Participant

    I have the same problem after the last update.. Have to translate the same string again and again..

    #126581
     Laura
    Moderator

    Hello, can you open a new topic about that? 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?