DISMTools icon indicating copy to clipboard operation
DISMTools copied to clipboard

Are you interested in a translation?

Open Y-PLONI opened this issue 1 year ago • 14 comments

Is your feature request related to a problem? I like that the programs I use are in my language

Describe the solution you'd like Translate the software into my language

Describe alternatives you've considered I am ready to do it myself, but I will need the consent of the software developer and a short tutorial - which files to handle.

Y-PLONI avatar Apr 13 '24 19:04 Y-PLONI

To which language do you want to translate the program?

CodingWonders avatar Apr 13 '24 19:04 CodingWonders

But it will help everyone. It turns out that more people will be happy to translate. Hebrew

Y-PLONI avatar Apr 13 '24 19:04 Y-PLONI

I have to inform you that I haven't tested right-to-left languages at all. However, if you want to try, do the following:

Translation guide

You must add the translations to each Select Case MainForm.Language and Select Case Language statements. Also, add main window translations in the ChangeLangs procedure:

devenv_a8lurVkNGF

devenv_amoOauA64d

You also have to provide translations twice: one time for automatic language detection (Case 0) and another time for when the user manually sets the language (since there are 4 languages supported, your case is Case 5)

In the Case 0 blocks, the language code is important. Insert a new line and add Case <Three-Letter-Rep> at the end of the blocks (<Three-Letter-Rep> is the three-letter representation of your language name)

[!NOTE] Since Hebrew is a right-to-left language, add code to set the right-to-left layout by enabling this property:

devenv_2oLOeIdvzF

RightToLeft = Windows.Forms.RightToLeft.Yes

If that doesn't work, try setting up the RightToLeftLayout property to True as well

After having basic translations, add your language item to the ComboBox3 in the Options window:

devenv_Dr5eFVa5Z4 devenv_mGhC5pi8dn

If you have more questions, feel free to ask them

CodingWonders avatar Apr 14 '24 08:04 CodingWonders

@Y-PLONI, how are the translations going?

CodingWonders avatar May 01 '24 18:05 CodingWonders

I didn't like to admit, but I got in trouble with the instructions... I'm more about translation, not programming .Can you give me a specific file for treatment? If so, I can just download it and translate, and upload it to you in this thread. @CodingWonders

Y-PLONI avatar May 01 '24 19:05 Y-PLONI

Everything in quotation marks is a string, which you can replace to add your translations. That is the basic bit. The properties are just for right-to-left languages.

If you want, you can just work on the translations. I'll add the right-to-left property. You will need to add your language to the ComboBox though

CodingWonders avatar May 01 '24 19:05 CodingWonders

I know how to translate strings... I need a direct link to the file that I need to translate.

Y-PLONI avatar May 01 '24 19:05 Y-PLONI

I know how to translate strings... I need a direct link to the file that I need to translate.

Follow the contribution guidelines to get started, and then begin translating the strings in all .vb files

CodingWonders avatar May 01 '24 19:05 CodingWonders