package com.example.retroha import android.app.Activity import android.content.Context import android.os.Bundle import com.example.retroha.i18n.LocaleHelper /** * Base activity class that provides automatic localization support. * All activities in the application should extend this class to ensure * dynamic language changes are applied correctly. */ abstract class BaseActivity : Activity() { override fun attachBaseContext(newBase: Context) { super.attachBaseContext(LocaleHelper.setLocale(newBase)) } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) } }