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:
parent
e95d24da56
commit
86838e7277
3 changed files with 22 additions and 0 deletions
|
|
@ -165,6 +165,10 @@ android {
|
|||
buildConfigField("String", "FLAVOR_DESCRIPTION", "\"FDroid\"")
|
||||
}
|
||||
}
|
||||
|
||||
androidResources {
|
||||
generateLocaleConfig = true
|
||||
}
|
||||
}
|
||||
|
||||
androidComponents {
|
||||
|
|
|
|||
17
app/src/main/res/resources.properties
Normal file
17
app/src/main/res/resources.properties
Normal 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
1
changelog.d/2795.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Enable support for Android per-app language preferences
|
||||
Loading…
Add table
Add a link
Reference in a new issue