Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilanguage GUI #397

Open
bovirus opened this issue Mar 6, 2022 · 164 comments
Open

Multilanguage GUI #397

bovirus opened this issue Mar 6, 2022 · 164 comments
Assignees

Comments

@bovirus
Copy link
Contributor

bovirus commented Mar 6, 2022

@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.

..

@tonikelope
Copy link
Owner

tonikelope commented Mar 6, 2022

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.

https://pastebin.com/1wXDWZX9

_addTranslation("FILE WITH SAME NAME AND SIZE ALREADY EXISTS", "ESISTE GIÀ UN FILE CON LO STESSO NOME E DIMENSIONE");

@bovirus
Copy link
Contributor Author

bovirus commented Mar 6, 2022

@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.

@tonikelope
Copy link
Owner

tonikelope commented Mar 6, 2022

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

@bovirus
Copy link
Contributor Author

bovirus commented Mar 6, 2022

@tonikelope

Proposal for home page on github

- Language available

  • English
  • Spanish

- Create a new language

#397

@bovirus
Copy link
Contributor Author

bovirus commented Mar 6, 2022

@tonikelope

Is there an option to test new language in place before to send you t include in next release?

@enagonius
Copy link

I think I will translate it to Portuguese!

@bovirus
Copy link
Contributor Author

bovirus commented Mar 18, 2022

@FabrieI
Copy link

FabrieI commented Jun 1, 2022

@tonikelope

New translate (Turkish)

https://github.com/FabrieI/megabasterd_translate

Thanks,

@bovirus
Copy link
Contributor Author

bovirus commented Jun 1, 2022

@tonikelope

Update italian language

MegaBasterd - italian.txt

Please add italian and turkish language.

@tonikelope tonikelope self-assigned this Jun 2, 2022
@tonikelope tonikelope pinned this issue Jun 2, 2022
@FabrieI
Copy link

FabrieI commented Jun 3, 2022

@bovirus @tonikelope

Updated, turkish language (Some fixes,dialog)

https://github.com/FabrieI/megabasterd_translate

@bovirus
Copy link
Contributor Author

bovirus commented Jun 4, 2022

@tonikelope

New italian language file

MegaBasterd - italian.txt

@tonikelope
@Fabriel

Isues about GUI. Strings not translated.

image

String not translated and not availabel in language file
"CANCEL ALL DOWNLOADS" (eng)
"Annulla tutti i download" (ita)

image

String not translated and not availabel in language file
Save debug info to file" (eng)
"Salva info debug nel file" (ita)

Italian.txt

"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

English.txt

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.

@FabrieI
Copy link

FabrieI commented Jun 5, 2022

Thank you @bovirus

Fixes and added news strings.

Updated turkish language (5 june 2022)

https://github.com/FabrieI/megabasterd_translate

@bovirus
Copy link
Contributor Author

bovirus commented Jun 9, 2022

@FabrieI
@tonikelope

Other issue.
Strings untranslated

image

In download queue count wjhat's the emaning of

"Pre"
"Rem"

@bovirus
Copy link
Contributor Author

bovirus commented Jun 9, 2022

@tonikelope
@FabrieI

New version for master english language and Itralian language

FabrieI added a commit to FabrieI/megabasterd_translate that referenced this issue Jun 13, 2022
@FabrieI
Copy link

FabrieI commented Jun 13, 2022

Thanks again @bovirus

Added news strings. @tonikelope

Turkish;

https://github.com/FabrieI/megabasterd_translate

@bovirus
Copy link
Contributor Author

bovirus commented Jun 14, 2022

@tonikelope

Could you please rebuild a new version with latest version of language strings?
Thanks.

@linkea131
Copy link

@bovirus @tonikelope

Updated, Chinese language (Some fixes,dialog 18 june 2022)

https://github.com/linkea131/megabasterd_translate

@tonikelope
Copy link
Owner

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.

@bovirus
Copy link
Contributor Author

bovirus commented Jun 22, 2022

@tonikelope

Thanks for new version.

If we will find other strings to revise we will open a new issue.

@NieckLikesCode
Copy link

German translation:
MegaBasterd German Translation.txt

@bovirus
Copy link
Contributor Author

bovirus commented Jun 25, 2022

@tonikelope

What do you think to modify source code to use for example external .json files for languages?

@bovirus
Copy link
Contributor Author

bovirus commented Jun 28, 2022

@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.

image

image

image

image

@tonikelope

There is a bug regarding show "MC reverse: OFF" string always in english aslo if is included in language file

image

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

image

@linkea131
Copy link

linkea131 commented Jun 30, 2022

@bovirus @tonikelope

