oashton opened a new issue #9398: Translation function "gettext as __" is not working URL: https://github.com/apache/incubator-superset/issues/9398 The function __( is not translating. For example the string "SQL Editor" ### Expected results I expect the function __() applied to a string, translate the string ### Actual results The app keeps showing the english translation #### Screenshots   #### How to reproduce the bug 1. Change the language to spanish 2. The submenú "SQL Editor" is not translated to "Editor SQL" ### Environment - superset version: `Superset 0.999.0dev` - python version: `3.6.8` - node.js version: `12.10.0` - npm version: `6.14.2` ### Checklist Make sure these boxes are checked before submitting your issue - thank you! - [X] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [X] I have reproduced the issue with at least the latest released version of superset. - [X] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional comments If I change from __() to _() the label "SQL Editor", it works 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
