@@ -27,7 +27,7 @@ support localized representations of dates and calendars.
27
27
28
28
Superset provides Aspect's user interface, and it supports a subset of locales for translating/displaying the menus and
29
29
pages that the application serves. However, Superset does not translate its application or asset data, i.e. the
30
- dashboards and charts shown to users. Superset also has some open issues related to localization (e.g. `issue #25258 `_).
30
+ dashboards and charts shown to users. Superset also has some open issues related to localization (e.g. `superset #25258 `_).
31
31
32
32
Aspects must maintain and display translated versions of its supported Superset assets.
33
33
@@ -57,17 +57,20 @@ Consequences
57
57
Rejected Alternatives
58
58
*********************
59
59
60
- **Translate assets on the fly with javascript **
60
+ **Contribute asset translations to Superset **
61
61
62
- Another way to implement translations in the browser is using javascript and a mapping between English words/phrases and
63
- the translated words/phrases (e.g. `simple-translator `_). However, this approach cannot discern the context around how
64
- words/phrases are used, and so providing accurate translations for complex content can be difficult or impossible. This
65
- approach would also slow page load times and would provide a sub-standard user experience.
62
+ The Superset community proposed `superset#13442 `_ to allow users to provide translations for chart titles, axis labels,
63
+ and metric names.
64
+
65
+ This ticket has since been closed due to inactivity, but because it puts the onus on translations on the Superset users,
66
+ it's not a solution that would satisfy the Open edX community, which expects translations to be shipped with the
67
+ applications that use them.
66
68
67
69
References
68
70
**********
69
71
72
+ * `OEP-58 `_ Translations management
70
73
71
74
.. _OEP-58 : https://docs.openedx.org/projects/openedx-proposals/en/latest/architectural-decisions/oep-0058-arch-translations-management.html
72
- .. _ issue #25258 : https://github.com/apache/superset/issues/25258
73
- .. _ simple-translator : https://github.com/andreasremdt/simple-translator
75
+ .. _ superset #25258 : https://github.com/apache/superset/issues/25258
76
+ .. _ superset#13442 : https://github.com/apache/superset/issues/13442
0 commit comments