Skip to content

Commit

Permalink
Add logging to help with no localization debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkFenX committed Nov 24, 2020
1 parent 690e5ca commit 95c25b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ def get_progress(self, lang):
@classmethod
def supported_langauges(cls):
"""Requires the application to be initialized, otherwise wx.Translation isn't set."""
pyfalog.info(f'using "{config.CATALOG}" to fetch languages, relatively base path "{os.getcwd()}"')
return {x: wx.Locale.FindLanguageInfo(x) for x in wx.Translations.Get().GetAvailableTranslations(config.CATALOG)}

def get(self, key):
Expand Down

0 comments on commit 95c25b2

Please sign in to comment.