android: Declare languages in locales_config.xml
This is required to make per-app language swithcing possible on Android 13.
This commit is contained in:
		| @@ -24,6 +24,7 @@ SPDX-License-Identifier: GPL-3.0-or-later | |||||||
|         android:hasFragileUserData="true" |         android:hasFragileUserData="true" | ||||||
|         android:supportsRtl="true" |         android:supportsRtl="true" | ||||||
|         android:isGame="true" |         android:isGame="true" | ||||||
|  |         android:localeConfig="@xml/locales_config" | ||||||
|         android:banner="@drawable/tv_banner" |         android:banner="@drawable/tv_banner" | ||||||
|         android:extractNativeLibs="true" |         android:extractNativeLibs="true" | ||||||
|         android:fullBackupContent="@xml/data_extraction_rules" |         android:fullBackupContent="@xml/data_extraction_rules" | ||||||
|   | |||||||
							
								
								
									
										17
									
								
								src/android/app/src/main/res/xml/locales_config.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/android/app/src/main/res/xml/locales_config.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <locale-config xmlns:android="http://schemas.android.com/apk/res/android"> | ||||||
|  |     <locale android:name="en" /> <!-- English (default) --> | ||||||
|  |     <locale android:name="de" /> <!-- German --> | ||||||
|  |     <locale android:name="es" /> <!-- Spanish --> | ||||||
|  |     <locale android:name="fr" /> <!-- French --> | ||||||
|  |     <locale android:name="it" /> <!-- Italian --> | ||||||
|  |     <locale android:name="ja" /> <!-- Japanese --> | ||||||
|  |     <locale android:name="nb" /> <!-- Norwegian Bokmal --> | ||||||
|  |     <locale android:name="pl" /> <!-- Polish --> | ||||||
|  |     <locale android:name="pt-rBR" /> <!-- Portuguese (Brazil) --> | ||||||
|  |     <locale android:name="pt-RPT" /> <!-- Portuguese (Portugal) --> | ||||||
|  |     <locale android:name="ru" /> <!-- Russian --> | ||||||
|  |     <locale android:name="uk" /> <!-- Ukranian --> | ||||||
|  |     <locale android:name="zh-rCN" /> <!-- Chinese (China) --> | ||||||
|  |     <locale android:name="zh-rTW" /> <!-- Chinese (Taiwan) --> | ||||||
|  | </locale-config> | ||||||
		Reference in New Issue
	
	Block a user