Thank you for all, but finally, I use the plugin WOOCS - WooCommerce Currency Switcher by realmag777 is a good solution, checkout multi-currency it works very well.
Hello all,
I thank you for helping me if there is a solution for currency switcher, it works normally at the site, but at the time of checkout it works with the main currency. thanks