Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support Localization

Call load_plugin_textdomain for translation strings
  • Loading branch information...
commit 92d75d400320b10593ae50fee1d1d84f97ead719 1 parent 4f6a2ef
Tom Ransom authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  loader.php
3  loader.php
View
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.