Skip to content

Instantly share code, notes, and snippets.

@tomslominski
Created August 11, 2013 17:57
Show Gist options
  • Save tomslominski/6206134 to your computer and use it in GitHub Desktop.
Save tomslominski/6206134 to your computer and use it in GitHub Desktop.
// 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