Load textdomain from global languages directory

If anybody else is looking for the anwser , Here it is

function load_txtdomain() {
    $locale = apply_filters( 'plugin_locale', get_locale(), 'my-plugin' );
    load_textdomain( 'my-plugin', WP_LANG_DIR . '/my-plugin-' . $locale . '.mo' );
}
add_action('plugins_loaded','load_txtdomain');

404 Not Found

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.