Created
August 11, 2013 17:57
-
-
Save tomslominski/6206134 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Translations stuff | |
yourls_add_action( 'plugins_loaded', 'isq_load_textdomain' ); // Trigger when all plugins are loaded | |
function isq_load_textdomain() { | |
yourls_load_custom_textdomain( 'isq_translation', dirname( __FILE__ ) . '/public/languages' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment