Osclass 3.4.2 is ready to download

We’re releasing a new version 3.4.2 that contains two security patches and several bugfixes. Please update, if your current version is 3.4.0 or 3.4.1.

Osclass 3.4.2 highlights:

  •  Fixed two vulnerabilities thanks to Robert and Onur from http://www.netsparker.com
  •  Fixed some issues with the cache
  •  Minor bug fixes and improvements

You can update it from your admin panel or download Osclass 3.4.2 manually. If you have any doubt, please use this guide on how to update Osclass or post your questions in the forums.

Posted in Releases | Leave a comment

How to make your plugin or theme translatable

In our previous post we explained “How to translate plugins and themes“. But what can you do when you’re trying to translate a plugin or theme and can’t find the languages folder?

Step 1. Create locale folder

First of all, you must create the languages folder on the theme or plugin folder (e.g., /oc-content/themes/modern/languages/ for modern theme or /oc-content/google_analyitcs/languages/ for Google Analytics plugin)
Then you must create the locale folder i.e., the language folder with the strings in the original language. By default, Osclass installations are in English (US), as the majority of our plugins and themes. Therefore your plugin/theme locale folder will be named as en_US. Here’s a list of all locale codes.

Step 2. Poedit 

As we mentioned in our previous post, Poedit is our most recommended .po file editor. Download and install it. Run Poedit, create a New File and choose the translation language.
Go to Catalog > Properties and enter the name of your plugin/theme in “Project name”. Remember always to select the UTF-8 format for your files. Then go to the Sources Path tab and enter the folder root of the plugin/theme, where the program will fetch the strings for translating e.g., users/yourname/downloads/google_analytics/. Go to the Sources Keywords tab and introduce the following parameters:

Screenshot 2014-09-04 13.42.06

Save the .po file in your locale folder as messages.po for plugins and themes.po for themes. Click on the Update button and the strings will be uploaded (this may take a few seconds). Once you’ve saved the file, Poedit will generate a .mo file, which you will see on your locale folder.

Step 3. Repeat the process 

To translate into other languages, you’ll need to create a new folder with the correspondent locale code. Copy the .po file from the original language folder; open and translate it with Poedit; save the .po file and you will generate a new .mo file with the new translation.

Lastly, compress the plugin/theme folder into .zip format and manually upload it to your oc-admin. Go to your dashboard and click on the “Add new” button on the upper sidebar and you’re good to go!



Posted in Tutorial | Tagged , , , , | Leave a comment

How to translate Osclass plugins and themes


Yeehaw! This week, Osclass Market has reached more than 1 Million downloads of plugins and themes! All of these have helped thousands of users to boost their Osclass site.

Did you know that you can translate them into your own language? If you have recently downloaded a plugin or theme from our Market, here we tell you how you can translate it.


Do you have a GlotPress account? Some of our plugins and themes are available for translation in GlotPress. So far, there are only a few ones, but we will be adding more of them soon!
Just choose the plugin/theme you want to translate, then select your language and complete it as much as you want!
Still don’t have a GlotPress account? Contact us and we will create you an account in a few seconds!

The downloaded theme/plugin is not on GlotPress? Then keep reading and follow these steps.

Continue reading

Posted in Tutorial | Tagged , , , , , | Leave a comment

Osclass 3.4 speaks your language!

We are proud to announce that new Osclass version is now fully available in 9 languages and counting! Thanks to our generous and hard-working community of users we have updated language packages in CatalanGermanSpanish, Romanian, Russian, Ukranian, Polish and Vietnamese for the 3.4.x version as well as for the rest of plugins and themes.

Screenshot 2014-08-12 17.35.09

You can download these and other language packs on our Market section.

Want to help us translating Osclass into your favourite language?
Sign up and start translating!

Posted in Languages | Tagged , , , , , , , , , , , | Comments Off

New version – Osclass 3.4 is ready for download!

Your wishes are commands!

After some testing, today we launch a new Osclass version with bug fixes and fresh and new features! Above all, we want to thank those of you who have helped us testing and sent feedback!
Want to know what’s in for you in this new version? Fasten your seatbelt!

With Osclass 3.4. now you will be able to enjoy cache in your site and increase response time up to 30%!
Thanks to this, you will get a faster page loading and improve search engines’ ratings. Furthermore, a lower loading time will enhance user’s experience and will increase the number of pageviews. Want to know more about cache? Read our blog post!

But it doesn’t stop here, these are Osclass 3.4. highlights:

  • License change to Apache 2.0

We have changed the license from AGPL to Apache 2.0. Why? With AGPL all your plugins and themes had to be AGPL, you had to provide the code of everything to any user who requested it…and,what’s more,  for free! Another AGPL drawbacks is that you can sell plugins but you can’t restrict their use (for example just for its use in one site instead of hundreds). Apache gives you more freedom as each plugin or theme can have its own license and you don’t have to distribute it for free.

  • Extensible cache support (memcache, APC,…)

As we have mentioned before, we have added support for cache. Pages now load faster, yay! We give support for memcache and APC, which are the two most well-known cache engines. However it can be extended to other engines, respecting the Osclass core.

  • User based subdomains

Now you can have user subdomains, e.g., http://user.osclass.org/ http://my_nickname.osclass.org/

  • Emails filters with more variables added

This is specially useful for developers, who will now make plugins that add more information to emails sent to users.

  • Some sql optimizations (categories, users, premium)

We have optimized database queries. Now Osclass will load faster and need less RAM.

  • UI fixes and improvements in admin
  • Imagemagick issues fixed
  • Child theme support

A child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. A child theme is the best, safest, and easiest way to modify an existing theme, whether you want to make a few tiny changes or extensive changes. Instead of modifying the theme files directly, you can create a child theme and override within. For example, you will be able to have your bender theme, as a parent theme, and then create “my-bender-child”, containing only the files that are different from the bender.

  • Minor bug fixes and improvements

More than 100 fixed issues!

NOTE: Perform backups both for your database and stored files in your installation (Tools -> Backup ) , as they will help you restore your site in case of trouble.

Download Osclass 3.4!

Posted in Development, Releases | Tagged , , , , , , , , , , , , | 3 Comments