Skip to content

Commit

Permalink
load the translations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienserre committed Nov 4, 2024
1 parent 5f2b606 commit f0fcbed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aspire-update.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@
if ( ! defined( 'AP_RUN_TESTS' ) ) {
new AspireUpdate\Controller();
}

function aspireupdate_load_textdomain() {
load_plugin_textdomain( 'AspireUpdate', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
}
add_action( 'init', 'aspireupdate_load_textdomain' );

0 comments on commit f0fcbed

Please sign in to comment.