vega/react-vega

How to translate the text in Vega

greg59650 opened this issue · 3 comments

I would like when I use text in Vega it is internationalized.

for example :

legend: {
               ....
              labelExpr: "datum.value == 'TIME' ? i18next.t('LATE') : i18next.t('TIME')"
             }

in this example internationalization does not work.

Is there a solution to be able to translate easily in Vega ?

Please ask your questions on stack overflow or Slack. We reserve the issue tracker for bugs and feature requests.

@domoritz

Sorry, but the lack of information is more important to me than a bug.

I understand but we need to keep issues separate from questions so that the developers stay productive and so that the community benefits from the answers to questions.