Open MeTaNoV opened 1 year ago
Currently, we support 3 languages and define all available translations in the following folder:
src/ ├── translator/ │ ├── en.js │ └── it.js │ └── ru.js
But we provide no document on how to integrate external translation.
Find out which record to extract from the current list, e.g. "Get Screenshot" is used by the external component
A default Translator is created in the ReactPlanner Component:
ReactPlanner
ReactPlanner.defaultProps = { translator: new Translator(), ... };
And, it can be overload externally when creating the ReactPlanner component.
"Call Planfinder" is another example currently to be externalized because specific
Not exactly this issue, but related. I have added French translation to my project. Is it something you would be interested in?
Rationale
Currently, we support 3 languages and define all available translations in the following folder:
But we provide no document on how to integrate external translation.
Migration
Find out which record to extract from the current list, e.g. "Get Screenshot" is used by the external component
A default Translator is created in the
ReactPlanner
Component:And, it can be overload externally when creating the
ReactPlanner
component.