content: package com.doow.rubbish;
  
  import android.text.TextUtils;
  
  import java.util.Locale;
  
  //国际化
  public class LU {
      public static int TS = 0; //0英文，1印尼语
      public static String Language = "en"; //en英文，in印尼语
  
      public static final String[] nodepositdata = {"There is currently no history", "Saat ini tidak ada sejarah"};
      public static final String[] phone = {"Phone number", "Nomor telepon"};
      public static final String[] privacypolicy = {"I am 18 years old and accept the privacy policy &amp; Terms and conditions", "Saya berusia 18 tahun dan menerima kebijakan privasi &amp; Syarat dan ketentuan"};
      public static final String[] net_sucess = {"Succeed", "Berhasil"};
      public static final String[] withdraw = {"Withdraw", "Menarik"};
      public static final String[] faq = {"FAQ", "FAQ"};
      public static final String[] deposit = {"Deposit", "Deposit"};
      public static final String[] selectpayment = {"Select account type", "Pilih jenis akun"};
      public static final String[] reminder = {"Reminder", "Pengingat"};
      public static final String[] language = {"Language", "Bahasa"};
      public static final String[] viprules = {"Details Withdrawal Rules", "Detail Aturan Penarikan"};
      public static final String[] enteramount = {"Please enter the amount", "Masukkan jumlahnya"};
      public static final String[] personalcenter = {"My Profile", "Profil saya"};
      public static final String[] username = {"User Name", "Nama pengguna"};
      public static final String[] changepwd = {"Change Password", "Ganti kata sandi"};
      public static final String[] signout = {"Sign out", "Keluar"};
      public static final String[] modifyinfo = {"Modify Infomation", "Ubah Informasi"};
      public static final String[] ok = {"Ok", "Ok"};
      public static final String[] originalpassword = {"Original password", "Kata sandi asli"};
      public static final String[] newpassword = {"New password", "Kata sandi baru"};
      public static final String[] confirmpassword = {"Confirm password", "Konfirmasi kata sandi"};
      public static final String[] amount1 = {"Amount", "Jumlah"};
      public static final String[] status = {"Status", "Status"};
      public static final String[] date = {"Date", "Tanggal"};
      public static final String[] verifyidentity = {"Verify identity", "Verifikasi identitas"};
      public static final String[] tryagain = {"Try again later", "Coba lagi nanti"};
      public static final String[] entermobile = {"Please enter your mobile number", "Silakan masukkan nomor ponsel Anda"};
      public static final String[] enteremail = {"Please enter your email", "Masukkan email Anda"};
      public static final String[] uploading = {"Upload...", "Mengunggah..."};
      public static final String[] pleaseinputrechargeamount = {"Please input recharge amount!", "Harap masukkan jumlah isi ulang!"};
      public static final String[] rechargeamountmustbegreater = {"Recharge amount must be greater than ", "Jumlah isi ulang harus lebih besar dari "};
      public static final String[] maxamountis = {"max amount is ", "jumlah maksimal adalah "};
      public static final String[] donotclickanybuttons = {"Loading,do not click any buttons", "Memuat, jangan klik tombol apa pun"};
      public static final String[] passwordcannotbelessthaneightdigits = {"8-32 characters enter your new password", "Masukkan kata sandi baru 8-32 karakter"};
      public static final String[] inconsistentpasswords = {"Inconsistent passwords", "Kata sandi tidak konsisten"};
      public static final String[] pleaseagreetoprivacyagreement = {"Please agree to privacy agreement", "Harap setujui perjanjian privasi"};
      public static final String[] currencysign = {"IDR", "IDR"};
      public static final String[] pleaseenteroriginalpassword = {"Please enter original password", "Silakan masukkan kata sandi asli"};
      public static final String[] pleaseenterpassword = {"Please enter password", "Silakan masukkan kata sandi"};
      public static final String[] pleaseenterpasswordagain = {"Please enter password again", "Silakan masukkan kata sandi lagi"};
      public static final String[] thetwopasswordsaredifferent = {"The two passwords are different", "Kedua kata sandi itu berbeda"};
      public static final String[] youdonthaveenoughbalance = {"You don't have enough balance", "Anda tidak memiliki cukup saldo"};
      public static final String[] submittedsuccessfully = {"Submitted successfully", "Berhasil dikirim"};
      public static final String[] pleaseinputnumber = {"please input number", "mohon masukan nomor"};
      public static final String[] branddesc2 = {"*At least 6 charaters long, can contain alphabets and numbers cth: katasandi12 ", "Minimal 6 karakter, dapat berisi huruf dan angka cth: katasandi12 "};
      public static final String[] email = {"Email", "Email"};
      public static final String[] inputusername = {"input user name", "masukan nama pengguna"};
      public static final String[] gametitle1 = {"RECOMMEND GAMES", "MENYARANKAN GAME"};
      public static final String[] home = {"Home", "Pumah"};
      public static final String[] games = {"GAMES", "PERMAINAN"};
      public static final String[] promos = {"Promosi", "Promosi"};
      public static final String[] referral = {"REFERRAL", "RUJUKAN"};
      public static final String[] info = {"INFO", "INFO"};
      public static final String[] contactus = {"CONTACT US", "HUBUNGI KAMI"};
      public static final String[] back = {"BACK", "KEMBALI"};
      public static final String[] left = {"<", "<"};
      public static final String[] right = {">", ">"};
      public static final String[] slotsproviders = {"SLOTS PROVIDERS", "PENYEDIA SLOT"};
      public static final String[] demo = {"DEMO", "DEMO"};
      public static final String[] playnow = {"PLAY NOW", "MAIN SEKARANG"};
      public static final String[] news = {"NEW", "BARU"};
      public static final String[] tops = {"TOP", "ATAS"};
      public static final String[] alls = {"ALL", "SEMUA"};
      public static final String[] gametitle2 = {"HOT GAMES", "GAME PANAS"};
      public static final String[] gametitle3 = {"NEW GAMES", "PERMAINAN BARU"};
      public static final String[] contactdesc = {"Customer Support Specialists are available everyday for 24 hours. ", "Spesialis Dukungan Pelanggan tersedia setiap hari selama 24 jam."};
      public static final String[] nowhatsapp = {"install WhatsApp", "instal WhatsApp"};
      public static final String[] membershiplevel = {"Membership Level", "Tingkat Keanggotaan"};
      public static final String[] accountname = {"Account  Name", "Nama akun"};
      public static final String[] referencecode = {"Reference Code", "Kode referensi"};
      public static final String[] walletbalance = {"WALLET BALANCE", "SALDO DOMPET"};
      public static final String[] enteracountno = {"enter acount no", "masukkan nomor rekening"};
      public static final String[] copiedtomemory = {"copied to memory", "disalin ke memori"};
      public static final String[] resend = {"Resend", "Kirim ulang"};
      public static final String[] verificationcode = {"Verification Code", "Kode verifikasi"};
      public static final String[] verificationcodebeen = {"Verification Code have been send,open your email to get it", "Kode Verifikasi telah dikirim, buka email Anda untuk mendapatkannya"};
      public static final String[] enternfullame = {"Please enter your full name", "Silakan masukkan nama lengkap Anda"};
      public static final String[] serviceprivileges = {"SERVICE PRIVILEGES", "HAK ISTIMEWA LAYANAN"};
      public static final String[] averagetime = {"Average time", "Waktu rata-rata"};
      public static final String[] user = {"User", "Pengguna"};
      public static final String[] putinfo = {"INFO CENTER", "PUSAT INFORMASI"};
      public static final String[] more = {"More", "Lagi"};
      public static final String[] sportsbookplayer = {"SportsBook Player", "Pemain SportsBook"};
      public static final String[] slotplaying = {"Slot Playing", "Bermain Slot"};
      public static final String[] depositingmethod = {"Depositing Method", "Metode Deposit"};
      public static final String[] withdrawmethod = {"Withdraw Method", "Metode Penarikan"};
      public static final String[] termsconditions = {"TERMS&CONDITIONS", "SYARAT & KETENTUAN"};
      public static final String[] howtoplay = {"HOW TO PALY", "CARA BERMAIN"};
      public static final String[] memberservice = {"MEMBER SERVICE", "Layanan anggota"};
      public static final String[] whatsapp = {"WHATSAPP", "WHATSAPP"};
      public static final String[] supporttime = {"24/7 support", "24/7 dukung"};
      public static final String[] serviceproviderplatform = {"Service Provider Platform", "Platform Penyedia Layanan"};
      public static final String[] atleastchar = {"At least 6 charaters", "Setidaknya 6 karakter"};
      public static final String[] password = {"Password", "kata sandi"};
      public static final String[] usernameemail = {"User name", "Nama pengguna"};
      public static final String[] forgotpwd = {"Forget the password ?", "Lupa kata sandi?"};
      public static final String[] login = {"Login", "Login"};
      public static final String[] haveaaccount = {"Don’t have an account?", "Belum punya akun?"};
      public static final String[] rigisternow = {"Register now", "Daftar sekarang"};
      public static final String[] retrievepwd = {"Retrieve password", "Mendapat kembali kata sandi"};
      public static final String[] confirmpayment = {"Confirm Payment", "Konfirmasi pembayaran"};
      public static final String[] peasetansferto = {"Pease Transfer to", "Silakan transfer ke"};
      public static final String[] howtopay = {"How to pay?", "Bagaimana cara membayar?"};
      public static final String[] qris = {"QRIS", "QRIS"};
      public static final String[] totalpayment = {"Total Payment", "Total pembayaran"};
      public static final String[] downloadqrcode = {"Download Qrcode", "Unduh kode QR"};
      public static final String[] takeascreenshot = {"Take a screenshot and save it", "Ambil tangkapan layar dan simpan"};
      public static final String[] ihavepaid = {"I have paid", "Saya telah membayar"};
      public static final String[] imagehavebesave = {"Image has been successfully saved to the gallery", "Gambar berhasil disimpan ke galeri"};
      public static final String[] howtopayqrcode = {"1. The user opens a familiar payment app, such as OVO, DANA, or other electronic wallets \\n2. Scan the QR code provided by QRIS to confirm payment information. \\n3. Complete the payment process according to the payment procedures.", "1. The user opens a familiar payment app, such as OVO, DANA, or other electronic wallets \\n2. Scan the QR code provided by QRIS to confirm payment information. \\n3. Complete the payment process according to the payment procedures."};
      public static final String[] vrtualaccount = {"Nomor Virtual Account", "Nomor Virtual Account"};
      public static final String[] copynumberlaccount = {"Click to copy VA Number", "Klik untuk salin nomor VA"};
      public static final String[] copynumber = {"Copy VA Number", "Salin Nomor VA"};
      public static final String[] copynumberdesc = {"After copying, please go to the app to make the payment", "Setelah salin, silakan buka aplikasi untuk membayar"};
      public static final String[] pending = {"Pending...", "Tertunda..."};
      public static final String[] pendingdesc = {"You can check the transaction results on the transaction history page later.", "Anda bisa memeriksa hasil transaksi di halaman riwayat transaksi nanti."};
      public static final String[] paymentamout = {"Payment amout", "Jumlah pembayaran"};
      public static final String[] ordernumber = {"Order number", "Nomor pesanan"};
      public static final String[] tradinghours = {"Trading hours", "Jam perdagangan"};
      public static final String[] paymethod = {"Payment method", "Metode pembayaran"};
      public static final String[] success = {"Success", "Berhasil"};
      public static final String[] guestloginok = {"Guest login successfully", "Login tamu berhasil"};
      public static final String[] gustaccount = {"Guest account", "Akun tamu"};
      public static final String[] depositnext = {"Pay Now", "Bayar sekarang"};
      public static final String[] welcome = {"Welcome to", "Selamat datang di"};
      public static final String[] pleaselogin = {"Please Login", "Silakan Login"};
      public static final String[] guestlogin = {"Guest Login", "Login tamu"};
      public static final String[] orcontinue = {"Or continue with", "Atau lanjut dengan"};
      public static final String[] signinaccount = {"Sign in with account", "Masuk dengan akun"};
      public static final String[] privacypolicylogin = {"By clicking on 'guest/Account', you have read and agree to the terms and conditions as well as the privacy policy of", "Dengan klik 'Pengunjung/Akun', Anda telah membaca dan setuju syarat dan ketentuan serta kebijakan privasi "};
      public static final String[] accountregist = {"Account registration", "Daftar akun"};
      public static final String[] nosymbols = {"6-12 letters, no symbols", "6-12 huruf, tanpa simbol"};
      public static final String[] invitedfriend = {"Invite friends", "Mengundang teman-teman"};
      public static final String[] paymentmethod = {"Choose Pay Method", "Pilih metode pembayaran"};
      public static final String[] dana = {"Wallet", "Dompet"};
      public static final String[] memo = {"Memo", "Memo"};
      public static final String[] live = {"Live", "Hipup"};
      public static final String[] english = {"English", "Bahasa inggris"};
      public static final String[] indonesian = {"Indonesian", "Bahasa Indonesia"};
      public static final String[] enterquestion = {"please enter your question", "silakan masukkan pertanyaan Anda"};
      public static final String[] uploadpicture = {"Please upload picture", "Silakan unggah gambar"};
      public static final String[] suggestions = {"Please fill in your functional suggestions and thank you for your support~", "Silakan isi saran fungsional Anda dan terima kasih atas dukungan Anda~"};
  
  
  
      public static void getLanguageLocal() {
          String language = SharedPreferencesUtil.getLanguageLocal();
          if (TextUtils.isEmpty(language)) {
              Locale currentLocale = Locale.getDefault();
              language = currentLocale.getLanguage();
          }
          Language = language;
          if (language.equals("en")) {
              TS = 0;
          } else if (language.equals("in")) {
              TS = 1;
          } else {
              TS = 0;
          }
      }
  
  
      public static void setLanguageLocal(String language) {
          if (TextUtils.isEmpty(language)) {
              return;
          }
          Language = language;
          if (language.equals("en")) {
              TS = 0;
          } else if (language.equals("in")) {
              TS = 1;
          } else {
              TS = 0;
          }
          SharedPreferencesUtil.saveLanguageLocal(language);
      }
  
  
  }