Ladd McNamara, M.D discusses the future of medicine both as it relates to health, supplementation, and how health professionals are finding new ways to increase income in an ever evolving world!

Translating Plugins

This guide covers the basics of translating a RocketTheme plugin to your native language.

Setting up WordPress for translation

Please skip this step if you have already set your native language for your WordPress blog.

To enable WordPress to load template language file:-

  • Using your favorite text editor open file wp-config.php from your WordPress directory
  • Locate the line: define (‘WPLANG’, “);
  • In the second quotes (next to WPLANG) please type in your language code ie. for Polish pl_PL, for Deutsch de_DE, for Italiano it_IT etc.
  • Final result of line should look like: define (‘WPLANG’, ‘pl_PL’);
  • Save the file

Complete lists of codes can be found at (country codes) and (language codes)

Translating a RocketTheme plugin

In this example we will use the RokStories plugin for translation:

  • Download the .pot file editor such as POedit (multi-platform)
  • Open the editor and choose New Catalog from POT File
  • Open the rokstories.pot file from the plugin languages directory (http://www.yoursite.com/wp-content/plugins/wp-rokstories/languages/)
  • Click on a single phrase or sentence and type in your translation in the bottom of the POedit window
  • Save the file using Save As and as a filename use your plugin name, country and language code ie. for Polish rokstories-pl_PL, for Deutsch rokstories-de_DE, for Italiano rokstories-it_IT etc. (For the polish translation for RokStories, saved as rokstories-pl_PL.mo)

If you want to you can share your translation with us so we could provide your language file to other users of WordPress Club here at RocketTheme.

Installing downloaded translation file for the RocketTheme plugin

Sharing your translation with RocketTheme

Site Search

Follow Me On:

Subscribe for Updates

* First Name:
* Last Name:
* E-mail:
Comments:

Medical Disclaimer

Information on this web site is provided for informational purposes only. The information is a result of years of practice experience and study by the author. This information is not intended as a substitute for the advice provided by your physician or other healthcare professional or any information contained on or in any product label or packaging. Do not use the information on this website for diagnosing or treating a health problem or disease, or prescribing medication or other treatment. Always speak with your physician or other healthcare professional before taking any medication or nutritional, herbal or homeopathic supplement, or using any treatment for a health problem. If you have or suspect that you have a medical problem, contact your health care provider promptly. Do not disregard professional medical advice or delay in seeking professional advice because of something you have read on this web site. Information provided on this web site and the use of any products or services purchased from this website (or as a result of information provided this website) by you DOES NOT create a doctor-patient relationship between you and any of the physicians or authors affiliated with this website. Information and statements regarding dietary supplements have not been evaluated by the Food and Drug Administration and are not intended to diagnose, treat, cure, or prevent any disease.