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

Basic German Translation #3740

Merged
merged 1 commit into from
Nov 10, 2017

Conversation

alanmcruickshank
Copy link
Contributor

Not a full German translation but most of the core interface. Updated the BABEL_DEFAULT_FOLDER config flag which appeared to be pointing at the wrong folder.

Update the standard messages files in the process.

@xrmx
Copy link
Contributor

xrmx commented Oct 30, 2017

Puzzled on why you are updating all the other languages compiled translations, and please rebase :)

@alanmcruickshank alanmcruickshank force-pushed the translate_german branch 2 times, most recently from c7e4143 to 682ded8 Compare October 31, 2017 01:34
@alanmcruickshank
Copy link
Contributor Author

Rebased and conflicts resolved.

@@ -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'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused and wondering how it worked before or what broke this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I thought the same. It took me a while to set up my environment and this was one thing I changed of a few to get things working - so this change is not necessary. That being said there isn't a babel/translations path that I could see.

I've just done a quick test and the translations work with either value.

Vanilla FAB has the path as just translations
https://github.com/dpgaspar/Flask-AppBuilder/blob/af095ac4094d068fa2dd467bd01fa8b95d697fc1/examples/quickfiles/config.py

I suspect in our docs we always get people to specify the path as superset/translations in all the scripts for generating translations so even if the value we had before wasn't correct we were always overwriting it. I've done some quick testing and I actually suspect in most cases this line isn't used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That being said - given it doesn't matter. I'm happy to just leave it as it is if you'd rather.

@coveralls
Copy link

coveralls commented Oct 31, 2017

Coverage Status

Coverage remained the same at 71.271% when pulling 682ded88a8646f7e063458993ff13898e6d058d3 on alanmcruickshank:translate_german into 1e18bfd on apache:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 71.271% when pulling 682ded88a8646f7e063458993ff13898e6d058d3 on alanmcruickshank:translate_german into 1e18bfd on apache:master.

@mistercrunch
Copy link
Member

Will merge upon conflict resolved

Not complete but most of the core interface
@coveralls
Copy link

coveralls commented Nov 8, 2017

Coverage Status

Coverage remained the same at 71.445% when pulling 3e65fbb on alanmcruickshank:translate_german into 4fa1f0a on apache:master.

@alanmcruickshank
Copy link
Contributor Author

@mistercrunch - I've removed the edits to messages.pot as they're superceded by the translation consolidation in #3750. Rebased onto current master.

@mistercrunch mistercrunch merged commit d663bea into apache:master Nov 10, 2017
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
Not complete but most of the core interface
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
Not complete but most of the core interface
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.21.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.21.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants