Magento 2 with multi-store functionality, Different store view contains different locale.
You can set Different locale from admin panel using Stores -> Configuration -> General Tab.
Click on Locale Options,
3x Magento Master
Magento 2 with multi-store functionality, Different store view contains different locale.
You can set Different locale from admin panel using Stores -> Configuration -> General Tab.
Click on Locale Options,
You can get the current store’s, store code value in Magento 2.
You need to use Magento\Store\Model\StoreManagerInterface interface for fetching current store locale.
I have given a demo using Block Class,
You can create Customer address using Programmatically for any existing customer in Magento.
For Create Customer address, you must have a customer created in Magento store. Based on existing customer id, We can create customer address programmatically.