Open remicousin opened 1 year ago
Other example where language and code are intertwined presently:
dbc.Label("Latitude", style={"font-size": "80%"}), dbc.Tooltip( f"{lat_label}", target="lat_input", className="tooltiptext", )]),
Latitude is in English (and French -- but not Spanish). lat_label is in English.
This being said, the whole Pick a Point control should probably be black-boxed and thus I am not sure where exactly the multi-language functionality will intervene.
Make sure that what would some day needs to be translated is not used by the code. Typical example below for select menus values (used by code) vs labels (displayed to user).
_Originally posted by @aaron-kaplan in https://github.com/iridl/python-maprooms/pull/292#discussion_r1137083489_