public function loadTextdomainMofile( $mofile, $domain ) {

		// If the `$domain` is for the parent or child theme, search for
		// a `$domain-$locale.mo` file.
		if ( $domain == $this->parentTextdomain() || $domain == $this->childTextdomain() ) {

			// Get the locale.
			$locale = is_admin() ? get_user_locale() : get_locale();

			// Define locale functions files.
			$child_mofile = $this->childPath(  "{$domain}-{$locale}.mo" );
			$theme_mofile = $this->parentPath( "{$domain}-{$locale}.mo" );

			// Overwrite the mofile if it exists.
			if ( is_child_theme() && file_exists( $child_mofile ) ) {

				$mofile = $child_mofile;

			} elseif ( file_exists( $theme_mofile ) ) {

				$mofile = $theme_mofile;
			}
		}

		return $mofile;
	}