Add support for per-app language preference

See https://developer.android.com/guide/topics/resources/app-languages
This commit is contained in:
Thore Goebel 2024-06-16 12:18:04 +02:00 committed by Andy Scherzinger
parent f3e0582ff4
commit 05acea28a9
2 changed files with 8 additions and 0 deletions

View file

@ -81,6 +81,10 @@ android {
abortOnError false
disable 'MissingTranslation'
}
androidResources {
generateLocaleConfig true
}
}
ext {

View file

@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: GPL-3.0-or-later
# https://developer.android.com/guide/topics/resources/app-languages
unqualifiedResLocale=en