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

Multilanguage #1500

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Multilanguage #1500

wants to merge 4 commits into from

Conversation

anurag-l1nt
Copy link

@anurag-l1nt anurag-l1nt commented Sep 17, 2024

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 on Restart in to switch networks.

image image

Change from welcomeDialog

  • In the WelcomeDialog, which opens when launching Sparrow after the first installation (or the first time it is run on some of the test networks), the first step of the wizard will also allow the selection of the language. If the WelcomeDialog is opened later from the Tools menu, the language change will no longer be allowed there, and it must be done from the menu.
Captura de pantalla 2024-09-17 a las 8 16 49 image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant