You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/12/16 15:28:16 UTC

[GitHub] [superset] aeperalta opened a new issue #17779: Superset translation native filters bug

aeperalta opened a new issue #17779:
URL: https://github.com/apache/superset/issues/17779


   #### How to reproduce the bug
   
   1. Active other language, for example, German in `superset_config.py`.
   2. Change the language of superset.
   3. Create a dashboard with some charts.
   4. Create a native filter of type 'Time grain' and other of type 'Time range'.
   5. Save the filter configuration.
   6. Click on time grain select. You will see the grains in english.
   7. The time range chip will be set to 'No filter', but if you click on it, you will see 'Kein Filter' (german) as selected in the Popup.
   
   ### Expected results
   
   The expected result of the Time grain select would be in german, and the chip in german too. I reviewed `messages.po` and `messages.json` and the translations are there. This happens in other languages that have the translations too.
   
   ### Actual results
   
   Time grain is in english, and the chip is in english too.
   
   #### Screenshots
   
   Granularity:
   ![granularity](https://user-images.githubusercontent.com/26123928/146398660-4c5dda29-8332-48dd-b487-7629e6345d8d.png)
   
   Time range chip:
   ![Time range chip](https://user-images.githubusercontent.com/26123928/146399091-9429fcc3-9a10-4c25-b76d-0df8fdcca687.png)
   
   ### Environment
   
   - browser type and version: Google Chrome VersiĆ³n 96.0.4664.93
   - superset version: master head
   
   ### Checklist
   
   Make sure to follow these steps 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.
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org