Skip to content

Commit

Permalink
Basic German Translation (apache#3740)
Browse files Browse the repository at this point in the history
Not complete but most of the core interface
  • Loading branch information
alanmcruickshank authored and mistercrunch committed Nov 10, 2017
1 parent 72030f7 commit e706ddb
Show file tree
Hide file tree
Showing 4 changed files with 3,619 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,15 @@
# Setup default language
BABEL_DEFAULT_LOCALE = 'en'
# Your application default translation path
BABEL_DEFAULT_FOLDER = 'babel/translations'
BABEL_DEFAULT_FOLDER = 'superset/translations'
# The allowed translation for you app
LANGUAGES = {
'en': {'flag': 'us', 'name': 'English'},
'it': {'flag': 'it', 'name': 'Italian'},
'fr': {'flag': 'fr', 'name': 'French'},
'zh': {'flag': 'cn', 'name': 'Chinese'},
'ja': {'flag': 'jp', 'name': 'Japanese'},
'de': {'flag': 'de', 'name': 'German'},
}
# ---------------------------------------------------
# Image and file configuration
Expand Down
1 change: 1 addition & 0 deletions superset/translations/de/LC_MESSAGES/messages.json

Large diffs are not rendered by default.

Binary file added superset/translations/de/LC_MESSAGES/messages.mo
Binary file not shown.
Loading

0 comments on commit e706ddb

Please sign in to comment.