Rafał Borcz
06/23/2026, 6:17 AMres/values/strings.xml is Polish, with translations in values-en, values-cs, values-de etc. So Polish is the base/fallback language.
The thing is Preview in Android Studio renders everything in English by default. Its default locale resolves to en-US, so it picks values-en instead of the base values/. I'm pretty sure this worked correctly (defaulted to the base language) a few Android Studio versions ago.
What I've tried so far:
• tools:locale="pl" on <resources> in values/strings.xml. Preview still shows English.
• res/resources.properties with unqualifiedResLocale=pl-PL. No effect on Preview at all.
The only thing that works is setting it per-preview is @Preview(locale = "pl")
Is there a project or IDE level way to set the default Preview locale so it falls back to the base values/ (Polish), instead of adding locale="pl" to every @Preview?Stylianos Gakis
06/23/2026, 9:02 AMRafał Borcz
06/23/2026, 9:32 AMStylianos Gakis
06/23/2026, 9:58 AMdorche
06/23/2026, 12:07 PMdefault folder will be used. If that's not what you're seeing I'd raise a bug.Rafał Borcz
06/23/2026, 12:17 PMdefault mean here? If the documentation is referring to res/values folder without any qualifier, then it clearly doesn't work, and this is probably a bug. I'll try to report it.