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 2020/04/15 15:26:39 UTC
[GitHub] [incubator-superset] fjcobo opened a new issue #9546: Translations
are not working
fjcobo opened a new issue #9546: Translations are not working
URL: https://github.com/apache/incubator-superset/issues/9546
Translations are not working for the most UI elements.
- Superset version 0.35.2 with this configuration:
```
BABEL_DEFAULT_LOCALE = "es"
BABEL_DEFAULT_FOLDER = "superset/translations"
LANGUAGES = {
"es": {"flag": "es", "name": "Spanish"},
}
```
I have also tried other languages and the result is the same. For example, from the top menu, only the Security combobox is translated correctly. The rest of the elements are in English permanently.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] dpgaspar commented on issue #9546:
Translations are not working
Posted by GitBox <gi...@apache.org>.
dpgaspar commented on issue #9546: Translations are not working
URL: https://github.com/apache/incubator-superset/issues/9546#issuecomment-614700424
Hi @fjcobo,
This seems like a problem with the release process itself. Thank you for reporting.
Meanwhile you can fix it by using:
```
superset fab babel-compile --target venv/lib/python3.6/site-packages/superset/translations
```
replace `venv/lib/python3.6/site-packages/` with the path to your venv
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] fjcobo edited a comment on issue #9546: Translations are not working
Posted by GitBox <gi...@apache.org>.
fjcobo edited a comment on issue #9546:
URL: https://github.com/apache/incubator-superset/issues/9546#issuecomment-616636724
Hi @dpgaspar
Thanks for the reply. The command runs correctly but I don't get the expected result.
Regardless of the language you choose, only a small part of the UI is translated:
![imagen](https://user-images.githubusercontent.com/51161356/79870403-3d734200-83e3-11ea-8820-e2b16f6eb1f6.png)
**Edit 1**
Ok, now I see that the strings that are translated are the ones that are present in ../flask_appbuilder/translations/.
I have also tried updating to 0.36.0 and I get the same result.
**Edit 2**
Solved. The problem is in the files "messages.po". Many of the strigns in that file are commented with "#". For this reason, it did not include such strings in the "messages.mo".
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] fjcobo commented on issue #9546: Translations are not working
Posted by GitBox <gi...@apache.org>.
fjcobo commented on issue #9546:
URL: https://github.com/apache/incubator-superset/issues/9546#issuecomment-616636724
Hi @dpgaspar
Thanks for the reply. The command runs correctly but I don't get the expected result.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] fjcobo edited a comment on issue #9546: Translations are not working
Posted by GitBox <gi...@apache.org>.
fjcobo edited a comment on issue #9546:
URL: https://github.com/apache/incubator-superset/issues/9546#issuecomment-616636724
Hi @dpgaspar
Thanks for the reply. The command runs correctly but I don't get the expected result.
Regardless of the language you choose, only a small part of the UI is translated:
![imagen](https://user-images.githubusercontent.com/51161356/79870403-3d734200-83e3-11ea-8820-e2b16f6eb1f6.png)
**Edit 1**
Ok, now I see that the strings that are translated are the ones that are present in ../flask_appbuilder/translations/.
I have also tried updating to 0.36.0 and I get the same result.
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] fjcobo edited a comment on issue #9546: Translations are not working
Posted by GitBox <gi...@apache.org>.
fjcobo edited a comment on issue #9546:
URL: https://github.com/apache/incubator-superset/issues/9546#issuecomment-616636724
Hi @dpgaspar
Thanks for the reply. The command runs correctly but I don't get the expected result.
Regardless of the language you choose, only a small part of the UI is translated:
![imagen](https://user-images.githubusercontent.com/51161356/79870403-3d734200-83e3-11ea-8820-e2b16f6eb1f6.png)
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [incubator-superset] cdmikechen commented on issue #9546: Translations are not working
Posted by GitBox <gi...@apache.org>.
cdmikechen commented on issue #9546:
URL: https://github.com/apache/incubator-superset/issues/9546#issuecomment-750801252
@fjcobo
You can see this link https://github.com/cdmikechen/incubator-superset/blob/0.35-syzh/README-%E6%B1%89%E5%8C%96.md
----------------------------------------------------------------
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org