summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2023-06-13 19:59:25 +0200
committerFearlessTobi <thm.frey@gmail.com>2023-06-13 20:26:45 +0200
commit00fe302e60f36d19d92f320f20fe1391d01f690f (patch)
treea19fa0f1905f53b0bf6076f0d11788f976e70ad7 /src
parentcodespell: Exclude android resources directory (diff)
downloadyuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.tar
yuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.tar.gz
yuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.tar.bz2
yuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.tar.lz
yuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.tar.xz
yuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.tar.zst
yuzu-00fe302e60f36d19d92f320f20fe1391d01f690f.zip
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/AndroidManifest.xml1
-rw-r--r--src/android/app/src/main/res/xml/locales_config.xml17
2 files changed, 18 insertions, 0 deletions
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml
index 1e92098ec..55f62b4b9 100644
--- a/src/android/app/src/main/AndroidManifest.xml
+++ b/src/android/app/src/main/AndroidManifest.xml
@@ -24,6 +24,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
android:hasFragileUserData="true"
android:supportsRtl="true"
android:isGame="true"
+ android:localeConfig="@xml/locales_config"
android:banner="@drawable/tv_banner"
android:extractNativeLibs="true"
android:fullBackupContent="@xml/data_extraction_rules"
diff --git a/src/android/app/src/main/res/xml/locales_config.xml b/src/android/app/src/main/res/xml/locales_config.xml
new file mode 100644
index 000000000..51b88d9dc
--- /dev/null
+++ b/src/android/app/src/main/res/xml/locales_config.xml
@@ -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>