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.
I have implemented the multi-language functionality. The process works as follows:
Change from menu
From the menu option
View --> Language
, the language can be selected. Once the language is chosen, the application will restart in the same way as when clicking onRestart in
to switch networks.Change from welcomeDialog
Tools
menu, the language change will no longer be allowed there, and it must be done from the menu.Currently, I have translated the WelcomeDialog, the Transactions tab and the Send tab, pending validation of this proposed solution.
The way to add new languages will be to add a new element to the
Languages.java
enum and include the.properties
file for the new language, which will contain the translations. It is important to add the message for the name of the new language (for example,language.fr
for French) to both the new file and the existing ones.