Enable support for Android per-app language preferences (#2795)

* Enable support for Android per-app language preferences

* Add changelog entry
This commit is contained in:
Tonkku 2024-05-06 10:10:49 +03:00 committed by GitHub
parent e95d24da56
commit 86838e7277
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 0 deletions

View file

@ -165,6 +165,10 @@ android {
buildConfigField("String", "FLAVOR_DESCRIPTION", "\"FDroid\"")
}
}
androidResources {
generateLocaleConfig = true
}
}
androidComponents {

View file

@ -0,0 +1,17 @@
#
# Copyright (c) 2024 New Vector Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
unqualifiedResLocale=en

1
changelog.d/2795.feature Normal file
View file

@ -0,0 +1 @@
Enable support for Android per-app language preferences