Updated, Chinese language (dialog July 1 2022)

https://github.com/linkea131/megabasterd_translate

@bovirus
Copy link
Contributor Author

bovirus commented Jul 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)

@bovirus
Copy link
Contributor Author

bovirus commented Jul 1, 2022

@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.

@SEE2097
Copy link

SEE2097 commented Jul 18, 2023

@bovirus
This is getting too complicated for me. I'm going to get some rest now.
Grazie mille per il tuo supporto, fratello.

@linkea131
Copy link

@bovirus @tonikelope

how to Updated, Chinese language

@bovirus
Copy link
Contributor Author

bovirus commented Aug 9, 2023

@linkea131

Get chinese language from archive in first post.
Check if in chiense language there are empty strings to fill or strings to revise.
Post here the new chinese language.

@linkea131
Copy link

@bovirus @tonikelope

2E7{F_Y1WDKM3B$4D4EJT5M
$ $N4OSOLAQ3 RJDLJG8HOM
YU__7OTYSWT{0`D{IQ117C2

I need these characters inside the language text

Because I didn't find him in the language file

@bovirus
Copy link
Contributor Author

bovirus commented Aug 11, 2023

@linkea131

There many strings that hardcoded in source file and cannot be translated (are not available in language file) if the author didn't change source code to sue external language file.

@tonikelope

Pelase fix one tome for all using latest english master (available in first post) and otehr language (always availble in first post).
You current english master is quite old didn't contain all strings.
Please modify the source code to translate as much as possible the current strings untranslated.
Thanks.

@bovirus
Copy link
Contributor Author

bovirus commented Aug 15, 2023

Relase new version 7.76
I'm afraid but the author not fixed the issues about language.
Revise source code, language filesd, and build anew jar beta (available in first post).-

@zYxDevs
Copy link

zYxDevs commented Aug 16, 2023

Add Indonesian Languages:
https://pastebin.com/4kZXtK7x

@bovirus
Copy link
Contributor Author

bovirus commented Aug 16, 2023

@zYxDevs

You dind't read first post.

Your language file is incomplete (256 strings) because you used english master file by MB author that is not complete.

Please read carefully first post.
Please use the file posted in first post /get language archive and compare english file with your file)..
The master english language is 316 strings.

Whhen you will post language with 316 strings I will add your language.
But pelase take care that I'm not sure that font will be ok (could be the same problem like Bengali).

@NieckLikesCode
Copy link

Updated and fixed German translation after a long while
Language_German.txt

@CyberMSX
Copy link

Portuguese (Brazil) translation:
Language_Portuguese_Brazilian.txt

@Polytelus
Copy link

Portuguese (Brazil) translation: Language_Portuguese_Brazilian.txt

Hi @CyberMSX, it appears your translation is all wrong... You're supposed to fill in the blanks next to the strings, not replace them... Plus the terms such as "password" (which would be "Senha" for all intents and purposes) that you didn't translate.

@AlMeu
Copy link

AlMeu commented Nov 11, 2023

@tonikelope

Here is Romanian translation:
Language_Romanian.txt

@bovirus
Copy link
Contributor Author

bovirus commented Nov 13, 2023

@CyberMSX
@AlMeu

It seems that your file are not right.
The first part of the string should remain in english.
The second part is your tarnslation.

Add to english string also

    _addTranslation("(Portogues (Brasilian)", "");
    _addTranslation("Romanian", "");

with your translation

@Polytelus
Copy link

Polytelus commented Nov 13, 2023 via email

@bovirus
Copy link
Contributor Author

bovirus commented Nov 13, 2023

@Polytelus

Just add them at the end.

About teh tranbslation pelase use tehs ame order of english master file.
The translation should be like

    _addTranslation(" (Retrying in ", "xxx");

where xxx is your translation.
The first part should remain in english.

@Polytelus
Copy link

Polytelus commented Nov 13, 2023

Language_PortugueseBrazil.txt
@tonikelope @bovirus

Here's the new (and revised) Portuguese (Brazil) translation file, based on the lastest english master.
Hope it works!

@bovirus
Copy link
Contributor Author

bovirus commented Nov 13, 2023

@Polytelus

New jar with Portoiguese (Brasilian) language available in first post.
Please downlaod and replace original MegaBaster.jr file.

New Language kit and source fiels changes in first post.

Note: please don't use in teh string text characters like "".
""" are delimiter for tehs tring.
Please use ''.

@Polytelus
Copy link

Polytelus commented Nov 13, 2023

@bovirus Hi, I noticed what you meant and removed it. Was it at the "handler" line?
By the way, some strings were missing for localization and I've added them, maybe now it will be 100% localized?
I used the updated english master from the very beginning.
Language_PortugueseBrazilv2.txt
V2 uploaded above.

@bovirus
Copy link
Contributor Author

bovirus commented Nov 13, 2023

@Polytelus

Please take care about add new strings of using as tab (not sugegsted) and sue instead spaces.
Where did you get these new strings?

    _addTranslation("Save debug info to file -> ", "Salvar informações de depuração para arquivo -> ");

    _addTranslation("CREATE UPLOAD FOLDER PUBLIC LINK", "CRIAR LINK PÚBLICO PARA ENVIO DE PASTAS");
    _addTranslation("Note: slots consume resources, so use them moderately.", "Nota: Vagas consomem recursos, então as use com moderação.");
    _addTranslation("FORCE SMART PROXY", "FORÇAR SMART PROXY");
    _addTranslation("Note1: enable it in order to mitigate bandwith limit. (Multislot is required)", "Nota 1: Ative para mitigar o limite de banda. (Multislot requerido)");
    _addTranslation("Note2: proxies are selected RANDOMLY.", "Nota 2: Os proxies são selecionados RANDOMICAMENTE.");
    _addTranslation("Forces de use of smart proxy even if we still have direct bandwith avaliable (useful to test proxies).", "Força o uso de smart proxy mesmo que tenhamos banda direta disponível (útil para testar proxies).");
    _addTranslation("COPY ALL DOWNLOAD LINKS", "COPIAR TODOS OS LINKS DE DOWNLOAD");
    _addTranslation("COPY ALL UPLOAD LINKS", "COPIAR TODOS OS LINKS DE ENVIOS");

@Polytelus
Copy link

Polytelus commented Nov 13, 2023 via email

@bovirus
Copy link
Contributor Author

bovirus commented Nov 13, 2023

@Polytelus

Thanks for new strings.

English/Italian/Portoguese Brasilian language files updated
New jar build. Please test it.

@CyberMSX
Copy link

Thank you for not giving me credit even though you tried to help the translation :(

@bovirus
Copy link
Contributor Author

bovirus commented Nov 14, 2023

@CyberMSX

Please take acre that if soem strings were added in language file are not shos as translated in GUI.,
it depend by instruction used in java code to show it.

@AlMeu

Could you please complete Romanian translation? Thanks.

@AlMeu
Copy link

AlMeu commented Nov 20, 2023

@tonikelope & @bovirus

Here is Romanian translation fixed:
Language_Romanian_Fixed.txt

and English version with Romanian added:
Language_English_RO.txt

I hope now it is OK.

@linkea131
Copy link

@bovirus @tonikelope

Updated, Chinese language (Some fixes,dialog December 08 2023)

https://github.com/linkea131/megabasterd_translate

@linkea131
Copy link

@bovirus @tonikelope
Please help me, unable to detect if text translation is correct or not
Font options and language options are blank
QQ图片20231211041319
QQ图片20231211041325

@linkea131
Copy link

@bovirus @tonikelope
There are new language texts to be added
QQ图片20231216201601
QQ图片20231216201617
QQ图片20231216201622
QQ图片20231216201625
QQ图片20231216201629
QQ图片20231216201634
QQ图片20231216201640
QQ图片20231216201644
QQ图片20231216201647
QQ图片20231216201651
QQ图片20231216201654
QQ图片20231216201701
QQ图片20231216201705
QQ图片20231216201709
QQ图片20231216201711
QQ图片20231216201716
QQ图片20231216201721
QQ图片20231216201724
QQ图片20231216201727
QQ图片20231216201730
QQ图片20231216201735
QQ图片20231216201740
QQ图片20231216201744
QQ图片20231216201747

@bovirus
Copy link
Contributor Author

bovirus commented Dec 17, 2023

@linkea131

Some of the string are related to language updates that are not applied by the project author.
Some strings are nerw

It's quite difficult to follow the author if they didn't ordfganize tehd evelopment about language issues.

The current original language in LabelTranslation file

  • are not updated
  • are nor organized by alphabetical order
  • etc,.

I will study teh changes and I will prpose new master english file to update all other files.

@tonikelope
Please follow our language develòopment.
We are interested to maintain language updatee.
But if you didn't apply for us it's a long and boring job.

@bovirus
Copy link
Contributor Author

bovirus commented Dec 29, 2023

@linkea131

I updated English master and Italian language.
I compield new JAR but it seems that strings also are iun language file are not translated.

Please check screenshot.

image

@tonikelope

Please check source and the reason why strings are not translated.

@tonikelope tonikelope mentioned this issue Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests