Skip to content

Commit

Permalink
updated translations and readme
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Kedia <akhil.kedia@samsung.com>
  • Loading branch information
akhilkedia committed Jun 29, 2020
1 parent e2cfff8 commit 16de853
Show file tree
Hide file tree
Showing 66 changed files with 4,531 additions and 256 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Like Chrome translation of webpages, but for Android apps.
- [Videos](#videos)
- [How to install AllTrans](#how-to-install-alltrans)
- [How to use AllTrans](#how-to-use-alltrans)
- [Note - If you are using VirtualXposed or Taichi](#note---if-you-are-using-virtualxposed-or-taichi)
- [How to get Microsoft Azure Translate Key](#how-to-get-microsoft-azure-translate-key)
- [Note - No New Yandex Translate Keys](#note---no-new-yandex-translate-keys)
- [TroubleShooting](#troubleshooting)
Expand Down Expand Up @@ -66,28 +67,27 @@ A video (in English) showing how to use AllTrans by Gadget Hacks on Youtube [htt
## How to install AllTrans

1. This application requires android version 4.1 or later. You probably already have it. (Android JellyBean or later - so far JellyBean, Kitkat, Lollipop, MarshMallow, Nougat, Oreo, Pie and Q.).
1. Make sure you have [Xposed Framework](https://forum.xda-developers.com/showthread.php?t=3034811) installed and running. If there is not an official version of Xposed for your Android, [EdXposed](https://forum.xda-developers.com/xposed/development/official-edxposed-successor-xposed-t4070199) is recommended. <!-- 1. If you do not have Xposed, AllTrans is now fully compatible with [VirtualXposed](https://virtualxposed.com/) and [Taichi](https://taichi.cool/), so AllTrans can now be used on all devices!!! No need of root, no need of Magisk, etc.! -->
1. Get the latest release of the APK from the [Xposed Module Repository](http://repo.xposed.info/module/akhil.alltrans)
1. Make sure you have [Xposed Framework](https://forum.xda-developers.com/showthread.php?t=3034811) installed and running. If there is not an official version of Xposed for your Android, [EdXposed](https://forum.xda-developers.com/xposed/development/official-edxposed-successor-xposed-t4070199) is recommended. If you do not have an unlocked bootloader or Magisk, AllTrans is now fully compatible with [VirtualXposed](https://virtualxposed.com/) and [Taichi](https://github.com/taichi-framework/TaiChi/releases), so AllTrans can now be used on all devices!!! No need of unlocked bootloader, no need of Magisk, etc.!
1. Install the latest version of AllTrans from [Google Play Store](https://play.google.com/store/apps/details?id=akhil.alltrans). You can alternatively download the apk from [Xposed Module Repository](http://repo.xposed.info/module/akhil.alltrans)
1. Reboot your phone.

## How to use AllTrans

This application **requires** you to sign up for **free** a key from Microsoft Translate. See instructions below on how to get the keys.

1. Make sure "AllTrans" app is enabled in "Xposed Installer -> Modules".
1. Launch "AllTrans" app.
1. Choose the "Translate from Language" and "Translate to Language".
1. In the "Apps to Translate" tab, find the app you want to translate, click the checkbox next to it.
1. Close and restart the app you want translated - it should be translated!

<!-- ### Note - If you are using VirtualXposed or Taichi
### Note - If you are using VirtualXposed or Taichi

- This application will only works for apps installed inside Taichi or VirtualXposed, not for other apps. This means it will not work for any system apps.
- This application will only work for apps installed inside Taichi or VirtualXposed, not for other apps. This means it will not work for any system apps.
- Sometimes some apps will fail to install/run inside Taichi/VirtualXposed. This is not a problem of AllTrans, just some limitations of Taichi/VirtualXposed.
- Some apps work on Taichi, some work on VirtualXposed, some on neither. I recommend you try using both if some app does not install/open inside VirtualXposed/Taichi. -->
- Some apps work on Taichi, some work on VirtualXposed, some on neither. I recommend you try using both if some app does not install/open inside VirtualXposed/Taichi.

## How to get Microsoft Azure Translate Key

If you use Microsoft Translate instead of Google, you **need** you to sign up for **free** a key from Microsoft Translate. See instructions below on how to get the keys.
Microsoft Translate requires a credit card to sign up. (But don't worry, nothing will be charged.)

1. Sign up for a Microsoft Azure account.
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ android {
minSdkVersion 16
targetSdkVersion 30
versionCode 11
versionName "1.6.0"
versionName "1.7.0"
multiDexEnabled true
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ private void handleProviderChange(String translatorProviderSelected){
translateToLanguage.setEntries(R.array.languageNamesYandex);
translateToLanguage.setEntryValues(R.array.languageCodesYandex);
subscriptionKey.setTitle(getString(R.string.subKey_yandex));
subscriptionKey.setEnabled(true);
} else if (translatorProviderSelected.equals("m")){
ListPreference translateFromLanguage = findPreference("TranslateFromLanguage");
ListPreference translateToLanguage = findPreference("TranslateToLanguage");
Expand All @@ -122,6 +123,7 @@ private void handleProviderChange(String translatorProviderSelected){
translateToLanguage.setEntries(R.array.languageNames);
translateToLanguage.setEntryValues(R.array.languageCodes);
subscriptionKey.setTitle(getString(R.string.subKey_micro));
subscriptionKey.setEnabled(true);
} else {
ListPreference translateFromLanguage = findPreference("TranslateFromLanguage");
ListPreference translateToLanguage = findPreference("TranslateToLanguage");
Expand Down
74 changes: 70 additions & 4 deletions app/src/main/res/values-af/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,17 @@
<string name="master_on_off_summary">"Skakel af om hierdie module heeltemal te deaktiveer"</string>
<string name="master_on_off_summary_off">"Die module afgeskakel is, sal geen programme vertaal word nie. Skakel aan om te begin met outomatiese vertaal!"</string>
<string name="master_on_off_summary_on">"Module aangeskakel is, sal geselekteerde programme vertaal word. Skakel af om hierdie module heeltemal te deaktiveer."</string>
<string name="enable_yandex">"Gebruik Yandex in plaas van Microsoft"</string>
<string name="enable_yandex_summary">"Skakel aan om Yandex-vertaling te gebruik in plaas van Microsoft"</string>
<string name="enable_yandex_summary_off">"Gebruik tans Microsoft Azure-vertaling. Skakel aan om Yandex-vertaling te gebruik."</string>
<string name="enable_yandex_summary_on">"Gebruik tans Yandex-vertaling. Skakel af om Microsoft Azure-vertaling te gebruik."</string>
<string name="translator_provider">"Vertaaldiensverskaffer"</string>
<string name="translator_provider_summary">"Kies watter Vertaaldiens om te gebruik-Google, Microsoft, of Yandex"</string>
<string name="translator_provider_google">"\nGoogle-hierdie vertaling werk vanlyn, na aanvanklike aflaai van ongeveer 30-60 MB. Vertalings is stadig, maak programme \lag\ of \hang\ 'n bietjie. Geen behoefte vir enige API-sleutel nie. Gratis. \ n"</string>
<string name="translator_provider_microsoft">"\nMicrosoft-beste vertaling, werk net met die Internet, vereis 'n \FREE\ API-sleutel. Die proses om API-sleutels te kry, is ingewikkeld, sien instruksies. \ n"</string>
<string name="translator_provider_yandex">"\nYandex-vereis 'n \PAID\ API-sleutel. As jy reeds 'n gratis API-sleutel het, kan dit werk, dit kan nie. Nie aanbeveel nie. \ n "</string>
<string name="ask_download">"Ons moet die vertaling lêers af te laai indien nie voorheen afgelaai, rondom 30 MB. Vertaling sal nie werk sonder om af te laai nie. Aflaai nou?"</string>
<string name="download_now">"Laai nou af"</string>
<string name="cancel">"Kanselleer"</string>
<string name="downloading">"Laai tans die vertaallêers af. Wag asseblief"</string>
<string name="download_sucess">"Het Vertaallêers suksesvol afgelaai"</string>
<string name="download_failure">"Sommige fout in die aflaai van Vertaallêers"</string>
<string name="subKey">"Microsoft/Yandex Intekeningsleutel"</string>
<string name="subKey_micro">"Microsoft-Intekeningsleutel"</string>
<string name="subKey_yandex">"Yandex inskrywing sleutel"</string>
Expand Down Expand Up @@ -68,6 +75,65 @@
<string name="overRide_global_summary_on">"Gebruik plaaslike instellings vir hierdie program. skakel om globale instellings te gebruik."</string>
<string name="clear_cache">"Klik om die vertaling cache te verwyder"</string>
<string name="clear_cache_summary">"Klik die hierbo om die program se vertaal-cache skoon te maak. Gebruik dit nadat jy na/van tale verander het, of as die program nie begin nie."</string>
<string name="Afrikaans_google">"Afrikaans"</string>
<string name="Arabic_google">"Arabies"</string>
<string name="Belarusian_google">"Belarussiese"</string>
<string name="Bulgarian_google">"Bulgaarse"</string>
<string name="Bengali_google">"Bengali"</string>
<string name="Catalan_google">"Katalonië"</string>
<string name="Czech_google">"Tsjeggië"</string>
<string name="Welsh_google">"Walliese"</string>
<string name="Danish_google">"Deens"</string>
<string name="German_google">"Duitse"</string>
<string name="Greek_google">"Grieks"</string>
<string name="English_google">"Engels"</string>
<string name="Esperanto_google">"Esperanto"</string>
<string name="Spanish_google">"Spaans"</string>
<string name="Estonian_google">"Estoniaanse"</string>
<string name="Persian_google">"Persiese"</string>
<string name="Finnish_google">"Finse"</string>
<string name="French_google">"Franse"</string>
<string name="Irish_google">"Ierse"</string>
<string name="Galician_google">"Galicies"</string>
<string name="Gujarati_google">"Goedjarati"</string>
<string name="Hebrew_google">"Hebreeus"</string>
<string name="Hindi_google">"Hindi"</string>
<string name="Croatian_google">"Kroatiese"</string>
<string name="Haitian_google">"Haïtiaanse"</string>
<string name="Hungarian_google">"Hongaars"</string>
<string name="Indonesian_google">"Indonesiese"</string>
<string name="Icelandic_google">"Yslandse"</string>
<string name="Italian_google">"Italiaans"</string>
<string name="Japanese_google">"Japannese"</string>
<string name="Georgian_google">"Georgiaanse"</string>
<string name="Kannada_google">"Kannada"</string>
<string name="Korean_google">"Koreaanse"</string>
<string name="Lithuanian_google">"Litause"</string>
<string name="Latvian_google">"Lettiese"</string>
<string name="Macedonian_google">"Masedoniese"</string>
<string name="Marathi_google">"Marathi"</string>
<string name="Malay_google">"Maleisiese"</string>
<string name="Maltese_google">"Maltese"</string>
<string name="Dutch_google">"Hollands"</string>
<string name="Norwegian_google">"Noorweegse"</string>
<string name="Polish_google">"Pools"</string>
<string name="Portuguese_google">"Portugese"</string>
<string name="Romanian_google">"Roemeense"</string>
<string name="Russian_google">"Russiese"</string>
<string name="Slovak_google">"Slowakye"</string>
<string name="Slovenian_google">"Sloweense"</string>
<string name="Albanian_google">"Albaniese"</string>
<string name="Swedish_google">"Sweeds"</string>
<string name="Swahili_google">"Swahili"</string>
<string name="Tamil_google">"Tamil"</string>
<string name="Telugu_google">"Teloegoe"</string>
<string name="Thai_google">"Thai"</string>
<string name="Tagalog_google">"Tagalog"</string>
<string name="Turkish_google">"Turkse"</string>
<string name="Ukrainian_google">"Oekraïense"</string>
<string name="Urdu_google">"Oerdoe"</string>
<string name="Vietnamese_google">"Viëtnamese"</string>
<string name="Chinese_google">"Chinees"</string>
<string name="Afrikaans_yandex">"Afrikaans"</string>
<string name="Amharic_yandex">"Amharies"</string>
<string name="Arabic_yandex">"Arabies"</string>
Expand Down
74 changes: 70 additions & 4 deletions app/src/main/res/values-ar/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<string name="master_on_off_summary">"إيقاف تشغيل لتعطيل هذه الوحدة النمطية بالكامل"</string>
<string name="master_on_off_summary_off">"الوحدة النمطية مطفأة، لن تتم ترجمة أي تطبيقات. تشغيل لبدء استخدام الترجمة التلقائية!"</string>
<string name="master_on_off_summary_on">"وحدة قيد التشغيل، سيتم ترجمة التطبيقات المحددة. إيقاف تعطيل هذه الوحدة تماماً."</string>
<string name="enable_yandex">"استخدام يانديكس بدلا من مايكروسوفت"</string>
<string name="enable_yandex_summary">"تشغيل لاستخدام يانديكس ترجمة بدلا من مايكروسوفت"</string>
<string name="enable_yandex_summary_off">"تستخدم حالياً ترجمة Azure Microsoft. تشغيل لاستخدام يانديكس الترجمة."</string>
<string name="enable_yandex_summary_on">"تستخدم حاليا يانديكس الترجمة. إيقاف تشغيل استخدام ترجمة Azure Microsoft."</string>
<string name="subKey">"مايكروسوفت / يانديكس مفتاح الاشتراك"</string>
<string name="subKey_micro">"مفتاح الاشتراك في مايكروسوفت"</string>
<string name="subKey_yandex">"مفتاح اشتراك يانديكس"</string>
Expand Down Expand Up @@ -68,6 +64,65 @@
<string name="overRide_global_summary_on">"استخدام الإعدادات المحلية لهذا التطبيق."</string>
<string name="clear_cache">"انقر لمسح ذاكرة التخزين المؤقت للترجمة"</string>
<string name="clear_cache_summary">"انقر فوق أعلاه لمسح ذاكرة التخزين المؤقت لترجمة التطبيق. استخدم هذا بعد تغيير إلى/من اللغات، أو إذا لم يبدأ التطبيق."</string>
<string name="Afrikaans_google">"الأفريقانية"</string>
<string name="Arabic_google">"العربية"</string>
<string name="Belarusian_google">"البيلاروسية"</string>
<string name="Bulgarian_google">"البلغارية"</string>
<string name="Bengali_google">"البنغالية"</string>
<string name="Catalan_google">"الكتالانية"</string>
<string name="Czech_google">"التشيكية"</string>
<string name="Welsh_google">"الويلزية"</string>
<string name="Danish_google">"الدانماركية"</string>
<string name="German_google">"الألمانية"</string>
<string name="Greek_google">"اليونانية"</string>
<string name="English_google">"الإنكليزية"</string>
<string name="Esperanto_google">"الاسبرانتو"</string>
<string name="Spanish_google">"الإسبانية"</string>
<string name="Estonian_google">"الإستونية"</string>
<string name="Persian_google">"فارسي"</string>
<string name="Finnish_google">"الفنلندية"</string>
<string name="French_google">"الفرنسية"</string>
<string name="Irish_google">"الأيرلندية"</string>
<string name="Galician_google">"الغاليشية"</string>
<string name="Gujarati_google">"الجوجاراتية"</string>
<string name="Hebrew_google">"العبرية"</string>
<string name="Hindi_google">"الهندية"</string>
<string name="Croatian_google">"الكرواتية"</string>
<string name="Haitian_google">"الهايتيه"</string>
<string name="Hungarian_google">"المجرية"</string>
<string name="Indonesian_google">"الإندونيسية"</string>
<string name="Icelandic_google">"الأيسلندية"</string>
<string name="Italian_google">"الإيطالية"</string>
<string name="Japanese_google">"اليابانية"</string>
<string name="Georgian_google">"الجورجية"</string>
<string name="Kannada_google">"الكندية"</string>
<string name="Korean_google">"الكورية"</string>
<string name="Lithuanian_google">"الليتوانية"</string>
<string name="Latvian_google">"اللاتفية"</string>
<string name="Macedonian_google">"مقدوني"</string>
<string name="Marathi_google">"الماراثية"</string>
<string name="Malay_google">"الماليزية"</string>
<string name="Maltese_google">"المالطية"</string>
<string name="Dutch_google">"الهولندية"</string>
<string name="Norwegian_google">"النرويجية ‏"</string>
<string name="Polish_google">"البولندية"</string>
<string name="Portuguese_google">"البرتغالية"</string>
<string name="Romanian_google">"الرومانية"</string>
<string name="Russian_google">"الروسية"</string>
<string name="Slovak_google">"السلوفاكية"</string>
<string name="Slovenian_google">"السلوفينية"</string>
<string name="Albanian_google">"الألبانية"</string>
<string name="Swedish_google">"السويدية"</string>
<string name="Swahili_google">"السواحلية"</string>
<string name="Tamil_google">"التاميلية"</string>
<string name="Telugu_google">"التيلوغية"</string>
<string name="Thai_google">"التايلندية"</string>
<string name="Tagalog_google">"التغالوغيه"</string>
<string name="Turkish_google">"التركية"</string>
<string name="Ukrainian_google">"الأوكرانية"</string>
<string name="Urdu_google">"الأوردية"</string>
<string name="Vietnamese_google">"الفيتنامية"</string>
<string name="Chinese_google">"الصينية"</string>
<string name="Afrikaans_yandex">"الأفريقانية"</string>
<string name="Amharic_yandex">"الامهريه"</string>
<string name="Arabic_yandex">"العربية"</string>
Expand Down Expand Up @@ -229,4 +284,15 @@
<string name="Cantonese_Traditional_micro">"الكانتونية (التقليدية)"</string>
<string name="Chinese_Simplified_micro">"الصينية المبسطة"</string>
<string name="Chinese_Traditional_micro">"الصينية التقليدية"</string>
<string name="translator_provider">"مزود خدمة الترجمة"</string>
<string name="translator_provider_summary">"حدد خدمة الترجمة التي تريد استخدامها - جوجل أو Microsoft أو يانديكس"</string>
<string name="translator_provider_google">"\nGoogle - تعمل هذه الترجمة دون اتصال، بعد تنزيل أولي من حوالي 30-60 ميغابايت. ترجمات بطيئة، ويجعل تطبيقات \\ تأخر \ أو \\ تعليق \ قليلا. لا حاجة لأي مفتاح API. حر.\n"</string>
<string name="translator_provider_microsoft">"\nميكروسوفت - أفضل ترجمة، يعمل فقط مع الإنترنت، ويتطلب مفتاح \FREE\ API. عملية الحصول على مفاتيح API معقدة، راجع الإرشادات.\n"</string>
<string name="translator_provider_yandex">"\nYandex - يتطلب مفتاح \PAID\api. إذا كان لديك بالفعل مفتاح API مجاني، فقد يعمل، قد لا يعمل. غير مستحسن.\n "</string>
<string name="ask_download">"نحن بحاجة إلى تحميل ملفات الترجمة إذا لم يتم تحميلها من قبل، حوالي 30 ميغابايت. لن تعمل الترجمة بدون تنزيل. تحميل الآن؟"</string>
<string name="download_now">"تحميل الآن"</string>
<string name="cancel">"إلغاء الأمر"</string>
<string name="downloading">"تنزيل ملفات الترجمة. الرجاء الانتظار"</string>
<string name="download_sucess">"ملفات الترجمة التي تم تنزيلها بنجاح"</string>
<string name="download_failure">"بعض الأخطاء في تحميل ملفات الترجمة"</string>
</resources>
Loading

0 comments on commit 16de853

Please sign in to comment.