You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not good to keep strings values somewhere in the code. Therefore, we need to create language file, class which will contain all of the phrases used in the program.
This is good opportunity to make multi-language app just by adding new Lang file + language position in settings.
TIP(?): Lang Interface with all of the consts (final) and classes LangPL or LangEN which implement this interface.
Create Language interface with all of the consts for words/sentences,
Create LanguageEN class which implements interface Language and fill it with English words,
Create LanguagePL class which implements interface Language and fill it with Polish (translated) words,
Change all of hard-coded words/sentences into consts from LanguageEN,
Create MenuCategory "Languages" and list of current languages available to be chosen. (This particular task needs to be moved to the settings during task Settings in menu bar #26).
The text was updated successfully, but these errors were encountered:
It's not good to keep strings values somewhere in the code. Therefore, we need to create language file, class which will contain all of the phrases used in the program.
This is good opportunity to make multi-language app just by adding new Lang file + language position in settings.
TIP(?): Lang Interface with all of the consts (final) and classes LangPL or LangEN which implement this interface.
The text was updated successfully, but these errors were encountered: