[Android] VLCApplication: add more locale maps
Edward Wang
git at videolan.org
Sat May 25 17:53:59 CEST 2013
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat May 25 11:47:53 2013 -0400| [8fd812ea1a99ab06798b8cac4fdb6b374369380d] | committer: Edward Wang
VLCApplication: add more locale maps
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8fd812ea1a99ab06798b8cac4fdb6b374369380d
---
vlc-android/src/org/videolan/vlc/VLCApplication.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.java b/vlc-android/src/org/videolan/vlc/VLCApplication.java
index f0f5531..2be3709 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.java
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.java
@@ -49,6 +49,10 @@ public class VLCApplication extends Application {
locale = Locale.TRADITIONAL_CHINESE;
} else if(p.startsWith("zh")) {
locale = Locale.CHINA;
+ } else if(p.equals("pt-BR")) {
+ locale = new Locale("pt", "BR");
+ } else if(p.equals("bn-IN") || p.startsWith("bn")) {
+ locale = new Locale("bn", "IN");
} else {
/**
* Avoid a crash of
More information about the Android
mailing list