Translating Blackrider theme in french for WPMU users

Discussion in 'Blackriders WordPress Theme' started by izymanager, Nov 22, 2013.

  1. izymanager

    izymanager New Member

    Joined:
    Nov 20, 2013
    Messages:
    6
    Likes Received:
    0
    Hi Team,

    We are using Black Riders theme on WPMU. We would like to translate everything in french. We are using Wordpress trnaslation module.

    We generated the .po and .mo file and translated everything we could. However, there is a lot of features that are not available within the po file.

    Our main issue is to get this theme available for our customers in french, without manually changing the .php file.

    Moreover, if we do these changes manually in the .php files, our change will be lost with the next update. Am I right? Is there any other way to translate this theme?

    thanks,

    Devrim
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    If you want to translate the theme in one language then follow the link given below
    http://www.inkthemes.com/how-to-cre...-of-wordpress-theme-in-multiple-languages/02/

    If you want to translate the theme in multiple language then you can achieve this through
    1. qTranslate plugin,
    See the link for reference
    http://www.inkthemes.com/how-to-translate-your-wordpress-website-using-qtranslate-plugin/01/

    Or

    2. Google Language Translator plugin,
    See the link for reference
    http://www.inkthemes.com/make-multi-language-website-by-using-google-language-translator-plugin/08/


    I hope this will help you.
     
  3. izymanager

    izymanager New Member

    Joined:
    Nov 20, 2013
    Messages:
    6
    Likes Received:
    0
    Hi Gourav,
    thanks for your reply.
    We already generated .po and .mo files. However, this can't solve my problem as there is no lines to translate text in the backoffice. Please check file enclosed.
    How can I translate the backoffice without changing .php files?
    Capture.PNG
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    It is not possible to translate theme option penal without editing php file.
    "theme-options.php" (blackridertheme\functions\theme-options.php) is responsible for theme option penal.
    If you want you can translate it from this file.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  5. izymanager

    izymanager New Member

    Joined:
    Nov 20, 2013
    Messages:
    6
    Likes Received:
    0
    Hi Nitesh,
    Thanks for your reply.
    If I translate the "option panel" to french, what will happen when I update the theme with a new release? Should I translate it again right then?
    This could be painful if I have to do it for every customer using this theme and updating to the new release...
    As a quick reminder, we are using WPMU.
    Please advice.

    Thanks,

    Devrim
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Devrim,

    For future updates you can copy current po file and theme-option.php file for backup and after update you can replace these files.
    Note: If theme is working fine and fulfilling your requirements without creating any problem. Then there is no need to update theme again and again.
    po and theme option are those files which are updated rarely. So you can keep there copies for long time.


    Thanks & Regards
    Nitesh Raghuwanshi
     
  7. izymanager

    izymanager New Member

    Joined:
    Nov 20, 2013
    Messages:
    6
    Likes Received:
    0
    Hi Nitesh,
    One last question regarding translation. Where can I translate back panel buttons label (like "download", "Delete", etc.). I also have issue to translate "theme Options", "Custom leads Form", "Leads Capture" in Appearance menu.
    Please check file enclosed.
    thanks,

    Devrim
     

    Attached Files:

  8. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    To translate "theme Options", "Custom leads Form", "Leads Capture" in Appearance menu.
    You need to edit 3 files.
    blackridertheme\functions\leads_form\custom_lead_form.php,
    blackridertheme\functions\leads_form\themes-page.php,
    blackridertheme\functions\admin-interface.php.

    Open these files and search for the related text and change first search result.

    Button text editing is not possible.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  9. izymanager

    izymanager New Member

    Joined:
    Nov 20, 2013
    Messages:
    6
    Likes Received:
    0
    Hi Nitesh,
    Thank you very much for your answer.
    One more question regarding translation. I am struggling to find how to translate Widget area in Appearance >> Widgets.
    Please check file enclosed.
    Thanks,

    Devrim
     

    Attached Files:

  10. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
  11. izymanager

    izymanager New Member

    Joined:
    Nov 20, 2013
    Messages:
    6
    Likes Received:
    0
    Hi,
    We already updated these informations in .po files. But it does not work.
    Please check enclosed file.
    We generated them using WP translation module and we translated the theme into french. Other fields work like a charm. Capture.PNG
     
  12. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Theme already have the translation in french.
    Just go to the wp-config.php file present in your root directory and put 'fe' in place of 'default'.

    See the link for reference.
    http://screencast.com/t/jTzDIh5iJY

    This will solve your issue.
     

Share This Page