Thanks for taking the time to contribute to Volume Control!
- Follow existing code style
- Test your code before submitting
- Provide comments for publicly-accessible members in XMLDoc format
(This is only required for things that are accessible through the Volume Control SDK, but comments are always appreciated for everything else too!) /
Before Submitting:
- Ensure the spelling and grammar is correct
- Ensure the structure of the file is correct by testing the language config.
In order for your translation to actually be included in Volume Control, you have to perform a few extra steps.
If you don't have Visual Studio (or another IDE compatible with C#), you can skip this step as long as you indicate in the Pull Request that you haven't embedded the language config.
That way, we can ensure that it gets included.
- Ensure your language configs are located in
<REPOSITORY_ROOT>/VolumeControl/Localization
. - Open
VolumeControl.sln
in Visual Studio or your preferred IDE. - Add your language configs to
VolumeControl.Localization
in the solution explorer:
- R+Click on your language config in the solution explorer, and select Properties. Set the Build Action to 'Embedded resource':
That's all! Your language config will be embedded in the Volume Control executable, and when the CreateDefaultTranslationFiles
setting is set to true
, it will be written to C:\Users\<USERNAME>\AppData\Local\radj307\Localization
along with the other default language configs.