Permalink
Browse files

Support Localization

Call load_plugin_textdomain for translation strings
  • Loading branch information...
1 parent 4f6a2ef commit 92d75d400320b10593ae50fee1d1d84f97ead719 @1bigidea committed Mar 31, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 loader.php
View
3 loader.php
@@ -69,6 +69,9 @@ static function this(){
* Functions below actually do the work
*/
function init(){
+ // load localization strings
+ load_plugin_textdomain('nono-per-unit', FALSE, plugin_basename(__FILE__).'/localization');
+
include_once('inc/class.shortcodes.php');
include_once('inc/class.printing_product.php');

0 comments on commit 92d75d4

Please sign in to comment.