Skip to content

Workbench: some text not localized even though we have its translation #2462

@emilyanndavis

Description

@emilyanndavis

Description

Some text in the Workbench is not being localized even though we have a translation for it. I'm still narrowing down the scope of the problem, but I think it might be an artifact of the model spec refactor—maybe specifically the abstraction of common args (e.g., workspace, suffix) that are now defined in spec.py rather than in each individual model spec.

To replicate

  1. Launch the Workbench.
  2. Change the language to Spanish.
  3. Open the Almacenamiento y secuestración de carbono (Carbon) model.
  4. Observe that some arg names and descriptions are in Spanish, but others remain in English. Some of these discrepancies may be due to changes to relatively recent arg names/descriptions (and therefore missing translations), but others are not. For example: Workspace—and its description—are in English, even though we have existing Spanish translations for these strings:
Image Image

Environment

  • InVEST version number: 3.18.0
  • InVEST interface (Workbench, CLI, or Python API): Workbench

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions