This balance is the central emotional project of expat life, and the healthiest framing I know is integration, not assimilation. You are not choosing between staying fully yourself and disappearing into the local culture. The workable model is context-switching: adopt local norms in public and professional spaces, punctuality, greetings, queueing, workplace communication style, while your home, faith, food, language, and festivals remain entirely yours. Nobody reasonable demands more, and most locals genuinely enjoy colleagues who bring a different culture worn with confidence.
The key is knowing your own non-negotiables in advance. Dietary rules, religious practice, family values, decide calmly what is core to you, and hold those lines politely but without apology. Clear, warm boundaries earn far more respect than either rigid refusal to adapt or anxious over-conformity that eventually breeds resentment.
And expect the balance to evolve: what feels like conscious effort in year one becomes natural instinct within a few years, usually leaving you with a blended identity that feels doubled rather than divided.