Improved the multi-language support, this includes:#157
Merged
Belphemur merged 4 commits intoBelphemur:devfrom Mar 4, 2017
FireEmerald:dev
Merged
Improved the multi-language support, this includes:#157Belphemur merged 4 commits intoBelphemur:devfrom FireEmerald:dev
Belphemur merged 4 commits intoBelphemur:devfrom
FireEmerald:dev
Conversation
- Added the possibility to specify which language is used. The specified language is saved in the configuration. - If a new/empty or older configuration is present without a specified language, the language is automatically determinated based on the system language. If the system language is supported by SoundSwitch this language is used. If not, English is used. - The language is loaded once at startup. If it's changed later inside the settings form a restart of the application is required. - Added German as third supported language. Code relevant changes: - New directory for all localization files /Localization. - Moved all control localizations from the *.Designer.cs files to it's own methods outside of the *.Designer.cs files. - Naming for all localizations is lowerCamelCase. - While updating the localizations i also changed some English texts. As a result these strings are untranslated now in French. - Tweaked some labels to support a different length - that's important if a string is in another language longer then in English. Important: - If ANY text inside the forms (designer) is changer or the other way around any English texts inside the *.resx files - they needed to be synchronized! Other by-the-way changes: - Minor code-style changes in various files which doesn't affect the functionality. - Synchronized all file headers and updated copyright notices. ToDo: - Update Readme.md and include Zeta Resource Editor project file for further translations as well as a new - for example - wiki article how language changes should be done. - Translate missing french strings.
- Added Customized Sound Notification note. - Added Multi-Language Support section. - Added a preview image. - Minor changes. Included Zeta Resource Editor project file for further translations. Included ReSharper project settings - if someone else uses it. ToDo: - Create wiki article how language changes should be done. - Translate missing french strings.
Owner
|
I'll check it thoroughly this weekend. |
…equires a restart. - Added the possibility to restart the application right after changing the language. - Added a small script which removes various informations (like absolute file paths) from the Zeta Resource Editor project file. Run the script after opening/closing the *.zreproj project file.
Contributor
Author
|
You may already noticed that i planed to write a short article how new languages are implemented, because no one know's after this commit that we used Zeta. So i included a link inside the new README.md file which point's to a non-existing wiki page. I already created it inside my fork to show you what i was thinking about: https://github.com/FireEmerald/SoundSwitch/wiki/Add-or-modify-another-language |
Owner
|
I enabled the wiki on the repository. I'm merging it, If my memory is right the Wiki is editable by everybody. |
Owner
|
@all-contributors please add @FireEmerald for code, translation, Documentation |
Contributor
|
I've put up a pull request to add @FireEmerald! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code relevant changes:
Important:
Other by-the-way changes:
ToDo's after this PR is merged:
Fixes #156.