Open bovirus opened 2 years ago
Hello. MegaBasterd already has support for adding languages. Here is a link to the template for adding new languages (translating from English). When you have it finished email it to me or create a pate on pastebin.com and I will add it in the next update. Please RESPECT capitalization in translations and be careful not to modify any characters of the original English messages on the left side.
Thanks for your help.
_addTranslation("FILE WITH SAME NAME AND SIZE ALREADY EXISTS", "ESISTE GIÀ UN FILE CON LO STESSO NOME E DIMENSIONE");
@tonikelope
Thanks for the info.
Megabastar it's available as language in
English Spanish
Please add this info in home page in github repository
I propode you to add this important info how to translate the program on home page in github repository.
I believe that you will find a lot of pepole that want to help you to create new languages.
Thanks.
Currently English and Spanish. But as I said, you can add as many as you want.
I propode you to add this important info how to translate the program on home page in github repository.
Done
@tonikelope
Proposal for home page on github
- Language available
- Create a new language
@tonikelope
Is there an option to test new language in place before to send you t include in next release?
I think I will translate it to Portuguese!
@tonikelope
Translation for italian
https://mega.nz/file/bRRx2CqB#almQa2pCdDrbS0KpiMiD6NmaVu_LiyiKQWy4LSD_yDQ
@tonikelope
Update italian language
Please add italian and turkish language.
@bovirus @tonikelope
Updated, turkish language (Some fixes,dialog)
@tonikelope
New italian language file
@tonikelope @fabriel
Isues about GUI. Strings not translated.
String not translated and not availabel in language file "CANCEL ALL DOWNLOADS" (eng) "Annulla tutti i download" (ita)
String not translated and not availabel in language file Save debug info to file" (eng) "Salva info debug nel file" (ita)
"Use this proxy list Format is []IP:PORT[@user_b64:password_b64)" (eng) "Il formato per l'elenco proxy è []IP:PORT[@user_b64:password_b64)" (ita)
I added these new strings to my language file.
@tonikelope
Please update your master language with these three new strings (useful for new translators).
For me this should be the new master english language
Added 8 space at start of each line to help you with copy/paste in the source. Move language names at the end. Added three news strings.
Thank you @bovirus
Fixes and added news strings.
Updated turkish language (5 june 2022)
@FabrieI @tonikelope
Other issue. Strings untranslated
In download queue count wjhat's the emaning of
"Pre" "Rem"
@tonikelope @FabrieI
New version for master english language and Itralian language
English English.txt
Italian Italian.txt
Thanks again @bovirus
Added news strings. @tonikelope
Turkish;
@tonikelope
Could you please rebuild a new version with latest version of language strings? Thanks.
@bovirus @tonikelope
Updated, Chinese language (Some fixes,dialog 18 june 2022)
https://github.com/tonikelope/megabasterd/releases/tag/v7.55
Probably some more text strings need to be corrected. This is pending for future releases.
Thanks for your help.
@tonikelope
Thanks for new version.
If we will find other strings to revise we will open a new issue.
German translation: MegaBasterd German Translation.txt
@tonikelope
What do you think to modify source code to use for example external .json files for languages?
@tonikelope @linkea131 @NieckLikesCode
Other untranslated strings to add to the language file for each language
_addTranslation("Link Grabber", "");
_addTranslation("Select DLC container", "");
_addTranslation("No MEGA accounts available (Go to Settings > Accounts)", "");
_addTranslation("MEGA API KEY)", "");
_addTranslation("Email", "");
_addTranslation("Host", "");
_addTranslation("User", "");
_addTranslation("Password", "");
_addTranslation("API-KEY", "");
_addTranslation("German", "");
The string German is for new German language.
@tonikelope
There is a bug regarding show "MC reverse: OFF" string always in english aslo if is included in language file
There is a bug about GU regardin too big drop down for font/zoom font that move on the righT (trincate) button for export/import/rset settings Reduce drop down width for Font/zoom font and move on teh left Export/import/reset configuration button
@bovirus @tonikelope
Updated, Chinese language (dialog July 1 2022)
@linkea131
Updated chinese language following rules of internal files
Note: original chinese language contains some error regarding syntax.
Please check your original and revised language file
MegaBasterd - Language - Chinese (new).txt
MegaBasterd - Language - Chinese (original).txt
@NieckLikesCode
Update German language following rules of internal file. If you can pelase update langaueg adding the new strings found (see below)
[MegaBasterd - Language - German.txt] (https://github.com/tonikelope/megabasterd/files/9027265/MegaBasterd.-.Language.-.German.txt)
@linkea131 @NieckLikesCode
Here you cam find new .jar developed with your language update. Downlaod and replace the file.
https://mega.nz/file/3VBjxbRT#b24m8C8PrEAcTO-ydb1iuDjUFoTyzSMd_84DX_z8G4w
@NieckLikesCode
I eneabled the German language setup from drodown list but show it in English. I'm working on it. I hope that @tonikelope fix it.
@tonikelope @linkea131 @NieckLikesCode
Other untranslated strings to add to the language file for each language
_addTranslation("Link Grabber", ""); _addTranslation("Select DLC container", ""); _addTranslation("No MEGA accounts available (Go to Settings > Accounts)", ""); _addTranslation("MEGA API KEY)", ""); _addTranslation("Email", ""); _addTranslation("Host", ""); _addTranslation("User", ""); _addTranslation("Password", ""); _addTranslation("API-KEY", ""); _addTranslation("German", "");
The string German is for new German language.
@tonikelope
There is a bug regarding show "MC reverse: OFF" string always in english aslo if is included in language file
There is a bug about GU regardin too big drop down for font/zoom font that move on the righT (trincate) button for export/import/rset settings Reduce drop down width for Font/zoom font and move on teh left Export/import/reset configuration button
Added new lines to the translation MegaBasterd.German.Translation.Updated.txt
@NieckLikesCode
Toa void long post is better not copy all rpevious post
It seems that your file has a syntax problem
_addTranslation("Link Grabber", "");_addTranslation("Select DLC container", "");
should be
_addTranslation("Link Grabber", ""); _addTranslation("Select DLC container", "");
and three empty strings
_addTranslation("Link Grabber", ""); _addTranslation("Select DLC container", ""); _addTranslation("No MEGA accounts available (Go to Settings > Accounts)", "");
Here the file compatible with the syntax of script
MegaBasterd - Language - German.txt
Please use it and fill-in the empty strings.
Here you can get latest megabaster jar to test current translation status (German translation working).
https://mega.nz/file/OU5AmbgI#KQAVi0I2evpQ_DhZvDDNDGL2EBobXD2x1Z_ILhdWGXk
@bovirus @tonikelope
Updated, Chinese language (bad syntax removed fix 3 Jul 2022 )
@linkea131 - Chinese language @NieckLikesCode - German language @FabrieI - Turkish language Spanish laanguage - author unknown
I aligned all language (including English master). Please download your language and filling untranslated strings. Pleaase DON'T CHANGE the strings order to avoid me a log job to realign it. Keep the same strings order. Just fill-in string untranslted.
Thanks.
English language (master) MegaBasterd - Language - English.txt
Chinese language MegaBasterd - Language - Chinese.txt
German language MegaBasterd - Language - German.txt
Italian language MegaBasterd - Language - Italian.txt
Spanish language MegaBasterd - Language - Spanish.txt
Turkish language MegaBasterd - Language - Turkish.txt
New jar beta jwith current language status (German language enabled)
https://mega.nz/file/rJ4BhYRZ#1FBq_d0EDS6tG0sW2watijS-QjlJl1Jk435oMbyzrpI
@bovirus @tonikelope
Updated, Chinese language (dialog July 11, 2022)
@linkea131
_addTranslation("MEGA API KEY)", "");
should be
_addTranslation("MEGA API KEY:", "");
and seems untranslated.
These strings seems untranslated
_addTranslation("MEGA API KEY ERROR", "");
_addTranslation("An older version of MegaBasterd has been detected (", "");
_addTranslation(").\nDo you want to import all current settings and transfers from the previous version?\nWARNING: INCOMPATIBILITIES MAY EXIST BETWEEN VERSIONS.", "");
_addTranslation("All your transferences have finished", "");
_addTranslation("Email", "");
_addTranslation("API-KEY", "");
_addTranslation("MC reverse mode: OFF", "");
_addTranslation("Restore MegaBasterd window", "");
_addTranslation("Exit from MegaBasterd", "");
_addTranslation("English", "");
_addTranslation("Spanish", "");
_addTranslation("Italian", "");
_addTranslation("Turkish", "");
_addTranslation("Chinese", "");
_addTranslation("German", "");
Here your file with _addTranslation("MEGA API KEY:", ""); fix.
MegaBasterd - Language - Chinese.txt
Thanks.
@linkea131
_addTranslation("MEGA API KEY)", "");
should be
_addTranslation("MEGA API KEY:", "");
and seems untranslated.
These strings seems untranslated
_addTranslation("MEGA API KEY ERROR", ""); _addTranslation("An older version of MegaBasterd has been detected (", ""); _addTranslation(").\nDo you want to import all current settings and transfers from the previous version?\nWARNING: INCOMPATIBILITIES MAY EXIST BETWEEN VERSIONS.", ""); _addTranslation("All your transferences have finished", ""); _addTranslation("Email", ""); _addTranslation("API-KEY", ""); _addTranslation("MC reverse mode: OFF", ""); _addTranslation("Restore MegaBasterd window", ""); _addTranslation("Exit from MegaBasterd", ""); _addTranslation("English", ""); _addTranslation("Spanish", ""); _addTranslation("Italian", ""); _addTranslation("Turkish", ""); _addTranslation("Chinese", ""); _addTranslation("German", "");
Here your file with _addTranslation("MEGA API KEY:", ""); fix.
MegaBasterd - Language - Chinese.txt
Thanks.
The new text has been translated. I think people who do not understand English can understand the parts that have not been translated, so the parts thatand the new translation file has been re-uploaded can be understood will not be translated.
@linkea131
Empty strings
Yes but if you don't want to translate you have to option. Ex:
_addTranslation("English", "");
or remove it or fill-in the seccond part with same english text (suggested option)
_addTranslation("English", "English");
othewrise if you leave
_addTranslation("English", "");
instead "English" in your language show empty string,
String errors
The language file has some errros (double quotes)
wrong
_addTranslation("FILE WITH SAME NAME AND SIZE ALREADY EXISTS", "已存在相同名称大小的文件""); _addTranslation("Port:", ""端口:"");
right
_addTranslation("FILE WITH SAME NAME AND SIZE ALREADY EXISTS", "已存在相同名称大小的文件"); _addTranslation("Port:", "端口:");
_addTranslation("MEGA API KEY)", "");
should be
_addTranslation("MEGA API KEY:", "");
Empty strings
These strings are empty
_addTranslation("MEGA API KEY)", ""); _addTranslation("Email", ""); _addTranslation("API-KEY", ""); _addTranslation("English", ""); _addTranslation("Spanish", ""); _addTranslation("Italian", ""); _addTranslation("Turkish", ""); _addTranslation("Chinese", ""); _addTranslation("German", "");
should be fill-in with english words
_addTranslation("MEGA API KEY:", "MEGA API KEY:"); _addTranslation("Email", "Email"); _addTranslation("API-KEY", "API-KEY"); _addTranslation("English", "English"); _addTranslation("Spanish", "Spanish"); _addTranslation("Italian", "Italian"); _addTranslation("Turkish", "Turkish"); _addTranslation("Chinese", "Chinese"); _addTranslation("German", "German");
Thanks.
Thanks friend.
@bovirus @tonikelope
Fixes: String line & Editor: Notepad++
21 Original _addTranslation("(FROZEN) Waiting to start (", " ");
Fixed _addTranslation("(FROZEN) Waiting to start "), " ");
40 Original _addTranslation("You have the latest version ;)", "");
Fixed _addTranslation("You have the latest version "), " ");
250 Original _addTranslation("Streaming server: ON (port ", "");
Fixed _addTranslation("Streaming server: ON (port "), " ");
251 Original _addTranslation("MC reverse mode: ON (port ", "");
Fixed _addTranslation("MC reverse mode: ON (port "), " ");
252 Original _addTranslation("Streaming server: OFF (port ", "");
Fixed _addTranslation("Streaming server: OFF (port "), " ");
253 Original _addTranslation("MC reverse mode: OFF (port ", "");
Fixed _addTranslation("MC reverse mode: OFF (port "), " ");
271 Original _addTranslation("No MEGA accounts available (Go to Settings > Accounts)", "");
Fixed _addTranslation("No MEGA accounts available (Go to Settings > Accounts) )", " ");
272 Original _addTranslation("MEGA API KEY", "");
Fixed _addTranslation("MEGA API KEY "), " ");
273 Original _addTranslation("MEGA API KEY ERROR", "");
Fixed _addTranslation("MEGA API KEY ERROR "), " ");
@FabrieI
Thanks for translation update. Please test new jar file with your translation enabled
https://mega.nz/file/bJomiKBR#g09zEYOpMDibh-ErWRJlwLZQ8eM3ZW1s8i8bmu-81t8
@linkea131
Empty strings
Yes but if you don't want to translate you have to option. Ex:
_addTranslation("English", "");
or remove it or fill-in the seccond part with same english text (suggested option)
_addTranslation("English", "English");
othewrise if you leave
_addTranslation("English", "");
instead "English" in your language show empty string,
String errors
The language file has some errros (double quotes)
wrong
_addTranslation("FILE WITH SAME NAME AND SIZE ALREADY EXISTS", "已存在相同名称大小的文件""); _addTranslation("Port:", ""端口:"");
right
_addTranslation("FILE WITH SAME NAME AND SIZE ALREADY EXISTS", "已存在相同名称大小的文件"); _addTranslation("Port:", "端口:");
_addTranslation("MEGA API KEY)", "");
should be
_addTranslation("MEGA API KEY:", "");
Empty strings
These strings are empty
_addTranslation("MEGA API KEY)", ""); _addTranslation("Email", ""); _addTranslation("API-KEY", ""); _addTranslation("English", ""); _addTranslation("Spanish", ""); _addTranslation("Italian", ""); _addTranslation("Turkish", ""); _addTranslation("Chinese", ""); _addTranslation("German", "");
should be fill-in with english words
_addTranslation("MEGA API KEY:", "MEGA API KEY:"); _addTranslation("Email", "Email"); _addTranslation("API-KEY", "API-KEY"); _addTranslation("English", "English"); _addTranslation("Spanish", "Spanish"); _addTranslation("Italian", "Italian"); _addTranslation("Turkish", "Turkish"); _addTranslation("Chinese", "Chinese"); _addTranslation("German", "German");
Thanks.
@bovirus @tonikelope
Updated, fixe string Chinese language (dialog July 21, 2022)
@linkea131
Please check your github repository. In your past version there were some errros that I tried to fix making a PR but you din't merge it
https://github.com/linkea131/Megabasterd-GUI-Translate/pulls
I fixess the syntax error (typicalli a " missing) in this file.
MegaBasterd - Language - Chinese.txt
Please use it to update your repository.
Thanks.
@linkea131
New jar file with update about chinese language
https://mega.nz/file/HZRTAQZD#WsAj3n-xAc7uuyEglp-ER3B2GvewVixTC3Xy1HDcZUw
Please test it.
@tonikelope
Hi, I just made the hungarian language translation, please add it in one of the next updates. (I added 3 extra lines: Italian, Chinese and Turkish languages because these were missing from the file.)
@Roschach96
here are some strings missings Could you pelase complete the translation file? Thanks.
MegaBasterd - Language - Hungarian.txt
Please use my file and edit it. Then when you wills end back the file I will create a new .jar build for test.
Chinese language MegaBasterd - Language - Chinese.txt
German language MegaBasterd - Language - German.txt
Spanish language MegaBasterd - Language - Spanish.txt
@linkea131 - Chinese language @NieckLikesCode - German language @Roschach96 - Hungarian language @FabrieI - Turkish language
Spanish language - author unknown
Please edit language file (use teh language file that I posted) and fillin the empty strings. And repost the file. Thanks.
new jat with current latest chanegs (add hungarian language).
https://mega.nz/file/XMYg0RQJ#XQz0gkrxe4sTeTpBTMUUgA75R9CTYzMP-WG3OVnsJJQ
@Roschach96
Thanks for the Hungarian language update. This the jar built with your latest changes.
https://mega.nz/file/yZZx2C5Y#ngq8oS2gERzu-4w9THJ5ahTOl4m91yTPRtqq1okXlXU
@Roschach96
Thanks for the Hungarian language update. This the jar built with your latest changes.
https://mega.nz/file/yZZx2C5Y#ngq8oS2gERzu-4w9THJ5ahTOl4m91yTPRtqq1okXlXU
I had to correct some mistyped text, I send the corrected versio MegaBasterd.-.Language.-.Hungarian.txt n
@Roschach96
Thanks. New jar version
https://mega.nz/file/6FhQgK6S#i8fHS6pYKKiR-4g8N3SDGa12qjCs8rS4eqEs7p84f_E
@bovirus @tonikelope
Updated, fixe string Chinese language (dialog August 19, 2022)
Soon Adding Hindi & Gujarati support
@linkea131
New jar files with all your latest changes.
https://mega.nz/file/eMo3kaoI#3klVBjhi9CqGS9XcaSz5DqlbiHcsc6b4XM1D_RLtbnM
Is it right that these strings remained in english?
_addTranslation("English", "English");
_addTranslation("Spanish", "Spanish");
_addTranslation("Italian", "Italian");
_addTranslation("Turkish", "Turkish");
_addTranslation("Chinese", "Chinese");
_addTranslation("German", "German");
@tonikelope
This the base for all translations Note: the strings are sorted alphabetically for a better compare.
English is newer then your and contains more strings (your original 256 - my proposal 306)
I aligned all languages to master English
Language file archive
v. 8.21 - Rev. 17.12.2023
https://mega.nz/file/HFAGBByT#G2tvkzXh3tYOXerZvzL6ebyPgpIs2GI7kP7kkqebrCM
############## English language (master) Revised: 17.12.2023 - Thanks to tonikelope
############## Bengali language Revised: 15.07.2023 - Thanks to SEE2097
############## Chinese language Thanks to linkea131
############## German language Thanks to NieckLikesCode
############## Hungarian language Thanks to Roschach96
############## Italian language Revised: 17.12.2023 - Thanks to bovirus
############## Korean language Revised: 10.06.2023 - Thanks to KnightChaser
############## Portoguese (Brasilian) Revised: 13.11.2023 - Thanks to Polytelus
############## Spanish language Thanks to tonikelope
############## Turkish language Revised: 07.05.2023 - Thanks to rktfier
############## Vietnamese language Thanks to rattybox
JAR beta with all latest language files**
Revised: 17.12.2023
https://mega.nz/file/XNAGQZqL#roE5RsuZgev5_jGdA9pbsHnGfmv1TBp-CGkeVliz9yA
Files changed in source code
Revised: 13.11.2023
https://mega.nz/file/yNhjjSqS#puSSQWozTxZXVKt5anPedGPo25ulpL5R14LsOj8XLKY
How to compile source code
Requirement:
Windows 8/10/11 64bit Java JDK 11 or up Java compiler (like Apache Netbeans)
Install Java JDK 11 or up Install Java Compiler. If you use Netbeans during installation check use of JDK 11 or up
Download source code. Decompress source code.
Compile source code
Run Java compiler (ex. NetBeans). Open Project -> Seelct fodler where you decompress source code Right click on root folde of the prject -> Clean and build. Check "SUCCESS" at the end.
Use of new jar file
If MegaBasterd is running close it. Go in source folder and check in "target" subfolder the file "MegaBasterd-7.74-jar-with-dependencies.jar" Rename it as "MegaBasterd.jar" Copy "MegaBasterd.jar" in MegaBasterd program folder (in jar subfolder) Run MegaBasterd and check it.
..