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

  • 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

You must be logged in to post a comment.

RSS iTunes Store: Top Songs

  • Sucker - Jonas Brothers June 18, 2019
    Sucker Happiness Begins Jonas Brothers Genre: Pop Price: $1.29 Release Date: March 1, 2019 © ℗ 2019 Jonas Brothers Recording, Limited Liability Company, under exclusive license to Republic Records, a division of UMG Recordings, Inc. […]
    iTunes Store
  • You Need To Calm Down - Taylor Swift June 18, 2019
    You Need To Calm Down Lover Taylor Swift Genre: Pop Price: $1.29 Release Date: June 14, 2019 © ℗ 2019 Taylor Swift […]
    iTunes Store
  • Old Town Road (feat. Billy Ray Cyrus) [Remix] - Lil Nas X June 18, 2019
    Old Town Road (feat. Billy Ray Cyrus) [Remix] Old Town Road (feat. Billy Ray Cyrus) [Remix] - Single Lil Nas X Genre: Country Price: $1.29 Release Date: April 5, 2019 © ℗ 2019 Columbia Records, a Division of Sony Music Entertainment […]
    iTunes Store
  • Beer Never Broke My Heart - Luke Combs June 18, 2019
    Beer Never Broke My Heart The Prequel - EP Luke Combs Genre: Country Price: $1.29 Release Date: May 7, 2019 © ℗ 2019 River House Artists LLC, under exclusive license to Sony Music Entertainment. All rights reserved. […]
    iTunes Store
  • I Don't Care - Ed Sheeran & Justin Bieber June 18, 2019
    I Don't Care No.6 Collaborations Project Ed Sheeran & Justin Bieber Genre: Pop Price: $1.29 Release Date: May 10, 2019 © 2019 An Asylum Records UK release, a division of Atlantic Records UK; ℗ 2019 Warner Music UK Limited except track 6 ℗ 2019 Warner Music UK / Def Jam Recordings, a division of UMG Recordings, Inc […]
    iTunes Store
  • The Git Up - Blanco Brown June 18, 2019
    The Git Up The Git Up - Single Blanco Brown Genre: Country Price: $1.29 Release Date: May 3, 2019 © ℗ 2019 TrailerTrapMusic LLC […]
    iTunes Store
  • bad guy - Billie Eilish June 18, 2019
    bad guy WHEN WE ALL FALL ASLEEP, WHERE DO WE GO? Billie Eilish Genre: Alternative Price: $1.29 Release Date: March 29, 2019 © ℗ 2019 Darkroom/Interscope Records […]
    iTunes Store
  • Drowning - Chris Young June 18, 2019
    Drowning Drowning - Single Chris Young Genre: Country Price: $1.29 Release Date: June 13, 2019 © ℗ 2018 Sony Music Entertainment. All rights reserved. […]
    iTunes Store
  • God's Country - Blake Shelton June 18, 2019
    God's Country God's Country - Single Blake Shelton Genre: Country Price: $1.29 Release Date: March 29, 2019 © ℗ 2019 Ten Point Productions, Inc. under exclusive license to Warner Records Inc. […]
    iTunes Store
  • Shallow - Lady Gaga & Bradley Cooper June 18, 2019
    Shallow A Star Is Born Soundtrack Lady Gaga & Bradley Cooper Genre: Soundtrack Price: $1.29 Release Date: October 5, 2018 © This Compilation ℗ 2018 Interscope Records […]
    iTunes Store

CUSTOMIZE THE DESIGN WITH EASE

We provide Adobe® Fireworks PNG image sources with every theme, inclusive of a separate source for the logo. This allows for virtually complete customization control over the images that constitute the theme..

Read More

MODULE POSITIONS

The theme has 68 collapsible positions, allowing for a multitude of many different layout options.

Read More

NEW BEGINNINGS GAME

If the Dodgers and the Lakers had NFL Season Tickets for Staples Center, and the NOKIA Theatre had Justin Bieber and The Edge told Sting, that Bono and Chaz sat with Commissioner Stern, after Hugo bought dinner for Kim and Condy, then would this template be consider customised?

Read More