• Home
  • Features
    • Background Rotator
    • Color Chooser
    • Gantry Framework
    • Gantry Documentation
    • Widget Variations
    • Widget Positions
    • Menu Icons
      • Add Icon
      • Arrow Icon
      • Briefcase Icon
      • Calendar Icon
      • Check Icon
      • Crank Icon
      • Delete Icon
      • Docs Icon
      • Email Icon
      • Home Icon
      • Key Icon
      • Lock Icon
      • Minus Icon
      • Monitor Icon
      • Notes Icon
      • Post Icon
      • Printer Icon
      • RSS Icon
      • Unlock Icon
      • Warning Icon
      • Write Icon
    • Child Items
      • Child Item
      • Child Item Multi-Column Example
        • Child Item
        • Child Item
        • Child Item
        • Child Item
        • Child Item
        • Child Item Single Column Example
          • Child Item
          • Child Item
          • Child Item
          • Child Item
        • Child Item
        • Child Item
      • Child Item Single Column Example
        • Child Item
        • Child Item
        • Child Item
          • Child Item
          • Child Item
          • Child Item
            • Child Item
            • Child Item
            • Child Item
            • Child Item
          • Child Item
        • Child Item
      • Child Item
  • Typography
    • Shortcodes Example
    • HTML Examples
    • Using Typography
  • Plugins
    • RokAjaxSearch
    • RokBox
    • RokTabs
    • RokNewsPager
    • RokStories
  • Tutorials
    • Installation
    • RocketLauncher
    • Overrides
    • Divider and Layouts
    • Logo Editing
    • Menu Options
    • RokBox
    • RokTabs
    • RokNewsPager
    • RokStories
    • Translating Theme
    • Translating Plugins
  • Preset Styles
    • Preset 1
    • Preset 2
    • Preset 3
    • Preset 4
    • Preset 5
    • Preset 6
    • Preset 7
    • Preset 8
    • Preset 9
    • Preset 10
    • Preset 11
    • Preset 12
Tutorials Translating Plugins

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

  • Please check if your WordPress is set up to use the translation (see above)
  • Copy your downloaded .mo translation file to the plugin languages directory (http://www.yoursite.com/wp-content/plugins/wp-rokstories/languages/)

Sharing your translation with RocketTheme

  • After translating your .pot file POedit also creates the .mo file which contains your encrypted translation
  • Just send us your plugin-country_code.mo (depending on what language is your translation) file located in (http://www.yoursite.com/wp-content/plugins/wp-rokstories/languages/) and tell us for what country and what language is your translation

Leave a Reply

Click here to cancel reply.
You must be logged in to post a comment.

Main Menu

  • Home
  • Features
  • Typography
  • Plugins
  • Tutorials
    • Installation
    • RocketLauncher
    • Overrides
    • Divider and Layouts
    • Logo Editing
    • Menu Options
    • RokBox
    • RokTabs
    • RokNewsPager
    • RokStories
    • Translating Theme
    • Translating Plugins
  • Preset Styles

Login

  • Forgot your password?

Categories

  • FrontPage
  • Plugins
  • RokTabs
  • Rotator

Tags

awesome background chooser color design modern panacea rockettheme rotator style

Help Center

  • Frequently Asked Questions
  • Written Documentation
  • Video Guides & Aids
  • Member Support Forum

Contact Info

Panacea Template LLC
173 Cyrian Drive,
Houston, TX, 34900, USA
Tel: (555) 555-55555

Demo Information

All demo content is for demostrative purposes only, intended to show a representative example of a live site. All images and materials are the copyright of their respective owners. Additionally, this demo, in a modified form, is available for download in the RocketLauncher format.

Designed By
Powered By