mirror of
https://github.com/inretio/WordPress-Plugin-Boilerplate
synced 2024-12-22 20:03:53 +02:00
updating the references to the languages directory as per @grappler's original implementation
This commit is contained in:
parent
37bf5ffb8d
commit
25c4fdcf70
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ class Plugin_Name {
|
|||
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
||||
|
||||
load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo' );
|
||||
load_plugin_textdomain( $domain, FALSE, basename( dirname( __FILE__ ) ) . '/languages' );
|
||||
load_plugin_textdomain( $domain, FALSE, basename( dirname( __FILE__ ) ) . '/languages/' );
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue