-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Come up with a way to allow for localization of species #506
Comments
One idea is to store each species as an object instead of a string - right now "species" is an array in the "MenuData" collection, for example: Current format:
But if they were stored as objects, they could be something like this:
That way, we can cross-reference using MenuData.species.latin, but display using MenuData.species.local. This would change how the boarding records look, though only slightly. Here's how the species show up in the boarding reports right now:
And it could be transformed to
In this example, the mobile apps would have to be changed to parse the new MenuData format, and store both the fish and the latin name in the BoardingReports collection. And of course anything in the web app that references MenuData.species, or BoardingReports.inspection.actualCatch would need changing. (one way to do this would be to have a new field in MenuData, called "catch", which can be used by the mobile apps when they're ready, and "species" could be removed when both mobile apps have implemented it. I'm open to other options of course! |
For Global and Agency Administrators only.
Agencies -> Form Data -> species
Right now this is just a text entry. However, we would like to be able to globally follow a species. As this is a free-form text field, an agency or global administrator can put anything in this field. We want to associate it with a species - for example, Orcinus orca is the Latin name for "Killer Whale", which in French is "Orque".
This will take a lot of work to implement and it would be great if the mobile apps did not have to be changed (I am not sure that's possible, however!).
The text was updated successfully, but these errors were encountered: