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

How to compile the project (to test translation changes) #9

Open
bovirus opened this issue Sep 9, 2022 · 5 comments
Open

How to compile the project (to test translation changes) #9

bovirus opened this issue Sep 9, 2022 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@bovirus
Copy link
Contributor

bovirus commented Sep 9, 2022

@Bazzu85

Could you explain with details what are the requirements and how to compile your project?

Could be important for the translator to test the translation (creating dll and test it) before to post the changes about .resx file.

Thanks.

@Bazzu85
Copy link
Owner

Bazzu85 commented Sep 9, 2022

  1. Clone the repository in Visual Studio (I use the 2019 version)

image

using the main page address: https://github.com/Bazzu85/MKVmergeBatcher.git

image

  1. When the project is loaded in "Solution explorer"

image

Double click on the .snl file to open the solution

image

  1. You can now click on "Start" (with debug chosen)

image

to start building the project and start the application with the current code

image

The compiled code can be found in bin\Debug folder

  1. If not installed you can grab the tool "ResX Manager" from visual studio marketplace and access it from the Tools Menu

image

and with this you can easily edit the strings

image

  1. If when testing a translation there are some graphical you have to open the correct form, and change the language from Default to the incriminated language

image

image

and fix the glitch. When done you can click again on Start to build and launch the modified application

@bovirus
Copy link
Contributor Author

bovirus commented Sep 9, 2022

@Bazzu85

Starting VS2019 and cloning the projecyt at startup I goit these warning

Severity Code Description Project File Line Suppression State
Warning CS4014 Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call. MKVmergeBatcher C:\Users\Canon\Source\Repos\MKVmergeBatcher2\src\MainForm.cs 46 Active
Warning CS0108 'OptionsForm.ResetBindings()' hides inherited member 'Control.ResetBindings()'. Use the new keyword if hiding was intended. MKVmergeBatcher C:\Users\Canon\Source\Repos\MKVmergeBatcher2\src\options\OptionsForm.cs 85 Active

Copying file changed resx file and re-run .sln project I didn't see the changes both using start or creating a new build.
What's the problem?

@Bazzu85
Copy link
Owner

Bazzu85 commented Sep 9, 2022

If you open AboutForm.cs and change the language to "Italian (Italy)" do you see the changes into VS?

image

Remember to change the language at the form level when Codind/Drawing

image

@bovirus
Copy link
Contributor Author

bovirus commented Sep 9, 2022

@Bazzu85

No I didn't see the changes about that I appled to resx file.

@Bazzu85
Copy link
Owner

Bazzu85 commented Sep 9, 2022

Are you sure you applied your resx?

Why don't you use the Resx Manager and fix the translation from there?

@Bazzu85 Bazzu85 added the documentation Improvements or additions to documentation label Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants